2 /************************************************************************/
\r
4 /************************************************************************/
\r
5 /* Copyright (c) 2010 */
\r
6 /* Inclusive Design Institute */
\r
8 /* This program is free software. You can redistribute it and/or */
\r
9 /* modify it under the terms of the GNU General Public License */
\r
10 /* as published by the Free Software Foundation. */
\r
11 /************************************************************************/
\r
14 <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" name="form">
\r
15 <?php if (isset($this->tid)) { ?><input type="hidden" name="tid" value="<?php echo $this->tid; ?>" /> <?php }?>
\r
16 <input type="hidden" name="_course_id" value="<?php echo $this->course_id; ?>" />
\r
18 <div class="input-form">
\r
19 <fieldset class="group_form"><legend class="group_form"><?php echo _AT('edit_test'); ?></legend>
\r
21 <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />
\r
22 <input type="text" name="title" id="title" size="40" value="<?php if (isset($_POST['title'])) echo stripslashes(htmlspecialchars($_POST['title'])); else echo AT_print($this->row['title'], 'input.text'); ?>" />
\r
26 <label for="description"><?php echo _AT('test_description'); ?></label><br />
\r
27 <textarea name="description" cols="35" rows="3" id="description"><?php if (isset($_POST['description'])) echo htmlspecialchars($_POST['description']); else echo $this->row['description']; ?></textarea>
\r
30 <div class="row buttons">
\r
31 <input type="submit" value="<?php echo _AT('save'); ?>" name="submit" accesskey="s" />
\r
32 <input type="submit" value="<?php echo _AT('cancel'); ?>" name="cancel" />
\r