[kronolith] Multiple calendars

Chuck Hagenbuch chuck at horde.org
Mon Jun 13 20:44:56 PDT 2005


Quoting Fábio Gomes <flgomes at fazenda.sp.gov.br>:

> 	I'm looking for a way to avoid my users to create new calendars. There's an
> option in prefs.php that can do exactly what I want:
>
> // default calendar
> // Set locked to true if you don't want users to have multiple calendars.
> $_prefs['default_share'] = array(
>    'value' => Auth::getAuth() ? Auth::getAuth() : 0,
>    'locked' => true,
>    'shared' => true,
>    'type' => 'implicit'
> );
>
> 	But it seems this configuration is not working cause I'm still having the
> "Create" button displayed in calendars.inc. Is there any clean way to avoid
> users create new calendars without hack calendars.inc?

The preference to lock is the "calendars" preference (or whatever it's 
called), but I can't check right now whether or not that works.

-chuck

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


More information about the kronolith mailing list