Dotclear

Changeset 561:98f837d6c506


Ignore:
Timestamp:
07/10/11 21:02:11 (14 years ago)
Author:
kozlika
Branch:
default
Message:

Accessib/ergo: fieldsets, titres et boutons tag_posts.php

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r557 r561  
    917917} 
    918918/* -------------------------------------------------------------------- CLASSES COMMUNES */ 
     919 
     920.no-margin { 
     921     margin: 0; 
     922} 
    919923 
    920924/* paragraphe pour bouton Nouveau bidule */ 
     
    13051309     margin-left: 1em; 
    13061310} 
    1307 #delete-category .delete { 
     1311#delete-category .delete, #tag_delete .delete { 
    13081312     margin-left: 0; 
    13091313} 
     
    13341338     background: #2C8FD1 url(add.png) no-repeat 6px center; 
    13351339     color: #fff; 
    1336      padding: .2em 12px .2em 24px; 
     1340     padding: .2em 16px .2em 30px; 
    13371341     border: 1px solid #2373A8; 
    13381342} 
  • locales/fr/main.po

    r559 r561  
    238238 
    239239msgid "URL scan method:" 
    240 msgstr "Méthode de lecture de l'URL" 
     240msgstr "Méthode de lecture de l'URL :" 
    241241 
    242242msgid "Blog status:" 
    243 msgstr "État du blog" 
     243msgstr "État du blog :" 
    244244 
    245245msgid "Blog configuration" 
  • locales/fr/plugins.po

    r559 r561  
    11701170 
    11711171msgid "Edit tag" 
    1172 msgstr "Modifier un tag" 
     1172msgstr "Modifier le tag" 
    11731173 
    11741174msgid "Tag has been successfully renamed" 
  • plugins/tags/tag_posts.php

    r557 r561  
    110110 
    111111<h2><?php echo html::escapeHTML($core->blog->name); ?> &rsaquo; 
    112 <span class="page-title"><?php echo __('Edit tag'); ?></span></h2> 
     112<span class="page-title"><?php echo __('Edit tag').' &ldquo;'.html::escapeHTML($tag).'&rdquo;'; ?></span></h2> 
    113113 
    114114<?php 
     
    125125          echo 
    126126          '<form action="'.$this_url.'" method="post">'. 
    127           '<p><label for="new_tag_id" class="classic">'.__('Rename this tag:').' '. 
     127          '<div class="fieldset"><h3>'.__('Actions for this tag').'</h3>'. 
     128          '<p><label for="new_tag_id">'.__('Edit tag name: ').'</label>'. 
    128129          form::field('new_tag_id',20,255,html::escapeHTML($tag)). 
    129           '</label> <input type="submit" value="'.__('Rename').'" />'. 
    130           $core->formNonce().'</p>'. 
     130          '<input type="submit" value="'.__('Rename').'" />'. 
     131          $core->formNonce(). 
    131132          '</form>'; 
     133          # Remove tag 
     134          if (!$posts->isEmpty() && $core->auth->check('contentadmin',$core->blog->id)) { 
     135               echo 
     136               '<form id="tag_delete" action="'.$this_url.'" method="post">'. 
     137               '<p class="no-margin">'.__('Delete this tag:').'</p>'. 
     138               '<input type="submit" class="delete" name="delete" value="'.__('Delete').'" />'. 
     139               $core->formNonce(). 
     140               '</form>'; 
     141          } 
     142          echo '</p></div>'; 
    132143     } 
    133144      
    134145     # Show posts 
     146     echo '<h3>'.__('List of entries with this tag').'</h3>'; 
    135147     $post_list->display($page,$nb_per_page, 
    136148     '<form action="posts_actions.php" method="post" id="form-entries">'. 
     
    150162     '</div>'. 
    151163     '</form>'); 
    152       
    153      # Remove tag 
    154      if (!$posts->isEmpty() && $core->auth->check('contentadmin',$core->blog->id)) { 
    155           echo 
    156           '<form id="tag_delete" action="'.$this_url.'" method="post">'. 
    157           '<p><input type="submit" class="delete" name="delete" value="'.__('Delete this tag').'" />'. 
    158           $core->formNonce().'</p>'. 
    159           '</form>'; 
    160      } 
    161164} 
    162165?> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map