3 <form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
4 <div class="input-form">
6 <h3><?php echo _AT('results_found', count($this->keys)); ?></h3>
7 <a id="results-hide-show-link" href="javascript:void(0);" tabindex="1">Refine Results</a>
11 <div id="results-hide-show" role="search" aria-live="assertive">
12 <div id="results-display">
15 <?php echo _AT('type'); ?><br />
16 <input type="checkbox" name="core" value="1" id="t0" <?php if ($_GET['core']) { echo 'checked="checked"'; } ?> /><label for="t0"><?php echo _AT('core'); ?></label>
18 <input type="checkbox" name="standard" value="1" id="t1" <?php if ($_GET['standard']) { echo 'checked="checked"'; } ?> /><label for="t1"><?php echo _AT('standard'); ?></label>
20 <input type="checkbox" name="extra" value="1" id="t2" <?php if ($_GET['extra']) { echo 'checked="checked"'; } ?> /><label for="t2"><?php echo _AT('extra'); ?></label>
25 <?php echo _AT('status'); ?><br />
26 <input type="checkbox" name="enabled" value="1" id="s0" <?php if ($_GET['enabled']) { echo 'checked="checked"'; } ?> /><label for="s0"><?php echo _AT('enabled'); ?></label>
28 <input type="checkbox" name="disabled" value="1" id="s1" <?php if ($_GET['disabled']) { echo 'checked="checked"'; } ?> /><label for="s1"><?php echo _AT('disabled'); ?></label>
30 <input type="checkbox" name="missing" value="1" id="s2" <?php if ($_GET['missing']) { echo 'checked="checked"'; } ?> /><label for="s2"><?php echo _AT('missing'); ?></label>
32 <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>
35 <div class="row buttons">
36 <input type="submit" name="filter" value="<?php echo _AT('filter'); ?>" />
37 <input type="submit" name="reset_filter" value="<?php echo _AT('reset_filter'); ?>" />
40 </div> <!-- end #results-display -->
41 </div> <!-- end #results-hide-show -->
44 <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get" name="form">
46 <input type="hidden" name="enabled" value="<?php echo (int) $_GET['enabled']; ?>" />
47 <input type="hidden" name="disabled" value="<?php echo (int) $_GET['disabled']; ?>" />
48 <input type="hidden" name="core" value="<?php echo (int) $_GET['core']; ?>" />
49 <input type="hidden" name="standard" value="<?php echo (int) $_GET['standard']; ?>" />
50 <input type="hidden" name="extra" value="<?php echo (int) $_GET['extra']; ?>" />
51 <input type="hidden" name="missing" value="<?php echo (int) $_GET['missing']; ?>" />
52 <input type="hidden" name="partially_uninstalled" value="<?php echo (int) $_GET['partially_uninstalled']; ?>" />
53 <div class="table-surround">
54 <table class="data" summary="List of modules" >
62 <th scope="col"> </th>
63 <th scope="col"><?php echo _AT('module_name'); ?></th>
64 <!-- REMOVED FOR MOBILE <th scope="col"><?php echo _AT('type'); ?></th>-->
65 <th scope="col"><?php echo _AT('status'); ?></th>
66 <!-- REMOVED FOR MOBILE <th scope="col"><?php echo _AT('cron'); ?></th> -->
67 <!-- REMOVED FOR MOBILE <th scope="col"><?php echo _AT('directory_name'); ?></th>-->
73 <input type="submit" name="details" value="<?php echo _AT('details'); ?>" />
74 <input type="submit" name="enable" value="<?php echo _AT('enable'); ?>" />
75 <input type="submit" name="disable" value="<?php echo _AT('disable'); ?>" />
76 <input type="submit" name="uninstall" value="<?php echo _AT('uninstall'); ?>" />
77 <input type="submit" name="export" value="<?php echo _AT('export'); ?>" />
85 <?php foreach($this->keys as $dir_name) : $module =& $this->module_list[$dir_name]; $i++; $readme = get_readme(AT_INCLUDE_PATH.'../mods/'.$dir_name);?>
87 <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; ?>">
88 <td valign="top"><input type="radio" id="t_<?php echo $i; ?>" name="mod_dir" value="<?php echo $dir_name; ?>" /></td>
89 <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>
90 <!-- REMOVED FOR MOBILE><td valign="top"><?php
91 /*if ($module->isCore()) {
92 echo '<strong>'._AT('core').'</strong>';
93 } else if ($module->isStandard()) {
99 <td valign="top"><?php
100 if ($module->isEnabled()) {
102 } else if ($module->isMissing()) {
103 echo '<strong>'._AT('missing').'</strong>';
104 } else if ($module->isPartiallyUninstalled()) {
105 echo _AT('partially_uninstalled');
107 echo '<strong>'._AT('disabled').'</strong>';
110 <!-- REMOVED FOR MOBILE <td valign="top" align="center">
111 <?php // if ($module->getCronInterval()): ?>
112 <?php //echo _AT('minutes', $module->getCronInterval()); ?>
117 <td valign="top"><code><?php //echo $dir_name; ?>/</code></td> -->
120 <?php if (!$this->keys): ?>
122 <td colspan="6"><?php echo _AT('none_found'); ?></td>