2 <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
3 <input type="hidden" name="id" value="<?php echo $id; ?>" />
5 <div class="input-form">
7 <?php echo _AT('to'); ?><br />
8 <?php echo $instructor_name; ?>
12 <label for="from"><?php echo _AT('from_name'); ?></label><br />
13 <input type="text" class="formfield" name="from" id="from" size="40" value="<?php echo $student_name;?>" />
17 <label for="from_email"><?php echo _AT('from_email'); ?></label><br />
18 <input type="text" class="formfield" name="from_email" id="from_email" size="40" value="<?php echo $student_email;?>" />
22 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="subject"><?php echo _AT('subject'); ?></label><br />
23 <input type="text" class="formfield" name="subject" id="subject" size="40" value="<?php echo $_POST['subject']; ?>" />
27 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="body"><?php echo _AT('body'); ?></label><br />
28 <textarea class="formfield" cols="55" rows="15" id="body" name="body" wrap="wrap"><?php echo $_POST['body']; ?></textarea>
31 <div class="buttons row">
32 <input type="submit" name="submit" class="button" value="<?php echo _AT('send_message'); ?>" accesskey="s" />
33 <input type="submit" name="cancel" class="button" value="<?php echo _AT('cancel'); ?>" />