1 <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
2 <input type="hidden" name="course" value="<?php echo $course; ?>" />
4 <div class="input-form">
5 <fieldset class="group_form"><legend class="group_form"><?php echo _AT('course_email'); ?></legend>
7 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
8 <?php echo _AT('to'); ?><br />
9 <input type="checkbox" name="to_assistants" value="1" id="assistants" <?php if ($_POST['to_assistants']=='1') { echo 'checked="checked"'; } ?> /><label for="assistants"><?php echo _AT('assistants'); ?></label>
10 <input type="checkbox" name="to_enrolled" value="1" id="enrolled" <?php if ($_POST['to_enrolled']=='1') { echo 'checked="checked"'; } else { echo 'checked="checked"'; } ?> /><label for="enrolled"><?php echo _AT('enrolled'); ?></label>
11 <input type="checkbox" name="to_unenrolled" value="1" id="unenrolled" <?php if ($_POST['to_unenrolled']=='1') { echo 'checked="checked"'; } ?> /><label for="unenrolled"><?php echo _AT('unenrolled'); ?></label>
12 <input type="checkbox" name="to_alumni" value="1" id="alumni" <?php if ($_POST['to_alumni']=='1') { echo 'checked="checked"'; } ?> /><label for="alumni"><?php echo _AT('alumni'); ?></label>
14 <?php if (!empty($this->group_type_rows)): ?>
16 <?php echo _AT('or_groups'); ?>:<br />
17 <select name="groups[]" multiple="multiple" size="10" style="padding-right: 5px">
18 <?php foreach ($this->group_type_rows as $type_id => $row): ?>
19 <optgroup label="<?php echo $row['title']; ?>">
20 <?php foreach ($row['group_type_row'] as $group_row): ?>
21 <option value="<?php echo $group_row['group_id']; ?>"><?php echo $group_row['title']; ?></option>
30 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="subject"><?php echo _AT('subject'); ?></label><br />
31 <input type="text" name="subject" size="60" id="subject" value="<?php echo $_POST['subject']; ?>" />
35 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="body"><?php echo _AT('body'); ?></label><br />
36 <textarea cols="55" rows="18" name="body" id="body"><?php echo $_POST['body']; ?></textarea>
39 <div class="row buttons">
40 <input type="submit" name="submit" value="<?php echo _AT('send'); ?>" accesskey="s" />
41 <input type="submit" name="cancel" value="<?php echo _AT('cancel'); ?>" />