diff options
| author | Michael Jennings <mej@users.sourceforge.net> | 2006-02-08 18:32:11 +0000 |
|---|---|---|
| committer | Michael Jennings <mej@users.sourceforge.net> | 2006-02-08 18:32:11 +0000 |
| commit | 85a64eacf2f92f901049716c66c7233de8e71c44 (patch) | |
| tree | 20d64caa60f0e3bbaac636813a34870d6a8b6562 /templates | |
| parent | 51fb46efb5938bc20b447c84b3274f433e748caf (diff) | |
| download | messages-85a64eacf2f92f901049716c66c7233de8e71c44.tar.gz messages-85a64eacf2f92f901049716c66c7233de8e71c44.tar.bz2 messages-85a64eacf2f92f901049716c66c7233de8e71c44.zip | |
Wed Feb 8 13:30:46 2006 Michael Jennings (mej)
Convert messu to messages.
----------------------------------------------------------------------
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/header_inc.tpl | 2 | ||||
| -rw-r--r-- | templates/messages_broadcast.tpl | 6 | ||||
| -rw-r--r-- | templates/messages_compose.tpl | 2 | ||||
| -rw-r--r-- | templates/messages_mailbox.tpl | 8 | ||||
| -rw-r--r-- | templates/messages_message_notification.tpl | 2 | ||||
| -rw-r--r-- | templates/messages_nav.tpl | 6 | ||||
| -rw-r--r-- | templates/messages_preferences_inc.tpl | 2 | ||||
| -rw-r--r-- | templates/messages_read.tpl | 10 |
8 files changed, 19 insertions, 19 deletions
diff --git a/templates/header_inc.tpl b/templates/header_inc.tpl index 5481685..10a8854 100644 --- a/templates/header_inc.tpl +++ b/templates/header_inc.tpl @@ -3,7 +3,7 @@ var redirect = confirm( '{tr}You have {$unreadMsgs} message(s) waiting for you in your personal message box. Click OK to view your messages.{/tr}' ); if( redirect == true && !getCookie( 'message_alert_sent' ) ) {ldelim} setCookie( 'message_alert_sent', true, 600 ); - window.location="{$smarty.const.MESSU_PKG_URL}message_box.php"; + window.location="{$smarty.const.MESSAGES_PKG_URL}message_box.php"; {rdelim} </script> {/if} diff --git a/templates/messages_broadcast.tpl b/templates/messages_broadcast.tpl index ca46e22..55993f2 100644 --- a/templates/messages_broadcast.tpl +++ b/templates/messages_broadcast.tpl @@ -1,18 +1,18 @@ <div class="floaticon">{bithelp}</div> <div class="contain usermessages"> <div class="header"> -<h1><a href="{$smarty.const.MESSU_PKG_URL}broadcast.php">{tr}Broadcast message{/tr}</a></h1> +<h1><a href="{$smarty.const.MESSAGES_PKG_URL}broadcast.php">{tr}Broadcast message{/tr}</a></h1> </div> {include file="bitpackage:users/my_bitweaver_bar.tpl"} -{include file="bitpackage:messu/messages_nav.tpl"} +{include file="bitpackage:messages/messages_nav.tpl"} <div class="body"> {formfeedback error=$errors success=$message} {if $sent} {$message} {else} -<form action="{$smarty.const.MESSU_PKG_URL}broadcast.php" method="post"> +<form action="{$smarty.const.MESSAGES_PKG_URL}broadcast.php" method="post"> <table class="panel"> <tr> <td><label for="broadcast-group">{tr}Group{/tr}:</label></td> diff --git a/templates/messages_compose.tpl b/templates/messages_compose.tpl index 4e33bcf..9fad99f 100644 --- a/templates/messages_compose.tpl +++ b/templates/messages_compose.tpl @@ -11,7 +11,7 @@ {formfeedback hash=$feedback} {if $feedback} - {tr}Return to your {smartlink ititle="Message Box" ipackage=messu ifile="message_box.php"}{/tr} + {tr}Return to your {smartlink ititle="Message Box" ipackage=messages ifile="message_box.php"}{/tr} {/if} {if !$feedback or $feedback.error} diff --git a/templates/messages_mailbox.tpl b/templates/messages_mailbox.tpl index 53e1370..2bd23f3 100644 --- a/templates/messages_mailbox.tpl +++ b/templates/messages_mailbox.tpl @@ -16,14 +16,14 @@ <input type="hidden" name="flagval" value="{$flagval|escape}" /> <input type="hidden" name="priority" value="{$priority|escape}" /> - <a href="{$smarty.const.MESSU_PKG_URL}compose.php">{biticon ipackage=messu iname=send_mail iexplain="Compose Message" iforce=icon_text}</a> + <a href="{$smarty.const.MESSAGES_PKG_URL}compose.php">{biticon ipackage=messages iname=send_mail iexplain="Compose Message" iforce=icon_text}</a> {assign var=displayName value=$gBitSystem->getPreference("display_name","real_name") } <table class="data"> <caption>{tr}Messages{/tr}</caption> <tr> <th style="width:1%"> </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 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> @@ -33,9 +33,9 @@ {section name=user loop=$items} <tr class="{cycle values="odd,even"} prio{$items[user].priority}{if $items[user].is_read eq 'n'} highlight{/if}"> <td><input type="checkbox" name="msg[{$items[user].msg_id}]" /></td> - <td>{if $items[user].is_flagged eq 'y'}{biticon ipackage=messu iname=flagged iexplain="Flagged"}{/if}</td> + <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.MESSU_PKG_URL}read.php?offset={$offset}&flag={$flag}&priority={$priority}&flagval={$flagval}&sort_mode={$sort_mode}&find={$find}&msg_id={$items[user].msg_id}">{$items[user].subject}</a></td> + <td><a href="{$smarty.const.MESSAGES_PKG_URL}read.php?offset={$offset}&flag={$flag}&priority={$priority}&flagval={$flagval}&sort_mode={$sort_mode}&find={$find}&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].len|kbsize}</td> </tr> diff --git a/templates/messages_message_notification.tpl b/templates/messages_message_notification.tpl index 34b805d..2fccab5 100644 --- a/templates/messages_message_notification.tpl +++ b/templates/messages_message_notification.tpl @@ -1,5 +1,5 @@ {tr}Hi, -A new message was posted to you. To respond, please visit http://{$smarty.server.HTTP_HOST}{$smarty.const.MESSU_PKG_URL}message_box.php +A new message was posted to you. To respond, please visit http://{$smarty.server.HTTP_HOST}{$smarty.const.MESSAGES_PKG_URL}message_box.php From: {$mail_from} Subject: {$mail_subject} diff --git a/templates/messages_nav.tpl b/templates/messages_nav.tpl index e2f2331..62b1988 100644 --- a/templates/messages_nav.tpl +++ b/templates/messages_nav.tpl @@ -1,9 +1,9 @@ <div class="navbar"> <ul> - <li><a href="{$smarty.const.MESSU_PKG_URL}message_box.php">{tr}Mailbox{/tr}</a></li> - <li><a href="{$smarty.const.MESSU_PKG_URL}compose.php">{tr}Compose{/tr}</a></li> + <li><a href="{$smarty.const.MESSAGES_PKG_URL}message_box.php">{tr}Mailbox{/tr}</a></li> + <li><a href="{$smarty.const.MESSAGES_PKG_URL}compose.php">{tr}Compose{/tr}</a></li> {if $gBitUser->hasPermission( 'bit_p_broadcast')} - <li><a href="{$smarty.const.MESSU_PKG_URL}broadcast.php">{tr}Broadcast{/tr}</a></li> + <li><a href="{$smarty.const.MESSAGES_PKG_URL}broadcast.php">{tr}Broadcast{/tr}</a></li> {/if} </ul> </div> diff --git a/templates/messages_preferences_inc.tpl b/templates/messages_preferences_inc.tpl index 75557c1..64a80ca 100644 --- a/templates/messages_preferences_inc.tpl +++ b/templates/messages_preferences_inc.tpl @@ -3,7 +3,7 @@ <div class="row"> {formlabel label="Personal Messages" for=""} {forminput} - <a href="{$smarty.const.MESSU_PKG_URL}message_box.php"> + <a href="{$smarty.const.MESSAGES_PKG_URL}message_box.php"> {tr}You have <strong>{$unreadMsgs|default:no} unread</strong> {if $unreadMsgs eq '1'}message{else}messages{/if}{/tr} </a> {/forminput} diff --git a/templates/messages_read.tpl b/templates/messages_read.tpl index 5418694..cdcf0f3 100644 --- a/templates/messages_read.tpl +++ b/templates/messages_read.tpl @@ -17,7 +17,7 @@ <div class="navbar"> <ul> {if $msg.is_flagged eq 'y'} - <li>{biticon ipackage=messu iname=flagged iexplain=Flagged} {smartlink ititle="Unflag Message" offset=$offset act=is_flagged actval=n msg_id=$msg_id sort_mode=$sort_mode find=$find flag=$flag priority=$priority flagval=$flagval}</li> + <li>{biticon ipackage=messages iname=flagged iexplain=Flagged} {smartlink ititle="Unflag Message" offset=$offset act=is_flagged actval=n msg_id=$msg_id sort_mode=$sort_mode find=$find flag=$flag priority=$priority flagval=$flagval}</li> {else} <li>{smartlink ititle="Flag Message" offset=$offset act=is_flagged actval=y msg_id=$msg_id sort_mode=$sort_mode find=$find flag=$flag priority=$priority flagval=$flagval}</li> {/if} @@ -30,7 +30,7 @@ {if $legend} {$legend} {else} - {form legend="Message" ipackage=messu ifile='compose.php'} + {form legend="Message" ipackage=messages ifile='compose.php'} <div class="row"> {formlabel label="Date"} {forminput} @@ -106,7 +106,7 @@ {* <table class="panel"> <tr class="panelsubmitrow"><td> - <form method="post" action="{$smarty.const.MESSU_PKG_URL}read.php"> + <form method="post" action="{$smarty.const.MESSAGES_PKG_URL}read.php"> <input type="hidden" name="offset" value="{$offset}" /> <input type="hidden" name="find" value="{$find|escape}" /> <input type="hidden" name="sort_mode" value="{$sort_mode}" /> @@ -125,7 +125,7 @@ </form> </td> <td> - <form method="post" action="{$smarty.const.MESSU_PKG_URL}compose.php"> + <form method="post" action="{$smarty.const.MESSAGES_PKG_URL}compose.php"> <input type="hidden" name="offset" value="{$offset}" /> <input type="hidden" name="msg_id" value="{$msg_id}" /> <input type="hidden" name="find" value="{$find|escape}" /> @@ -140,7 +140,7 @@ </form> </td> <td> - <form method="post" action="{$smarty.const.MESSU_PKG_URL}compose.php"> + <form method="post" action="{$smarty.const.MESSAGES_PKG_URL}compose.php"> <input type="hidden" name="offset" value="{$offset}" /> <input type="hidden" name="find" value="{$find|escape}" /> <input type="hidden" name="msg_id" value="{$msg_id}" /> |
