2 <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>" name="form">
3 <input type="hidden" name="admin" value="admin" />
5 <div class="input-form">
8 <legend><span class="required" title="<?php echo _AT('required_field'); ?>">*</span><?php echo _AT('to'); ?></legend>
9 <input type="radio" name="to" value="3" checked="checked" id="all" /><label for="all"><?php echo _AT('all_users'); ?></label>
10 <input type="radio" name="to" value="1" id="inst" <?php if ($_POST['to'] == AT_STATUS_INSTRUCTOR) { echo 'checked="checked"'; } ?> /><label for="inst"><?php echo _AT('instructors'); ?></label>
11 <input type="radio" name="to" value="2" id="stud" <?php if ($_POST['to'] == AT_STATUS_STUDENT) { echo 'checked="checked"'; } ?> /><label for="stud"><?php echo _AT('students'); ?></label>
16 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="subject"><?php echo _AT('subject'); ?></label><br />
17 <input type="text" name="subject" size="45" id="subject" value="<?php echo $_POST['subject']; ?>" />
21 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="body"><?php echo _AT('body'); ?></label><br />
22 <textarea cols="45" rows="18" name="body" id="body"><?php echo $_POST['body']; ?></textarea>
25 <div class="row buttons">
26 <input type="submit" name="submit" value="<?php echo _AT('send'); ?>" accesskey="s" />
27 <input type="submit" name="cancel" value="<?php echo _AT('cancel'); ?>" />