File: broadcast-message.php

package info (click to toggle)
postfixadmin 2.3.5-2%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 6,200 kB
  • sloc: php: 25,767; xml: 14,485; perl: 964; sh: 664; python: 169; makefile: 84
file content (35 lines) | stat: -rw-r--r-- 1,240 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php if( !defined('POSTFIXADMIN') ) die( "This file cannot be used standalone." ); ?>
<div id="edit_form">
<form name="broadcast-message" method="post">
<table>
   <tr>
      <td colspan="3"><h3><?php print $PALANG['pBroadcast_title']; ?></h3></td>
   </tr>
   <tr>
      <td><?php print $PALANG['pBroadcast_from'] . ":"; ?></td>
      <td><?php print $CONF['admin_email']; ?></td>
   </tr>
   <tr>
      <td><?php print $PALANG['pBroadcast_name'] . ':'; ?></td>
      <td><input class="flat" size="43" type="text" name="name"/></td>
   </tr>
   <tr>
      <td><?php print $PALANG['pBroadcast_subject'] . ":"; ?></td>
      <td><input class="flat" size="43" type="text" name="subject"/></td>
   </tr>
   <tr>
      <td><?php print $PALANG['pBroadcast_message'] . ":"; ?></td>
      <td><textarea class="flat" cols="40" rows="6" name="message"></textarea></td>
   </tr>
   <tr>
      <td colspan="3" class="hlp_center">
         <?php
         if($error == 1){
            echo '<br/><span class="error_msg">'.$PALANG['pBroadcast_error_empty'].'</span><br/><br/>' ;
         }
         ?>
         <input class="button" type="submit" name="submit" value="<?php print $PALANG['pBroadcast_send']; ?>" /></td>
   </tr>
</table>
</form>
</div>