summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/contact.tpl4
-rw-r--r--templates/messu_broadcast.tpl2
-rw-r--r--templates/messu_compose.tpl2
-rw-r--r--templates/messu_mailbox.tpl4
4 files changed, 6 insertions, 6 deletions
diff --git a/templates/contact.tpl b/templates/contact.tpl
index 757a142..aea863b 100644
--- a/templates/contact.tpl
+++ b/templates/contact.tpl
@@ -1,5 +1,5 @@
<a class="pagetitle" href="{$gBitLoc.MESSU_PKG_URL}contact.php">{tr}Contact us{/tr}</a><br /><br />
-{if $gBitSystemPrefs.feature_messages eq 'y' and $bit_p_messages eq 'y'}
+{if $gBitSystem->isFeatureActive( 'feature_messages' ) and $bit_p_messages eq 'y'}
{if $message}
{$message}
{/if}
@@ -21,7 +21,7 @@
</td>
</tr>
<tr>
- <td>{tr}Subject{/tr}:</td><td><input type="text" name="subject" value="" size="80" maxlength="255" /></td>
+ <td>{tr}Subject{/tr}:</td><td><input type="text" name="subject" value="" size="50" maxlength="255" /></td>
</tr>
<tr><td>&nbsp;</td>
<td><textarea rows="20" cols="80" name="body"></textarea></td>
diff --git a/templates/messu_broadcast.tpl b/templates/messu_broadcast.tpl
index 6480966..76501ab 100644
--- a/templates/messu_broadcast.tpl
+++ b/templates/messu_broadcast.tpl
@@ -39,7 +39,7 @@
</td>
</tr>
<tr>
- <td><label for="broadcast-subject">{tr}Subject{/tr}:</label></td><td><input type="text" name="subject" id="broadcast-subject" value="{$subject|escape}" size="80" maxlength="255"/></td>
+ <td><label for="broadcast-subject">{tr}Subject{/tr}:</label></td><td><input type="text" name="subject" id="broadcast-subject" value="{$subject|escape}" size="50" maxlength="255"/></td>
</tr>
<tr>
<td><label for="broadcast-body">{tr}Body{/tr}:</label></td><td align="center"><textarea rows="20" cols="80" name="body">{$body|escape}</textarea></td>
diff --git a/templates/messu_compose.tpl b/templates/messu_compose.tpl
index bd7af2f..29e4304 100644
--- a/templates/messu_compose.tpl
+++ b/templates/messu_compose.tpl
@@ -54,7 +54,7 @@
<div class="row">
{formlabel label="Subject" for="subject"}
{forminput}
- <input type="text" name="subject" id="subject" size="52" value="{$subject|escape}" />
+ <input type="text" name="subject" id="subject" size="50" value="{$subject|escape}" />
{/forminput}
</div>
diff --git a/templates/messu_mailbox.tpl b/templates/messu_mailbox.tpl
index bc38f6a..ba86af4 100644
--- a/templates/messu_mailbox.tpl
+++ b/templates/messu_mailbox.tpl
@@ -17,12 +17,12 @@
<input type="hidden" name="priority" value="{$priority|escape}" />
<a class="floaticon" href="{$gBitLoc.MESSU_PKG_URL}compose.php">{biticon ipackage=messu iname=send_mail iexplain="{tr}Compose Message{/tr}"}</a>
-
+{assign var=displayName value=$gBitSystem->getPreference("display_name","real_name") }
<table class="data">
<tr>
<th style="width:1%">&nbsp;</th>
<th style="width:1%">{smartlink ititle="Flagged" isort=is_flagged ibiticon="messu/flagged" find=$find flag=$flag offset=$offset priority=$priority flagval=$flagval}</th>
- <th>{smartlink ititle="From" isort=username 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>{tr}Size{/tr}</th>