Changeset 2158:13b49921f64a for inc
- Timestamp:
- 09/30/13 08:53:36 (12 years ago)
- Branch:
- dcRepo
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.moduleslist.php
r2157 r2158 127 127 '<p><label for="m_search" class="classic">'.__('Search in repository:').' </label><br />'. 128 128 form::field(array('m_search','m_search'), 30, 255, html::escapeHTML($query)). 129 '<input type="submit" value="'.__('Search').'" /> '. 130 '</p>'; 129 '<input type="submit" value="'.__('Search').'" /> '; 130 if ($query) { echo ' <a href="'.$this->getPageURL().'" class="button">'.__('Reset search').'</a>'; } 131 echo '</p>'. 132 '</form>'; 131 133 132 134 if ($query) { 133 135 echo 134 '<p >'.sprintf(135 __('Found %d result for search "%s" .', 'Found %d results for search "%s".', count($this->modules)),136 '<p class="message">'.sprintf( 137 __('Found %d result for search "%s":', 'Found %d results for search "%s":', count($this->modules)), 136 138 count($this->modules), html::escapeHTML($query) 137 ).' <a href="'.$this->getPageURL().'" class="button">'.__('Reset search').'</a>'.139 ). 138 140 '</p>'; 139 141 } 140 141 echo142 '</form>';143 144 142 return $this; 145 143 } … … 472 470 if(!$count) { 473 471 echo 474 '<p >'.__('There is no module.').'</p>';472 '<p class="message">'.__('No module matches your search.').'</p>'; 475 473 } 476 474 }
Note: See TracChangeset
for help on using the changeset viewer.