Dotclear

Changeset 1697:687baefd388c for admin


Ignore:
Timestamp:
09/02/13 21:15:33 (11 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:
  • Message d'update de Dotclear. Mise en forme moins stressante. On ajoutera éventuellement une mini-icône sur le lien d'infos de version (ou pas).
  • Edition du billet. Broutilles textuelles : "Introduction […]" au lieu de "Ajoute une introduction […], "Notes non publiées" au lieu de "Ajoute […]
  • Boutons wysiwyg. Petite augmentation de l'espacement entre les groupes de boutons.
Location:
admin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • admin/index.php

    r1620 r1697  
    210210 
    211211     if ($updater->getNotify() && $new_v) { 
    212           $message = 
    213           '<div><p>'.sprintf(__('Dotclear %s is available!'),$new_v).'</p> '. 
    214           '<ul><li><strong><a href="update.php">'.sprintf(__('Upgrade now'),$new_v).'</a></strong>'. 
    215           '</li><li><a href="update.php?hide_msg=1">'.__('Remind me later').'</a>'. 
    216           ($version_info ? ' </li><li><a href="'.$version_info.'">'.__('information about this version').'</a>' : ''). 
    217           '</li></ul></div>'; 
    218           dcPage::message($message,false,true); 
     212          echo 
     213          '<div class="msg dc-update"><h3>'.sprintf(__('Dotclear %s is available!'),$new_v).'</h3> '. 
     214          '<p><a class="button submit" href="update.php">'.sprintf(__('Upgrade now'),$new_v).'</a> '. 
     215          '<a href="update.php?hide_msg=1">'.__('Remind me later').'</a>'. 
     216          ($version_info ? ' </p>'. 
     217          '<p><a href="'.$version_info.'" class="info">'.__('information about this version').'</a>' : '').'</p>'. 
     218          '</div>'; 
    219219     } 
    220220} 
  • admin/post.php

    r1625 r1697  
    516516          "post_excerpt" => 
    517517               '<p class="area" id="excerpt-area"><label for="post_excerpt">'.__('Excerpt:').'<span class="form-note">'. 
    518                __('Add an introduction to the post.').'</span></label> '. 
     518               __('Introduction to the post.').'</span></label> '. 
    519519               form::textarea('post_excerpt',50,5,html::escapeHTML($post_excerpt)). 
    520520               '</p>', 
     
    528528          "post_notes" => 
    529529               '<p class="area" id="notes-area"><label for="post_notes">'.__('Personal notes:').'<span class="form-note">'. 
    530                __('Add unpublished notes.').'</span></label>'. 
     530               __('Unpublished notes.').'</span></label>'. 
    531531               form::textarea('post_notes',50,5,html::escapeHTML($post_notes)). 
    532532               '</p>' 
  • admin/style/default.css

    r1681 r1697  
    11851185.success a { 
    11861186     color: #666; 
     1187} 
     1188.dc-update { 
     1189     padding: 1em 48px 0.5em 48px; 
     1190     margin-bottom: 1em; 
     1191     border-radius: 8px; 
     1192     background: #A2CBE9 url(msg-success.png) no-repeat .7em .7em; 
     1193} 
     1194.dc-update a { 
     1195     color: #000; 
     1196     border-color: #000; 
     1197     margin-right: 1em; 
     1198} 
     1199a.info { 
     1200     margin-left: 2em; 
     1201     font-weight: bold; 
    11871202} 
    11881203/* ------------------------------------------------------------------ navigation */ 
  • admin/style/jsToolBar/jsToolBar.css

    r1636 r1697  
    4848     width: 12em; 
    4949     margin-right: .6rem; 
     50     border: 1px solid #ccc;  
    5051} 
    5152.jstElements button { 
     
    7172     background: #dfdfdf; 
    7273} 
    73  
    74 .jstSpacer { 
    75      width : 2px; 
     74span.jstSpacer { 
     75     width : 6px; 
    7676     height: 28px; 
    7777     margin-right: 0; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map