2 <form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
3 <div class="input-form">
5 <h3><?php echo _AT('results_found', count($this->keys));?>
10 <?php echo _AT('type'); ?><br />
11 <input type="checkbox" name="core" value="1" id="t0" <?php if ($_GET['core']) { echo 'checked="checked"'; } ?> /><label for="t0"><?php echo _AT('core'); ?></label>
13 <input type="checkbox" name="standard" value="1" id="t1" <?php if ($_GET['standard']) { echo 'checked="checked"'; } ?> /><label for="t1"><?php echo _AT('standard'); ?></label>
15 <input type="checkbox" name="extra" value="1" id="t2" <?php if ($_GET['extra']) { echo 'checked="checked"'; } ?> /><label for="t2"><?php echo _AT('extra'); ?></label>
20 <?php echo _AT('status'); ?><br />
21 <input type="checkbox" name="enabled" value="1" id="s0" <?php if ($_GET['enabled']) { echo 'checked="checked"'; } ?> /><label for="s0"><?php echo _AT('enabled'); ?></label>
23 <input type="checkbox" name="disabled" value="1" id="s1" <?php if ($_GET['disabled']) { echo 'checked="checked"'; } ?> /><label for="s1"><?php echo _AT('disabled'); ?></label>
25 <input type="checkbox" name="missing" value="1" id="s2" <?php if ($_GET['missing']) { echo 'checked="checked"'; } ?> /><label for="s2"><?php echo _AT('missing'); ?></label>
27 <input type="checkbox" name="partially_uninstalled" value="1" id="s3" <?php if ($_GET['partially_uninstalled']) { echo 'checked="checked"'; } ?> /><label for="s3"><?php echo _AT('partially_uninstalled'); ?></label>
30 <div class="row buttons">
31 <input type="submit" name="filter" value="<?php echo _AT('filter'); ?>" />
32 <input type="submit" name="reset_filter" value="<?php echo _AT('reset_filter'); ?>" />
37 <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get" name="form">
39 <input type="hidden" name="enabled" value="<?php echo (int) $_GET['enabled']; ?>" />
40 <input type="hidden" name="disabled" value="<?php echo (int) $_GET['disabled']; ?>" />
41 <input type="hidden" name="core" value="<?php echo (int) $_GET['core']; ?>" />
42 <input type="hidden" name="standard" value="<?php echo (int) $_GET['standard']; ?>" />
43 <input type="hidden" name="extra" value="<?php echo (int) $_GET['extra']; ?>" />
44 <input type="hidden" name="missing" value="<?php echo (int) $_GET['missing']; ?>" />
45 <input type="hidden" name="partially_uninstalled" value="<?php echo (int) $_GET['partially_uninstalled']; ?>" />
47 <table class="data" summary="List of modules" rules="cols">
55 <th scope="col"> </th>
56 <th scope="col"><?php echo _AT('module_name'); ?></th>
57 <th scope="col"><?php echo _AT('type'); ?></th>
58 <th scope="col"><?php echo _AT('status'); ?></th>
59 <th scope="col"><?php echo _AT('cron'); ?></th>
60 <th scope="col"><?php echo _AT('directory_name'); ?></th>
66 <input type="submit" name="details" value="<?php echo _AT('details'); ?>" />
67 <input type="submit" name="enable" value="<?php echo _AT('enable'); ?>" />
68 <input type="submit" name="disable" value="<?php echo _AT('disable'); ?>" />
69 <input type="submit" name="uninstall" value="<?php echo _AT('uninstall'); ?>" />
70 <input type="submit" name="export" value="<?php echo _AT('export'); ?>" />
78 <?php foreach($this->keys as $dir_name) : $module =& $this->module_list[$dir_name]; $i++; $readme = get_readme(AT_INCLUDE_PATH.'../mods/'.$dir_name);?>
80 <tr onkeydown="document.form['t_<?php echo $i; ?>'].checked = true; rowselect(this);" onmousedown="document.form['t_<?php echo $i; ?>'].checked = true; rowselect(this);" id="r_<?php echo $i; ?>">
81 <td valign="top"><input type="radio" id="t_<?php echo $i; ?>" name="mod_dir" value="<?php echo $dir_name; ?>" /></td>
82 <td nowrap="nowrap" valign="top"><label for="t_<?php echo $i; ?>"><?php echo $module->getName(); if ($readme <> '') echo ' <a href="#" onclick="ATutor.poptastic(\''.AT_BASE_HREF.'mods/'.$dir_name.'/'.$readme.'\');return false;">'._AT('view_readme').'</a>'; ?></label></td>
83 <td valign="top"><?php
84 if ($module->isCore()) {
85 echo '<strong>'._AT('core').'</strong>';
86 } else if ($module->isStandard()) {
92 <td valign="top"><?php
93 if ($module->isEnabled()) {
95 } else if ($module->isMissing()) {
96 echo '<strong>'._AT('missing').'</strong>';
97 } else if ($module->isPartiallyUninstalled()) {
98 echo _AT('partially_uninstalled');
100 echo '<strong>'._AT('disabled').'</strong>';
103 <td valign="top" align="center">
104 <?php if ($module->getCronInterval()): ?>
105 <?php echo _AT('minutes', $module->getCronInterval()); ?>
110 <td valign="top"><code><?php echo $dir_name; ?>/</code></td>
113 <?php if (!$this->keys): ?>
115 <td colspan="6"><?php echo _AT('none_found'); ?></td>