Dotclear

Changeset 1760:70e6ba18a169 for plugins


Ignore:
Timestamp:
09/08/13 18:13:34 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Editeur: hauteur minimale pour l'extrait ; pas de hauteur fixe pour la toolbar.

Couleurs:

  • le gris #666 est un peu plus bleuté (je pinaille si je veux)
  • les titres h3 sont orange foncé

Styles, factorisation (work in progress) : les media-action (media.php), l'ordonnancement des catégories (catégories.php), les items de Maintenance sont dans des n-boxes génériques.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/maintenance/index.php

    r1553 r1760  
    142142{ 
    143143     echo 
     144     '<div class="two-boxes">'. 
    144145     '<h3>'.__('Optimize database room').'</h3>'. 
    145146     '<form action="plugin.php" method="post">'. 
     
    148149     form::hidden(array('action'),'vacuum'). 
    149150     form::hidden(array('p'),'maintenance').'</p>'. 
    150      '</form>'; 
     151     '</form></div>'; 
    151152      
    152153     echo 
     154     '<div class="two-boxes">'. 
    153155     '<h3>'.__('Counters').'</h3>'. 
    154156     '<form action="plugin.php" method="post">'. 
     
    157159     form::hidden(array('action'),'commentscount'). 
    158160     form::hidden(array('p'),'maintenance').'</p>'. 
    159      '</form>'; 
     161     '</form></div>'; 
    160162      
    161163     echo 
    162      '<h3>'.__('Search engine index').' ('.__('This may take a very long time').')</h3>'. 
     164     '<div class="two-boxes">'. 
     165     '<h3>'.__('Search engine index').'</h3>'. 
    163166     '<form action="plugin.php" method="get">'. 
    164167     '<p><input type="submit" name="indexposts" value="'.__('Index all posts').'" /> '. 
     
    166169     form::hidden(array('action'),'index'). 
    167170     form::hidden(array('p'),'maintenance').'</p>'. 
    168      '</form>'; 
     171     '<p class="form-note info">'.__('This may take a very long time').'.</p>'. 
     172     '</form></div>'; 
    169173      
    170174     echo 
     175     '<div class="two-boxes">'. 
    171176     '<h3>'.__('Vacuum logs').'</h3>'. 
    172177     '<form action="plugin.php" method="post">'. 
     
    175180     form::hidden(array('action'),'log'). 
    176181     form::hidden(array('p'),'maintenance').'</p>'. 
    177      '</form>'; 
     182     '</form></div>'; 
    178183      
    179184     echo 
     185     '<div class="two-boxes">'. 
    180186     '<h3>'.__('Empty templates cache directory').'</h3>'. 
    181187     '<form action="plugin.php" method="post">'. 
     
    184190     form::hidden(array('action'),'empty_cache'). 
    185191     form::hidden(array('p'),'maintenance').'</p>'. 
    186      '</form>'; 
     192     '</form></div>'; 
    187193} 
    188194dcPage::helpBlock('maintenance'); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map