summaryrefslogtreecommitdiff
path: root/templates/messu_broadcast.tpl
diff options
context:
space:
mode:
authorbitweaver.org <bitweaver@users.sourceforge.net>2005-06-19 04:56:31 +0000
committerbitweaver.org <bitweaver@users.sourceforge.net>2005-06-19 04:56:31 +0000
commitdb60c85506a212d5eae4ffc6eecf43ece2a9b7f9 (patch)
tree441c9f624e4d6dd5beb28ce677c4955f5811022b /templates/messu_broadcast.tpl
downloadmessages-db60c85506a212d5eae4ffc6eecf43ece2a9b7f9.tar.gz
messages-db60c85506a212d5eae4ffc6eecf43ece2a9b7f9.tar.bz2
messages-db60c85506a212d5eae4ffc6eecf43ece2a9b7f9.zip
IMPORT TikiPro CLYDE FINAL
Diffstat (limited to 'templates/messu_broadcast.tpl')
-rw-r--r--templates/messu_broadcast.tpl55
1 files changed, 55 insertions, 0 deletions
diff --git a/templates/messu_broadcast.tpl b/templates/messu_broadcast.tpl
new file mode 100644
index 0000000..6480966
--- /dev/null
+++ b/templates/messu_broadcast.tpl
@@ -0,0 +1,55 @@
+<div class="floaticon">{bithelp}</div>
+<div class="contain usermessages">
+<div class="header">
+<h1><a href="{$gBitLoc.MESSU_PKG_URL}broadcast.php">{tr}Broadcast message{/tr}</a></h1>
+</div>
+
+{include file="bitpackage:users/my_bitweaver_bar.tpl"}
+{include file="bitpackage:messu/messu_nav.tpl"}
+
+<div class="body">
+
+{if $sent}
+ {$message}
+{else}
+<form action="{$gBitLoc.MESSU_PKG_URL}broadcast.php" method="post">
+<table class="panel">
+ <tr>
+ <td><label for="broadcast-group">{tr}Group{/tr}:</label></td>
+ <td>
+ <select name="group" id="broadcast-group">
+ {if $bit_p_broadcast_all eq 'y'}
+ <option value="all" selected="selected">{tr}All users{/tr}</option>
+ {/if}
+ {section name=ix loop=$groups}
+ <option value="{$groups[ix].group_name|escape}">{$groups[ix].group_name}</option>
+ {/section}
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="broadcast-priority">{tr}Priority{/tr}:</label></td><td>
+ <select name="priority" id="broadcast-priority">
+ <option value="1" {if $priority eq 1}selected="selected"{/if}>{tr}1 -Lowest-{/tr}</option>
+ <option value="2" {if $priority eq 2}selected="selected"{/if}>{tr}2 -Low-{/tr}</option>
+ <option value="3" {if $priority eq 3}selected="selected"{/if}>{tr}3 -Normal-{/tr}</option>
+ <option value="4" {if $priority eq 4}selected="selected"{/if}>{tr}4 -High-{/tr}</option>
+ <option value="5" {if $priority eq 5}selected="selected"{/if}>{tr}5 -Very High-{/tr}</option>
+ </select>
+ </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>
+ </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>
+ </tr>
+ <tr class="panelsubmitrow">
+ <td colspan="2"><input type="submit" name="send" value="{tr}send message{/tr}" /></td>
+ </tr>
+</table>
+</form>
+{/if}
+
+</div> {* end .body *}
+</div> {* end .messages *}