Dotclear

Changeset 2158:13b49921f64a


Ignore:
Timestamp:
09/30/13 08:53:36 (11 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
dcRepo
Message:

Déplacement du bouton reset, meilleure vue des messages et résumés de résultats.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • admin/plugins.php

    r2157 r2158  
    154154               __('There is one plugin to update available from %2$s.', 'There are %s plugins to update available from %s.', count($modules)), 
    155155               count($modules), 
    156                '<a title="'.__('Visit Dotaddict').'" href="http://dotaddict.org/dc2/plugins">dotaddict.org</a>' 
     156               '<a href="http://dotaddict.org/dc2/plugins">Dotaddict</a>' 
    157157          ).'</p>'; 
    158158 
     
    180180     echo 
    181181     '<h3>'.__('Activated plugins').'</h3>'. 
    182      '<p>'.__('You can manage installed plugins from this list.').'</p>'; 
     182     '<p>'.__('Manage installed plugins from this list.').'</p>'; 
    183183 
    184184     $list 
     
    236236 
    237237     echo 
    238      '<div class="info">'. 
    239      '<p>'.sprintf( 
     238     '<p class="info vertical-separator">'.sprintf( 
    240239          __("Visit %s repository, the resources center for Dotclear."), 
    241240          '<a href="http://dotaddict.org/dc2/plugins">Dotaddict</a>' 
    242      ).'</p></div>'. 
     241          ). 
     242     '</p>'. 
     243 
    243244     '</div>'; 
    244245 
  • admin/style/default.css

    r2157 r2158  
    19731973     height: 16px; 
    19741974     } 
     1975.modules td.icon img.expand { 
     1976     margin-bottom: 3px; 
     1977     } 
    19751978.modules td.distrib img { 
    19761979     display: block; 
     
    19901993#m_search {     
    19911994     background: transparent url(search.png) no-repeat 4px center; 
     1995     padding-left: 20px; 
    19921996     } 
    19931997.modules tr.expand, .modules td.expand { 
    1994      background: #f5f5f5; 
     1998     background: #f7f7f7; 
    19951999     border-color: #bee74b; 
    19962000     } 
    1997 .modules tr.expand { 
     2001.modules tr.expand td:first-child { 
    19982002     font-weight: bold; 
     2003     background: #DFE5E7; 
    19992004     } 
    20002005.modules td.expand { 
     
    20022007     } 
    20032008.mod-more, .mod-more li { 
    2004      margin: 0 0 0 1em; 
     2009     margin: .25em 0 0 1em; 
    20052010     padding: 0; 
    20062011     list-style-type: none; 
     2012     } 
     2013.mod-more { 
     2014     padding-top: .5em; 
    20072015     } 
    20082016/* ---------------------------------------------------------- post.php, page.php */ 
  • inc/admin/lib.moduleslist.php

    r2157 r2158  
    127127          '<p><label for="m_search" class="classic">'.__('Search in repository:').'&nbsp;</label><br />'. 
    128128          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>'; 
    131133 
    132134          if ($query) { 
    133135               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)),  
    136138                    count($this->modules), html::escapeHTML($query) 
    137                ).' <a href="'.$this->getPageURL().'" class="button">'.__('Reset search').'</a>'. 
     139                    ). 
    138140               '</p>'; 
    139141          } 
    140  
    141           echo  
    142           '</form>'; 
    143  
    144142          return $this; 
    145143     } 
     
    472470          if(!$count) { 
    473471               echo  
    474                '<p>'.__('There is no module.').'</p>'; 
     472               '<p class="message">'.__('No module matches your search.').'</p>'; 
    475473          } 
    476474     } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map