Store the value of display_cal parameter in the session.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 2 Sep 2009 17:19:03 +0000 (13:19 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 2 Sep 2009 18:56:54 +0000 (14:56 -0400)
commit20bfe432dca165b68d45fd817c69a83fbd28cd0b
tree055f76283bebcabfda6eed4f8e6e8c57dd51419d
parent33a6e2acbd7a18c8a318f856372d1eb8372f785f
Store the value of display_cal parameter in the session.

This makes display_cal do what it was originally inteneded to do.
Does not update user prefs (that's what toggle_calendar is for), but
just makes sure that ONLY the calendar(s) in the parameter are displayed.
Must pass an empty value for display_cal to clear the session value.

Still need to work out how to trigger the emptying of the value...probably
will replace the calendar panel with a 'close' link or similar when the session
variable contains data. This also solves the issue of dealing with the user changing
the calendars displayed via the panel while showing only display_cal.
kronolith/lib/Kronolith.php