Some enhancement for list.php
Asmo |
|
---|---|
Good decision.
I do not coder, but I try :) But better this :)
$arrows = array();
$params = array('title','key','date','author','owner','count','filecount');
foreach($params as $val)
{
$arrows[$val]['asc'] = $sed_img_down;
$arrows[$val]['desc'] = $sed_img_up;
}
$arrow[$s]['asc'] = ($s && $w=='asc') ? $sed_img_down_active : $sed_img_down;
$arrow[$s]['desc'] = ($s && $w=='desc') ? $sed_img_up_active : $sed_img_up;
|
|
This post was edited by Asmo (2008-09-16 00:13, 16 years ago) |