tweak panel display when displaying display_cals.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 2 Sep 2009 20:18:57 +0000 (16:18 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 29 Sep 2009 20:53:50 +0000 (16:53 -0400)
Add displayed calendar(s) name, and allow expanding/collapsing.
Tweak text to display 'Return to calendars' when anonymous user.

kronolith/templates/panel.inc
kronolith/themes/screen.css

index 9fc97a5..ea9b469 100644 (file)
@@ -1,8 +1,3 @@
-<?php if (!empty($_SESSION['kronolith']['display_cal'])): ?>
-<div id="pageControls">
- <a id="sbarClose" href="<?php echo Horde_Util::addParameter(Horde::selfUrl(true), 'display_cal', '') ?>"><?php echo _("Return to my calendars")?></a>
-</div>
-<?php else: ?>
 <script type="text/javascript">
 function toggleTags(domid)
 {
index 51382c5..76df7e9 100644 (file)
@@ -220,7 +220,7 @@ body.rightPanel #page {
 body #pageControlsInner {
     display: none;
 }
-body #sbarShow, body #sbarHide, body #sbarClose {
+body #sbarShow, body #sbarHide {
     padding-left: 18px;
     white-space: nowrap;
     font-weight: bold;