[trean] Suggested change to add.php

Rob Rosenfeld rosenfeld at alum.mit.edu
Sat Jan 1 17:02:44 PST 2005


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';
}

Thanks for the useful tool.

Rob





More information about the trean mailing list