summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2006-02-19 19:24:27 +0000
committerLester Caine <lester@lsces.co.uk>2006-02-19 19:24:27 +0000
commit740e0453681c04e9a4caafa36c912b39234aa1f1 (patch)
treed709e367c7cdc1459c691232640f64ceaa9b96a3 /templates
parent07048855f55a6cbc46ab24b78a76721efa2785bb (diff)
downloadmessages-740e0453681c04e9a4caafa36c912b39234aa1f1.tar.gz
messages-740e0453681c04e9a4caafa36c912b39234aa1f1.tar.bz2
messages-740e0453681c04e9a4caafa36c912b39234aa1f1.zip
Fix reserved word field names
DATE - SQL Reserved
Diffstat (limited to 'templates')
-rw-r--r--templates/messages_mailbox.tpl4
-rw-r--r--templates/messages_read.tpl2
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/messages_mailbox.tpl b/templates/messages_mailbox.tpl
index 2bd23f3..db0a7ad 100644
--- a/templates/messages_mailbox.tpl
+++ b/templates/messages_mailbox.tpl
@@ -26,7 +26,7 @@
<th style="width:1%">{smartlink ititle="Flagged" isort=is_flagged ibiticon="messages/flagged" find=$find flag=$flag offset=$offset priority=$priority flagval=$flagval}</th>
<th>{smartlink ititle="From" isort=$displayName find=$find flag=$flag offset=$offset priority=$priority flagval=$flagval}</th>
<th>{smartlink ititle="Subject" isort=subject find=$find flag=$flag offset=$offset priority=$priority flagval=$flagval}</th>
- <th>{smartlink ititle="Date" isort=date find=$find flag=$flag offset=$offset priority=$priority flagval=$flagval}</th>
+ <th>{smartlink ititle="Date" isort=msg_date find=$find flag=$flag offset=$offset priority=$priority flagval=$flagval}</th>
<th>{tr}Size{/tr}</th>
</tr>
@@ -36,7 +36,7 @@
<td>{if $items[user].is_flagged eq 'y'}{biticon ipackage=messages iname=flagged iexplain="Flagged"}{/if}</td>
<td>{displayname hash=$items[user]}</td>
<td><a href="{$smarty.const.MESSAGES_PKG_URL}read.php?offset={$offset}&amp;flag={$flag}&amp;priority={$priority}&amp;flagval={$flagval}&amp;sort_mode={$sort_mode}&amp;find={$find}&amp;msg_id={$items[user].msg_id}">{$items[user].subject}</a></td>
- <td style="text-align:right;">{$items[user].date|bit_short_datetime}</td>
+ <td style="text-align:right;">{$items[user].msg_date|bit_short_datetime}</td>
<td style="text-align:right;">{$items[user].len|kbsize}</td>
</tr>
{sectionelse}
diff --git a/templates/messages_read.tpl b/templates/messages_read.tpl
index cdcf0f3..78c4bbf 100644
--- a/templates/messages_read.tpl
+++ b/templates/messages_read.tpl
@@ -34,7 +34,7 @@
<div class="row">
{formlabel label="Date"}
{forminput}
- {$msg.date|bit_long_datetime}
+ {$msg.msg_date|bit_long_datetime}
{/forminput}
</div>