Was wondering why I had a 150px gap on every page
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 9 Jul 2010 17:00:19 +0000 (11:00 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 9 Jul 2010 17:00:36 +0000 (11:00 -0600)
horde/services/portal/sidebar.php

index 3003d82..a4f0d71 100644 (file)
@@ -282,7 +282,9 @@ if (!Horde_Util::getFormData('ajaxui') &&
      ($GLOBALS['registry']->getAuth() &&
       $GLOBALS['prefs']->getValue('show_sidebar')))) {
     sidebar();
+    echo '<div class="body" style="margin-left:' . $GLOBALS['prefs']->getValue('sidebar_width') . 'px">';
+} else {
+    echo '<div class="body">';
 }
 
 $GLOBALS['sidebarLoaded'] = true;
-echo '<div class="body" style="margin-left:' . $GLOBALS['prefs']->getValue('sidebar_width') . 'px">';