[Tickets #2726] closed sidebar
bugs@bugs.horde.org
bugs at bugs.horde.org
Tue Oct 4 02:48:18 PDT 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=2726
-----------------------------------------------------------------------
Ticket | 2726
Updated By | max-4004 at terragate.net
Summary | closed sidebar
Queue | Horde Project Systems
State | New
Priority | 1. Low
Type | Enhancement
Owners |
-----------------------------------------------------------------------
max-4004 at terragate.net (2005-10-04 02:48) wrote:
I did a small change to do so: (durty hack for one user)
templates/portal/sidebar.inc
34 <script language="Javascript" type="text/javascript">
35
36 var rtl = <?php echo $rtl ? 'true' : 'false' ?>;
37 var expandedSidebar = new Horde_Hideable('expandedSidebar');
38 var hiddenSidebar = new Horde_Hideable('hiddenSidebar');
39
40 hiddenSidebar.hide();
line 40 replaced with:
40 <?php if( Auth::getBareAuth() == "ak") {
41 echo ("expandedSidebar.hide();");
42 echo ("parent.document.getElementById('hf').cols = rtl ? '*,20'
: '20,*';");
43 } else {
44 echo ("hiddenSidebar.hide();");
45 }
46 // hiddenSidebar.hide();
47 ?>
The user sould be able to be replaced easily by a new preference.
More information about the bugs
mailing list