[trean] Suggested change to add.php

Chuck Hagenbuch chuck at horde.org
Sat Jan 1 20:31:14 PST 2005


Quoting Rob Rosenfeld <rosenfeld at alum.mit.edu>:

> I like the Add to Bookmarks javascript you provide.  However, I think
> that add.php should not include the menus in popup mode, so I suggest
> the following tweak.  On line 75 instead of
>
> require TREAN_TEMPLATES . '/menu.inc';
>
> It should be:
>
> if( !Util::getFormData( 'popup' ) ) {
>         require TREAN_TEMPLATES . '/menu.inc';
> }

Changed, thanks.

-chuck

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


More information about the trean mailing list