Remove frameset.
authorJan Schneider <jan@horde.org>
Sat, 26 Jun 2010 00:00:44 +0000 (02:00 +0200)
committerJan Schneider <jan@horde.org>
Sat, 26 Jun 2010 00:03:09 +0000 (02:03 +0200)
This is still a bit hackish, and it probably has a few rough edges and missing
bits, but I want to get the CSS right first.

43 files changed:
ansel/templates/menu.inc
beatnik/templates/menu.inc
chora/templates/menu.inc
crumb/templates/menu.inc
fima/templates/menu.inc
folks/templates/menu.inc
gollem/lib/Gollem.php
hermes/templates/menu.inc
horde/index.php
horde/services/portal/index.php
horde/services/portal/sidebar.php
horde/templates/admin/menu.inc
horde/templates/common-footer.inc
horde/templates/index/frames_index.inc [deleted file]
horde/templates/menu/menu.inc
horde/templates/portal/sidebar.inc
horde/themes/hordeweb/screen.css
horde/themes/rtl.css
horde/themes/screen.css
imp/lib/IMP.php
ingo/lib/Ingo.php
kastalia/templates/menu.inc
kronolith/templates/menu.inc
kronolith/themes/screen.css
kronolith/themes/silver/screen.css
luxor/templates/menu.inc
mnemo/templates/menu.inc
mnemo/themes/screen.css
mnemo/themes/silver/screen.css
nag/templates/menu.inc
nag/themes/screen.css
nag/themes/silver/screen.css
news/templates/menu.inc
operator/templates/menu.inc
pastie/templates/menu.inc
shout/templates/menu.inc
skeleton/templates/menu.inc
skoli/templates/menu.inc
skoli/themes/screen.css
trean/templates/menu.inc
turba/templates/menu.inc
whups/templates/menu.inc
wicked/templates/menu.inc

index 5e21151..9001340 100644 (file)
@@ -1,6 +1,7 @@
 <div id="menu">
  <?php echo Ansel::getMenu()->render() ?>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 
 <?php
 $GLOBALS['notification']->notify(array('listeners' => 'status'));
index e5fa421..56455b4 100644 (file)
@@ -37,4 +37,5 @@ $menu_view = $prefs->getValue('menu_view');
 </span>
 <?php echo Beatnik::getMenu('string') ?>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
index 4b6e3a3..4224b9f 100644 (file)
@@ -4,4 +4,5 @@
  </div>
  <?php echo Chora::getMenu()->render() ?>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
index 583eeba..a77bfd5 100644 (file)
@@ -1,4 +1,5 @@
 <div id="menu">
  <?php echo Crumb::getMenu()->render() ?>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
index 0eb6b2e..b6395f4 100644 (file)
@@ -37,4 +37,5 @@ function ledgerSubmit(clear)
     }
 }
 </script>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
index ab8185f..ddb1d82 100644 (file)
@@ -1,4 +1,5 @@
 <div id="menu">
  <?php echo Folks::getMenu()->render() ?>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
index 325207b..ce7d1f4 100644 (file)
@@ -714,6 +714,7 @@ class Gollem
         $t->set('menu_string', Gollem::getMenu()->render());
 
         echo $t->fetch(GOLLEM_TEMPLATES . '/menu.html');
+        require HORDE_BASE . '/services/portal/sidebar.php';
     }
 
     /**
index 1864954..64e011b 100644 (file)
@@ -1,4 +1,5 @@
 <div id="menu">
  <?php echo Hermes::getMenu('string') ?>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
index a274468..fb17aef 100644 (file)
@@ -76,20 +76,5 @@ if (!$main_page) {
     }
 }
 
-/* Sidebar display: only load sidebar if we are coming from login page and
- * 'horde_login_nosidebar' is set and not true; if this page is loaded,
- * there is no authenticated user, and conf->menu->always is true; or if
- * 'force_sidebar' GET parameter is set. */
-if ((Horde_Util::getFormData('force_sidebar') ||
-    !Horde_Util::nonInputVar('horde_login_nosidebar', $registry->getAuth())) &&
-    ($conf['menu']['always'] ||
-     ($registry->getAuth() && $prefs->getValue('show_sidebar')))) {
-    $scrollbar = $browser->hasQuirk('scrollbar_in_way') ? 'yes' : 'auto';
-    require HORDE_TEMPLATES . '/index/frames_index.inc';
-} else {
-    /* We always need to do a URL redirect here rather than directly
-     * including the file. This is to ensure that the next page has a chance
-     * to init a full Horde environment before anything else is done in the
-     * session (needed for things like Horde LoginTasks to be run). */
-    header('Location: ' . $main_page);
-}
+header('Location: ' . $main_page);
+exit;
index 2bfe441..0358737 100644 (file)
 require_once dirname(__FILE__) . '/../../lib/Application.php';
 Horde_Registry::appInit('horde');
 
