Skip to content
Snippets Groups Projects
Commit d0403231 authored by runemaster's avatar runemaster
Browse files

Moved alternating table row colours to CSS. (Thanks Deuce.)

parent 44a8cf64
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
<table class="msglist" cellpadding="5" cellspacing="2" border="0" width="100%">
<tr class="msglist">
@@JS:template.can_delete?'<th class="msglist">X</th>':''@@
<th class="msglist"><img src="/graphics/attach_black.gif" alt="Attachment?" width="10" height="13" border="0" /></th>
<th class="msglist"><img src="/graphics/attach_black.gif" title="Attachment?" alt="Attachment?" width="10" height="13" border="0" /></th>
<th class="msglist">Subject</th>
<th class="msglist">From</th>
<th class="msglist">To</th>
......@@ -17,21 +17,21 @@
</tr>
<!-- %%JS:template.color=0%% -->
<<REPEAT messages>>
<tr class="msglist" bgcolor=@@JS:((template.color++)%2==0)?'"#008699"':'"#007688"';@@>
@@JS:template.can_delete?'<td class="msglist"><input name="number" value="%%messages:number%%" type="checkbox"></td>':''@@
<td class="msglist">
<tr class=@@JS:((template.color++)%2==0)?'"msglist1"':'"msglist2"';@@>
@@JS:template.can_delete?'<td><input name="number" value="%%messages:number%%" type="checkbox"></td>':''@@
<td>
@@JS:if(@@messages:attachments@@>0) '<img alt="Attachment" src="/graphics/attach_black.gif" />'; else '&nbsp;';@@
</td>
<td class="msglist">
<td>
<a class="msglist" href="msg.ssjs?msg_grp=^^group:number^^&amp;msg_sub=^^sub:code^^&amp;message=^^messages:number^^">%%messages:subject%%</a>
</td>
<td class="msglist">
<td>
%%messages:from%%
</td>
<td class="msglist">
<td>
%%messages:to%%
</td>
<td class="msglist" nowrap="nowrap">
<td nowrap="nowrap">
%%JS:system.timestr(@@messages:when_written_time@@)%%
</td>
</tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment