summaryrefslogtreecommitdiff
path: root/modules/extra/webcpanel/templates/default/memoserv/memos.html
diff options
context:
space:
mode:
authorMatthewM <mcm@they-got.us>2012-12-20 01:19:04 -0500
committerMatthewM <mcm@they-got.us>2012-12-20 01:19:04 -0500
commit5acc93dd34c6bd474ae1bc85f70fa2d41a60f8bd (patch)
tree9d0ca0e19b172804b0dd42be39d05d1a0e574822 /modules/extra/webcpanel/templates/default/memoserv/memos.html
parentd277f4942305dc24eec22fd532477730b634c135 (diff)
Made the table cells for the memo table have no spacing and color the read and unread memos different colors
Diffstat (limited to 'modules/extra/webcpanel/templates/default/memoserv/memos.html')
-rw-r--r--modules/extra/webcpanel/templates/default/memoserv/memos.html15
1 files changed, 11 insertions, 4 deletions
diff --git a/modules/extra/webcpanel/templates/default/memoserv/memos.html b/modules/extra/webcpanel/templates/default/memoserv/memos.html
index 7cff20dbf..4d0024f91 100644
--- a/modules/extra/webcpanel/templates/default/memoserv/memos.html
+++ b/modules/extra/webcpanel/templates/default/memoserv/memos.html
@@ -77,20 +77,27 @@
<th class="akillR2">Time/Message</th>
</tr>
{FOR I,S,T,TXT,U IN NUMBER,SENDER,TIME,TEXT,UNREAD}
- <tr>
+ {IF EQ U YES}
+ <tr class="read">
+ {ELSE}
+ <tr class="unread">
+ {END IF}
<td class="akillR1">{I}</td>
<td class="akillR3">{S}</td>
<td class="akillR2"><abbr title="{T}">{TXT}</abbr></td>
</tr>
- <tr>
+ {IF EQ U YES}
+ <tr class="read">
<td></td>
<td></td>
- {IF EQ U YES}
<td class="right"><a href="/memoserv/memos?channel={ESCAPED_CHANNEL_NAME}&number={I}&read=1">Mark as Read</a> &nbsp;
<a href="{S}" class="reply" id="memo{I}">Reply</a>&nbsp;
<a href="/memoserv/memos?channel={ESCAPED_CHANNEL_NAME}&number={I}&del=1">Delete</a></td>
{ELSE}
- <td class="right"><a href="/memoserv/memos?channel={ESCAPED_CHANNEL_NAME}&number={I}&read=2">Mark as Unread</a> ;&nbsp
+ <tr class="unread">
+ <td></td>
+ <td></td>
+ <td class="right"><a href="/memoserv/memos?channel={ESCAPED_CHANNEL_NAME}&number={I}&read=2">Mark as Unread</a> &nbsp;
<a href="{S}" class="reply" id="memo{I}">Reply</a> &nbsp;
<a href="/memoserv/memos?channel={ESCAPED_CHANNEL_NAME}&number={I}&del=1">Delete</a></td>
{END IF}