-// Get full name.
-$identity = $injector->getInstance('Horde_Prefs_Identity')->getIdentity();
-$fullname = $identity->getValue('fullname');
-if (empty($fullname)) {
-    $fullname = $registry->convertUsername($registry->getAuth(), false);
-}
-
 // Get refresh interval.
 if (($r_time = $prefs->getValue('summary_refresh_time'))
     && !$browser->hasFeature('xmlhttpreq')) {
@@ -71,7 +64,7 @@ $title = _("My Portal");
 require HORDE_TEMPLATES . '/common-header.inc';
 require HORDE_TEMPLATES . '/menu/menu.inc';
 echo '<div id="menuBottom">';
-echo htmlspecialchars($fullname);
+echo htmlspecialchars($injector->getInstance('Horde_Prefs_Identity')->getIdentity()->getName());
 if (!$prefs->isLocked('portal_layout')) {
     echo ' | <a href="' . Horde::applicationUrl('services/portal/edit.php') . '">' . _("Add Content") . '</a>';
 }
index 3de1d64..b3df440 100644 (file)
@@ -204,82 +204,84 @@ function buildMenu()
     return $menu;
 }
 
-require_once dirname(__FILE__) . '/../../lib/Application.php';
-Horde_Registry::appInit('horde', array('authentication' => 'none'));
-
-if (!$registry->getAuth() && !$conf['menu']['always']) {
-    $registry->authenticateFailure();
-}
-
-$is_mozbar = (bool)Horde_Util::getFormData('mozbar');
-
-// Set up the tree.
-$tree = Horde_Tree::singleton('horde_menu', 'Javascript');
-$tree->setOption(array('target' => $is_mozbar ? '_content' : 'horde_main'));
-
-$menu = buildMenu();
-foreach ($menu as $app => $params) {
-    if ($params['status'] == 'block') {
-        if ($registry->get('status', $params['app']) == 'inactive') {
-            continue;
-        }
+function sidebar()
+{
+    global $registry, $conf, $language, $prefs;
+
+    // Set up the tree.
+    $tree = Horde_Tree::singleton('horde_menu', 'Javascript');
+    $menu = buildMenu();
+    foreach ($menu as $app => $params) {
+        if ($params['status'] == 'block') {
+            if ($registry->get('status', $params['app']) == 'inactive') {
+                continue;
+            }
 
-        try {
-            $block = Horde_Block_Collection::getBlock($params['app'], $params['blockname']);
-        } catch (Horde_Exception $e) {
-            Horde::logMessage($e, 'ERR');
-            continue;
-        }
+            try {
+                $block = Horde_Block_Collection::getBlock($params['app'], $params['blockname']);
+            } catch (Horde_Exception $e) {
+                Horde::logMessage($e, 'ERR');
+                continue;
+            }
 
-        try {
-            $block->buildTree($tree, 0, isset($params['menu_parent']) ? $params['menu_parent'] : null);
-        } catch (Horde_Exception $e) {
-            Horde::logMessage($e, 'ERR');
-            continue;
-        }
-    } else {
-        // Need to run the name through gettext since the user's
-        // locale may not have been loaded when registry.php was
-        // parsed.
-        $name = _($params['name']);
-
-        // Headings have no webroot; they're just containers for other
-        // menu items.
-        if (isset($params['url'])) {
-            $url = $params['url'];
-        } elseif ($params['status'] == 'heading' || !isset($params['webroot'])) {
-            $url = null;
+            try {
+                $block->buildTree($tree, 0, isset($params['menu_parent']) ? $params['menu_parent'] : null);
+            } catch (Horde_Exception $e) {
+                Horde::logMessage($e, 'ERR');
+                continue;
+            }
         } else {
-            $url = Horde::url($params['webroot'] . '/' . (isset($params['initial_page']) ? $params['initial_page'] : ''));
+            // Need to run the name through gettext since the user's
+            // locale may not have been loaded when registry.php was
+            // parsed.
+            $name = _($params['name']);
+
+            // Headings have no webroot; they're just containers for other
+            // menu items.
+            if (isset($params['url'])) {
+                $url = $params['url'];
+            } elseif ($params['status'] == 'heading' || !isset($params['webroot'])) {
+                $url = null;
+            } else {
+                $url = Horde::url($params['webroot'] . '/' . (isset($params['initial_page']) ? $params['initial_page'] : ''));
+            }
+
+            $node_params = array('url' => $url,
+                                 'target' => isset($params['target']) ? $params['target'] : null,
+                                 'icon' => (string)(isset($params['icon']) ? $params['icon'] : $registry->get('icon', $app)),
+                                 'icondir' => '',
+                                 );
+            $tree->addNode($app, !empty($params['menu_parent']) ? $params['menu_parent'] : null, $name, 0, false, $node_params);
         }
+    }
 
-        $node_params = array('url' => $url,
-                             'target' => isset($params['target']) ? $params['target'] : null,
-                             'icon' => (string)(isset($params['icon']) ? $params['icon'] : $registry->get('icon', $app)),
-                             'icondir' => '',
-                             );
-        $tree->addNode($app, !empty($params['menu_parent']) ? $params['menu_parent'] : null, $name, 0, false, $node_params);
+    // If we're serving a request to the JS update client, just render the
+    // updated node javascript.
+    if (Horde_Util::getFormData('httpclient')) {
+        header('Content-Type: application/json; charset=' . Horde_Nls::getCharset());
+        $scripts = array(
+            $tree->renderNodeDefinitions(),
+            '$(\'horde_menu\').setStyle({ width: \'auto\', height: \'auto\' });');
+        echo Horde::wrapInlineScript($scripts);
+        exit;
     }
+
+    $rtl = isset(Horde_Nls::$config['rtl'][$language]);
+    Horde::addScriptFile('prototype.js', 'horde');
+    Horde::addScriptFile('sidebar.js', 'horde');
+    require $GLOBALS['registry']->get('templates', 'horde') . '/portal/sidebar.inc';
 }
 
-// If we're serving a request to the JS update client, just render the
-// updated node javascript.
-if (Horde_Util::getFormData('httpclient')) {
-    header('Content-Type: application/json; charset=' . Horde_Nls::getCharset());
-    $scripts = array(
-        $tree->renderNodeDefinitions(),
-        '$(\'horde_menu\').setStyle({ width: \'auto\', height: \'auto\' });');
-    echo Horde::wrapInlineScript($scripts);
-    exit;
+if (!empty($_GET['httpclient'])) {
+    require_once dirname(__FILE__) . '/../../lib/Application.php';
+    Horde_Registry::appInit('horde', array('authentication' => 'none'));
 }
 
-$rtl = isset(Horde_Nls::$config['rtl'][$language]);
-$htmlId = 'sidebar-frame';
-$bodyClass = 'sidebar';
-if ($browser->hasQuirk('scrollbar_in_way')) {
-    $bodyClass .= ' scrollbar-quirk';
+if ($GLOBALS['conf']['menu']['always'] ||
+    ($GLOBALS['registry']->getAuth() && $GLOBALS['prefs']->getValue('show_sidebar'))) {
+    sidebar();
 }
-Horde::addScriptFile('prototype.js', 'horde');
-Horde::addScriptFile('sidebar.js', 'horde');
-require HORDE_TEMPLATES . '/common-header.inc';
-require HORDE_TEMPLATES . '/portal/sidebar.inc';
+
+$GLOBALS['sidebarLoaded'] = true;
+echo '<div class="body" style="margin-left:' . $GLOBALS['prefs']->getValue('sidebar_width') . 'px">';
+$GLOBALS['notification']->notify(array('listeners' => 'status'));
index 3835ebb..981b35b 100644 (file)
@@ -15,4 +15,5 @@
 ?>
  </div>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $notification->notify(array('listeners' => 'status'));
index 79d8870..406f643 100644 (file)
@@ -1,3 +1,6 @@
+<?php if (Horde_Util::nonInputVar('sidebarLoaded')): ?>
+</div>
+<?php endif; ?>
 <?php if (!$GLOBALS['browser']->isMobile()): ?>
 <script type="text/javascript">
 if (document.title && parent.frames && parent.frames.horde_main) {
diff --git a/horde/templates/index/frames_index.inc b/horde/templates/index/frames_index.inc
deleted file mode 100644 (file)
index 091c5d8..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-$rtl = isset(Horde_Nls::$config['rtl'][$GLOBALS['language']]);
-$sidebar_width = isset($GLOBALS['prefs']) ? $GLOBALS['prefs']->getValue('sidebar_width') : 150;
-?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "DTD/xhtml1-frameset.dtd">
-<html>
-<head>
-<link href="<?php echo Horde_Themes::img('favicon.ico', array('nohorde' => true)) ?>" rel="SHORTCUT ICON" />
- <title><?php echo htmlspecialchars($GLOBALS['registry']->get('name')) ?></title>
-</head>
-
-<frameset id="hf" cols="<?php echo ($rtl ? '*,' : '') . $sidebar_width . ($rtl ? '' : ',*') ?>" framespacing="0" frameborder="0">
-<?php if ($rtl): ?>
-  <frame name="horde_main" src="<?php echo htmlspecialchars($main_page) ?>" scrolling="<?php echo $scrollbar ?>" noresize="noresize" />
-  <frame name="horde_menu" src="<?php echo Horde::applicationUrl('services/portal/sidebar.php', true) ?>" scrolling="auto" noresize="noresize" />
-<?php else: ?>
-  <frame name="horde_menu" src="<?php echo Horde::applicationUrl('services/portal/sidebar.php', true) ?>" scrolling="auto" noresize="noresize" />
-  <frame name="horde_main" src="<?php echo htmlspecialchars($main_page) ?>" scrolling="<?php echo $scrollbar ?>" noresize="noresize" />
-<?php endif; ?>
-</frameset>
-
-</html>
index e364235..40cac39 100644 (file)
@@ -10,3 +10,4 @@
 <div id="menu">
  <div class="leftFloat"><?php echo $menu->render(); ?></div>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
index be777f4..8930cd6 100644 (file)
@@ -1,26 +1,7 @@
-<div id="menu" style="overflow:hidden">
- <?php if (!empty($conf['logo']['image']) || !Horde_Util::getFormData('mozbar')): ?>
- <span class="leftFloat"<?php if (empty($conf['logo']['image'])) echo ' id="themelogo"' ?>>
- <?php
- if (!empty($conf['logo']['image'])) {
-     if (!empty($conf['logo']['link'])) {
-         echo Horde::link($conf['logo']['link'], null, null, '_top');
-     }
-     echo Horde::img($conf['logo']['image'], '', '', '');
-     if (!empty($conf['logo']['link'])) {
-         echo '</a>';
-     }
- } else {
-     echo '&nbsp;';
- }
- ?>
- </span>
- <div class="clear">&nbsp;</div>
- <?php endif; ?>
-</div>
+<div class="sidebar" style="width:<?php echo (isset($prefs) ? $prefs->getValue('sidebar_width') : 150) ?>px">
 
 <div id="expandedSidebar" style="overflow:hidden">
- <span id="expandButton" class="rightFloat"><?php if (!$is_mozbar) echo Horde::link('#', _("Collapse Sidebar"), '', '', 'HordeSidebar.toggleMenuFrame(); return false;', _("Collapse Sidebar")) . Horde::img('hide_panel.png') . '</a>' ?></span>
+ <span id="expandButton" class="rightFloat"><?php echo Horde::link('#', _("Collapse Sidebar"), '', '', 'HordeSidebar.toggleMenuFrame(); return false;', _("Collapse Sidebar")) . Horde::img('hide_panel.png') . '</a>' ?></span>
  <div id="sidebarPanel">
   <?php $tree->renderTree() ?>
  </div>
@@ -36,10 +17,7 @@ var horde_sidebar_rtl = <?php echo $rtl ? 'true' : 'false' ?>,
     horde_sidebar_domain = '<?php echo htmlspecialchars($GLOBALS['conf']['cookie']['domain']) ?>',
     horde_sidebar_path = '<?php echo $GLOBALS['conf']['cookie']['path'] ?>',
     horde_sidebar_refresh = <?php echo intval($prefs->getValue('menu_refresh_time')) ?>,
-    horde_sidebar_url = '<?php echo Horde::applicationUrl('services/portal/sidebar.php') ?>';
+    horde_sidebar_url = '<?php echo Horde::url($GLOBALS['registry']->get('webroot', 'horde') . '/services/portal/sidebar.php') ?>';
 </script>
 
-<?php if (isset($GLOBALS['notification'])) $GLOBALS['notification']->notify(array('listeners' => array('javascript'))) ?>
-
-</body>
-</html>
+</div>
index 3cdd6eb..a528329 100644 (file)
@@ -59,7 +59,6 @@ a:hover {
     text-decoration: underline;
 }
 #pageControls {
-    top: 53px !important;
     right: 8px !important;
     background: #063 !important;
     border: none !important;
index 3c81591..923c58f 100644 (file)
@@ -78,6 +78,9 @@ option {
 }
 
 /* Sidebar styles. */
+.sidebar {
+    float: right;
+}
 #sidebarPanel {
     -moz-border-radius-bottomright: 0;
     -moz-border-radius-bottomleft: 15px;
index 8cde15b..82523f4 100644 (file)
@@ -393,7 +393,6 @@ div.nicetitle {
 #menu {
     overflow: hidden;
     min-height: 50px;
-    margin-bottom: 8px;
     padding-right: 8px;
 }
 #menu ul {
@@ -439,8 +438,8 @@ div.nicetitle {
 }
 
 /* Sidebar styles. */
-.sidebar #menu {
-    margin: 0;
+.sidebar {
+    float: left;
 }
 #sidebarPanel {
     -moz-border-radius-bottomright: 15px;
@@ -469,6 +468,14 @@ div.nicetitle {
     color: #000;
 }
 
+/* Main body. */
+.body {
+    position: absolute;
+    left: 0;
+    right: 0;
+    margin-top: 8px;
+}
+
 /* Pager. */
 .pager {
     text-align: center;
index bc9439e..fd23469 100644 (file)
@@ -600,6 +600,7 @@ class IMP
     {
         self::prepareMenu();
         echo self::$_menuTemplate->fetch(IMP_TEMPLATES . '/imp/menu/menu.html');
+        require HORDE_BASE . '/services/portal/sidebar.php';
     }
 
     /**
index 543a609..6fbab16 100644 (file)
@@ -489,6 +489,7 @@ class Ingo
     {
         self::prepareMenu();
         echo self::$_menuTemplate->fetch(INGO_TEMPLATES . '/menu/menu.html');
+        require HORDE_BASE . '/services/portal/sidebar.php';
     }
 
     /**
index 8ae1df7..1b4437e 100755 (executable)
@@ -1,4 +1,5 @@
 <div id="menu">
  <?php echo Kastalia::getMenu()->render() ?>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
index 8124cb9..1483c9e 100644 (file)
@@ -1,4 +1,5 @@
 <div id="menu">
  <?php echo Kronolith::getMenu()->render() ?>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
index abffd33..b5f44e3 100644 (file)
@@ -266,7 +266,7 @@ body.rightPanel ul {
 
 #pageControls {
     position: absolute;
-    top: 52px;
+    top: -8px;
     right: 0;
     background: #eee;
     border: 1px solid #ccc;
index 0af13be..a289280 100644 (file)
@@ -5,7 +5,7 @@ body #sbarHide {
     background-image: url("graphics/minus.png");
 }
 #pageControls {
-    top: 49px;
+    top: -9px;
     background: #d7d7d7;
     border-color: #999;
     border-width: 0 0 1px 1px;
index 7cad233..c9df789 100644 (file)
@@ -17,4 +17,5 @@ function jump()
 </div>
 </form>
 
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
index 8d462fd..49654b7 100644 (file)
@@ -1,3 +1,4 @@
 <div id="menu">
  <?php echo Mnemo::getMenu()->render() ?>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
index 1d71bb9..bdab76d 100644 (file)
@@ -108,7 +108,7 @@ body.rightPanel ul {
 
 #pageControls {
     position: absolute;
-    top: 52px;
+    top: -8px;
     right: 0;
     background: #eee;
     border: 1px solid #ccc;
index c212168..3f6fb32 100644 (file)
@@ -15,7 +15,7 @@ body #sbarHide {
     background-image: url("graphics/minus.png");
 }
 #pageControls {
-    top: 49px;
+    top: -9px;
     background: #d7d7d7;
     border-color: #999;
     border-width: 0 0 1px 1px;
index 344791a..0c6a24b 100644 (file)
@@ -1,4 +1,5 @@
 <div id="menu">
  <?php echo Nag::getMenu()->render() ?>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php Nag::status();
index 30b43f7..51a70ed 100644 (file)
@@ -125,7 +125,7 @@ body.rightPanel ul {
 
 #pageControls {
     position: absolute;
-    top: 52px;
+    top: -8px;
     right: 0;
     background: #eee;
     border: 1px solid #ccc;
index 271c5ef..4450e1f 100644 (file)
@@ -11,7 +11,7 @@ body #sbarHide {
     background-image: url("graphics/minus.png");
 }
 #pageControls {
-    top: 49px;
+    top: -9px;
     background: #d7d7d7;
     border-color: #999;
     border-width: 0 0 1px 1px;
index e765e12..d3fe6c2 100644 (file)
@@ -10,4 +10,5 @@
 </div>
 <?php echo News::getMenu()->render() ?>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
index c7b0898..d3c19df 100644 (file)
@@ -1,4 +1,5 @@
 <div id="menu">
  <?php echo Operator::getMenu('string') ?>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
index e1c0d66..a388193 100644 (file)
@@ -1,4 +1,5 @@
 <div id="menu">
  <?php echo Pastie::getMenu()->render() ?>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
index 5564d09..e5d54a9 100644 (file)
@@ -55,3 +55,4 @@ function accountSubmit(clear)
 
   <?php echo Shout::getMenu('string') ?>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
index 31a5993..c3ce3df 100644 (file)
@@ -1,4 +1,5 @@
 <div id="menu">
  <?php echo Skeleton::getMenu()->render() ?>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
index 2996974..c117440 100644 (file)
@@ -1,4 +1,5 @@
 <div id="menu">
  <?php echo Skoli::getMenu()->render() ?>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
index 995cf68..283e363 100644 (file)
@@ -96,7 +96,7 @@ body.rightPanel ul {
 
 #pageControls {
     position: absolute;
-    top: 52px;
+    top: -8px;
     right: 0;
     background: #eee;
     border: 1px solid #ccc;
index 5bf1ba8..e21f50a 100644 (file)
@@ -1,4 +1,5 @@
 <div id="menu">
  <?php echo Trean::getMenu('string') ?>
 </div>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
index afc2cad..a9a510a 100644 (file)
@@ -13,4 +13,5 @@
  </div>
 </div>
 </form>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
index 52e3a44..8bcef74 100644 (file)
@@ -8,4 +8,6 @@
  <br class="clear" />
 </div>
 </form>
-<?php echo Horde_Util::nonInputVar('menuBottom'); $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
+<?php echo Horde_Util::nonInputVar('menuBottom'); ?>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
+<?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
index 263b836..bf5ca94 100644 (file)
@@ -20,4 +20,5 @@ function jump()
  <br class="clear" />
 </div>
 </form>
+<?php require HORDE_BASE . '/services/portal/sidebar.php'; ?>
 <?php $notification->notify(array('listeners' => 'status'));