Dotclear


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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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