[Tickets #902] Menu Fix

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Nov 25 21:56:47 PST 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=902
-----------------------------------------------------------------------
 Ticket     | 902
 Updated By | lee at disinfo.com
 Summary    | Menu Fix
 Queue      | Horde Base
 Version    | 3.0-RC2
 State      | Unconfirmed
 Priority   | 3. High
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


lee at disinfo.com (2004-11-25 21:56) wrote:

think i reversed the diff, lets try this again:

1) diff templates/portal/sidebar.inc.orig templates/portal/sidebar.inc.new

1,2c1,2
< <div id="expandedSidebar">
<  <div id="menu">
---
> <div id="expandedSidebar" style="width: width:<?php if
($GLOBALS['browser']->hasQuirk('scrollbar_in_way')) { echo isset($prefs) ?
($prefs->getValue('sidebar_width')-35) : 133; } else { echo isset($prefs) ?
($prefs->getValue('sidebar_width')-50) : 150; } ?>; overflow: hidden;
padding: 0; margin: 0;">
>  <div id="menu" style="width: width:<?php if
($GLOBALS['browser']->hasQuirk('scrollbar_in_way')) { echo isset($prefs) ?
($prefs->getValue('sidebar_width')-35) : 133; } else { echo isset($prefs) ?
($prefs->getValue('sidebar_width')-50) : 150; } ?>; overflow: hidden;
padding: 0; margin: 0;">
22d21
<  </div>
24,26c23,24
<  <table cellspacing="0" width="100%">
<   <tr>
<    <td valign="top" id="sidebarPanel" width="100%" colspan="2">
---
> </div> 
> <div id="sidebarPanel" style="overflow: hidden; width: width:<?php if
($GLOBALS['browser']->hasQuirk('scrollbar_in_way')) { echo isset($prefs) ?
($prefs->getValue('sidebar_width')-35) : 133; } else { echo isset($prefs) ?
($prefs->getValue('sidebar_width')-50) : 150; } ?>; text-overflow:ellipsis;
white-space:nowrap;">
28,31c26
<    </td>
<    <td>&nbsp;</td>
<   </tr>
<  </table>
---
> </div>


2) diff templates/javascript/tree.js.orig templates/javascript/tree.js.new

165c165
<     var line = '<div style="height:20px; clear:both"' + className + '>';
---
>     var line = '<div style="height:20px; clear:both;
text-overflow:ellipsis; overflow:hidden; white-space:nowrap; width:<?php if
($GLOBALS['browser']->hasQuirk('scrollbar_in_way')) { echo isset($prefs) ?
($prefs->getValue('sidebar_width')-35) : 133; } else { echo isset($prefs) ?
($prefs->getValue('sidebar_width')-50) : 150; } ?>;' + className + '>';
175,176c175,176
<             style = 'float:left;';
<             if (this.header[column] && this.header[column]['width']) {
---
>             style = 'float:left; text-overflow:ellipsis; overflow:hidden;
white-space:nowrap; width:<?php if
($GLOBALS['browser']->hasQuirk('scrollbar_in_way')) { echo isset($prefs) ?
($prefs->getValue('sidebar_width')-35) : 133; } else { echo isset($prefs) ?
($prefs->getValue('sidebar_width')-50) : 150; } ?>;';
>             /*if (this.header[column] && this.header[column]['width']) {
178c178
<             }
---
>             }*/
262d261
<     alert(line);
475c474
<         document.body.style.marginRight = '15px';
---
>         document.body.style.marginRight = '0px';




More information about the bugs mailing list