2 <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
3 <table class="data static" summary="Table of default course tools">
6 <th scope="cols"><?php echo _AT('section'); ?></th>
7 <th><?php echo _AT('location'); ?></th>
8 <th><?php echo _AT('order'); ?></th>
14 <input type="submit" name="submit" value="<?php echo _AT('save'); ?>" accesskey="s" />
15 <input type="submit" name="cancel" value="<?php echo _AT('cancel'); ?>" />
23 foreach ($this->current_modules as $tool) :
28 if (isset($this->pages[$tool]['title'])) {
29 echo $this->pages[$tool]['title'];
31 echo _AT($this->pages[$tool]['title_var']);
34 <?php if (in_array($tool, $this->main_defaults)): ?>
35 <input type="checkbox" name="main[]" value="<?php echo $tool; ?>" id="m<?php echo $tool; ?>" checked="checked" /><label for="m<?php echo $tool; ?>"><?php echo _AT('main_navigation'); ?></label>
37 <input type="checkbox" name="main[]" value="<?php echo $tool; ?>" id="m<?php echo $tool; ?>" /><label for="m<?php echo $tool; ?>"><?php echo _AT('main_navigation'); ?></label>
40 <?php if (in_array($tool, $this->home_defaults)): ?>
41 <input type="checkbox" name="home[]" value="<?php echo $tool; ?>" id="h<?php echo $tool; ?>" checked="checked" /><label for="h<?php echo $tool; ?>"><?php echo _AT('home'); ?></label>
43 <input type="checkbox" name="home[]" value="<?php echo $tool; ?>" id="h<?php echo $tool; ?>" /><label for="h<?php echo $tool; ?>"><?php echo _AT('home'); ?></label>
47 <?php if (!in_array($tool, $this->home_defaults) && !in_array($tool, $this->main_defaults)): ?>
50 <?php if (($count != $this->num_main+1) && ($count > 1)): ?>
51 <input type="submit" name="up[<?php echo $tool; ?>]" value="<?php echo _AT('move_up'); ?>" title="<?php echo _AT('move_up'); ?>" style="background-color: white; border: 1px solid; padding: 0px;" />
53 <img src="images/clr.gif" alt="" width="12" />
55 <?php if (($count != $this->num_main) && ($count < $this->num_modules)): ?>
56 <input type="submit" name="down[<?php echo $tool; ?>]" value="<?php echo _AT('move_down'); ?>" title="<?php echo _AT('move_down'); ?>" style="background-color: white; border: 1px solid; padding: 0px;"/>
58 <img src="images/clr.gif" alt="" width="12" />