1 <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>?id=<?php echo $this->id; ?>">
2 <input type="hidden" name="id" value="<?php echo $this->id; ?>"/>
3 <div class="input-form">
5 <h3><?php echo _AT('instructor'); ?></h3>
6 <?php if ($this->instruct): ?>
8 <?php foreach ($this->instruct as $cid): ?>
9 <li><?php echo $this->system_courses[$cid]['title']; ?></li>
13 <?php echo _AT('none'); ?>
16 <div class="row buttons">
17 <input type="submit" name="cancel" value="<?php echo _AT('cancel'); ?>"/>
21 <div class="input-form">
23 <h3><?php echo _AT('enrolled'); ?></h3>
24 <?php if ($this->enrolled): ?>
26 <?php foreach ($this->enrolled as $cid): ?>
27 <li><input type="checkbox" name="enrolled[]" value="<?php echo $cid; ?>" id="c<?php echo $cid; ?>"/><label for="c<?php echo $cid; ?>"><?php echo $this->system_courses[$cid]['title']; ?></label></li>
31 <?php echo _AT('none'); ?>
34 <div class="row buttons">
35 <?php if ($this->enrolled): ?>
36 <input type="submit" name="enrolled_unenroll" value="<?php echo _AT('unenroll'); ?>"/>
38 <input type="submit" name="cancel" value="<?php echo _AT('cancel'); ?>"/>
43 <div class="input-form">
45 <h3><?php echo _AT('pending_enrollment'); ?></h3>
46 <?php if ($this->pending): ?>
48 <?php foreach ($this->pending as $cid): ?>
49 <li><input type="checkbox" name="pending[]" value="<?php echo $cid; ?>" id="c<?php echo $cid; ?>"/><label for="c<?php echo $cid; ?>"><?php echo $this->system_courses[$cid]['title']; ?></label></li>
53 <?php echo _AT('none'); ?>
56 <div class="row buttons">
57 <?php if ($this->pending): ?>
58 <input type="submit" name="pending_remove" value="<?php echo _AT('remove'); ?>"/>
59 <input type="submit" name="pending_enroll" value="<?php echo _AT('enroll'); ?>"/>
61 <input type="submit" name="cancel" value="<?php echo _AT('cancel'); ?>"/>
65 <div class="input-form">
67 <h3><?php echo _AT('not_enrolled');?></h3>
68 <?php if ($this->not_enrolled): ?>
70 <?php foreach ($this->not_enrolled as $cid): ?>
71 <li><input type="checkbox" name="not_enrolled[]" value="<?php echo $cid; ?>" id="c<?php echo $cid; ?>"/><label for="c<?php echo $cid; ?>"><?php echo $this->system_courses[$cid]['title']; ?></label></li>
75 <?php echo _AT('none'); ?>
78 <div class="row buttons">
79 <?php if ($this->not_enrolled): ?>
80 <input type="submit" name="not_enrolled_enroll" value="<?php echo _AT('enroll'); ?>"/>
82 <input type="submit" name="cancel" value="<?php echo _AT('cancel'); ?>"/>