distinguish between the tabs that anyone can see and those than only an
admin can see, but we'll come back to it later. Still, 104 lines, eh?
-The actual tab list is presented here:
+The actual tab list is presented here: (reformated slightly for sanity)
<tr>
<td>
- <asp:datalist id="tabs" cssclass="OtherTabsBg" repeatdirection="horizontal" ItemStyle-Height="25" SelectedItemStyle-CssClass="TabBg" ItemStyle-BorderWidth="1" EnableViewState="false" runat="server">
+ <asp:datalist id="tabs" cssclass="OtherTabsBg"
+ repeatdirection="horizontal" ItemStyle-Height="25"
+ SelectedItemStyle-CssClass="TabBg" ItemStyle-BorderWidth="1"
+ EnableViewState="false" runat="server">
<ItemTemplate>
- <a href='<%= Request.ApplicationPath %>/DesktopDefault.aspx?tabindex=<%# Container.ItemIndex %>&tabid=<%# ((TabStripDetails) Container.DataItem).TabId %>' class="OtherTabs"><%# ((TabStripDetails) Container.DataItem).TabName %></a>
+ <a href='<%= Request.ApplicationPath %>/
+ DesktopDefault.aspx?tabindex=<%# Container.ItemIndex %>&tabid=
+ <%# ((TabStripDetails) Container.DataItem).TabId %>' class="OtherTabs">
+ <%# ((TabStripDetails) Container.DataItem).TabName %></a>
</ItemTemplate>
<SelectedItemTemplate>
- <span class="SelectedTab"><%# ((TabStripDetails) Container.DataItem).TabName %></span>
+ <span class="SelectedTab">
+ <%# ((TabStripDetails) Container.DataItem).TabName %></span>
</SelectedItemTemplate>
</asp:datalist>
</td>
<span class="SelectedTab">[%tab.name%]</span>
[% ELSE %]
<td height="25">
- <a href='[%base%]DesktopDefault.aspx?tabid=[%a_tab.id%]' class="OtherTabs">[%a_tab.name%]</a>
+ <a href='[%base%]DesktopDefault.aspx?tabid=[%a_tab.id%]'
+ class="OtherTabs">[%a_tab.name%]</a>
[% END %]
</td>
[% END %]