[dev] [cvs] commit: imp/templates/folders actions.inc

Chuck Hagenbuch chuck at horde.org
Mon Oct 3 21:16:54 PDT 2005


Quoting Marko Djukic <mdjukic at horde.org>:

> anyone have any idea what line 3 is doing with the $i variable 
> suffixed to the
> select name of "action_choose"?
> going through the code i can't seem to find a reason why it should be 
> anything
> other than 0 and it was like this since the script was first committed? looks
> like the remnants of a possible twin selection box, one above one below the
> folders?

It's still there, but only if there are more than 10 folders:

if ($rowct > 10) {
    $i++;
    require IMP_TEMPLATES . '/folders/actions.inc';
}

(around line 515 of folders.php)

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the dev mailing list