Dotclear


Ignore:
Timestamp:
10/05/13 22:26:00 (12 years ago)
Author:
Denis Jean-Chirstian <contact@…>
Branch:
default
Children:
2288:2685c7d01ec3, 2404:26ab8fe42321
Message:

A touch of javascript, confirm deletion on plugins and themes, disable search on words shorter than 2 chars, and help text.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.moduleslist.php

    r2270 r2287  
    257257 
    258258          echo  
     259          '<div class="modules-search">'. 
    259260          '<form action="'.$this->getURL().'" method="get" class="fieldset">'. 
    260261          '<p><label for="m_search" class="classic">'.__('Search in repository:').'&nbsp;</label><br />'. 
    261262          form::field(array('m_search','m_search'), 30, 255, html::escapeHTML($query)). 
    262263          '<input type="submit" value="'.__('Search').'" /> '; 
    263           if ($query) { echo ' <a href="'.$this->getURL().'" class="button">'.__('Reset search').'</a>'; } 
    264           echo '</p>'. 
     264 
     265          if ($query) {  
     266               echo  
     267               ' <a href="'.$this->getURL().'" class="button">'.__('Reset search').'</a>'; 
     268          } 
     269 
     270          echo  
     271          '</p>'. 
     272          '<p class="form-note">'. 
     273          __('Search is allowed on multiple terms longer than 2 chars, terms must be separated by space.'). 
     274          '</p>'. 
    265275          '</form>'; 
    266276 
     
    273283               '</p>'; 
    274284          } 
     285          echo '</div>'; 
     286 
    275287          return $this; 
    276288     } 
     
    451463                    'details'                => '', 
    452464                    'sshot'             => '', 
    453                     'score'                  => 0 
     465                    'score'                  => 0, 
     466                    'type'                   => null 
    454467               ), 
    455468               # Module's values 
Note: See TracChangeset for help on using the changeset viewer.

Sites map