[horde] Sidebar

Barry Flanagan barryf-lists at flanagan.ie
Mon Feb 6 10:25:42 PST 2006


myhorde at nbiss.com wrote:
> I wonder what controls the appearance ( if any ) of the sidebar for IMP.
> I'm fine to have it for Horde or for admin users, but not for the 
> regular users.
> 

This is controlled in the horde prefs.php file. Look for:

$_prefs['show_sidebar'] = array(
     'value' => true,
     'locked' => false,
     'shared' => true,
     'type' => 'checkbox',
     'desc' => sprintf(_("Show the %s Menu on the left?"), 
$GLOBALS['registry']->get('name', 'horde'))


You could quite easily put a bit of PHP logic in there to make the value 
true if the user is an admin, and false otherwise, and have locked = 
true so that the user cannot over ride this setting.

Hope this helps.

-- 

-Barry Flanagan


More information about the horde mailing list