Changeset 561:98f837d6c506 for plugins/tags
- Timestamp:
- 07/10/11 21:02:11 (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/tags/tag_posts.php
r557 r561 110 110 111 111 <h2><?php echo html::escapeHTML($core->blog->name); ?> › 112 <span class="page-title"><?php echo __('Edit tag') ; ?></span></h2>112 <span class="page-title"><?php echo __('Edit tag').' “'.html::escapeHTML($tag).'”'; ?></span></h2> 113 113 114 114 <?php … … 125 125 echo 126 126 '<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>'. 128 129 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(). 131 132 '</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>'; 132 143 } 133 144 134 145 # Show posts 146 echo '<h3>'.__('List of entries with this tag').'</h3>'; 135 147 $post_list->display($page,$nb_per_page, 136 148 '<form action="posts_actions.php" method="post" id="form-entries">'. … … 150 162 '</div>'. 151 163 '</form>'); 152 153 # Remove tag154 if (!$posts->isEmpty() && $core->auth->check('contentadmin',$core->blog->id)) {155 echo156 '<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 }161 164 } 162 165 ?>
Note: See TracChangeset
for help on using the changeset viewer.