Changeset 2439:02dd6096fa6a for plugins/tags
- Timestamp:
- 10/18/13 16:51:03 (12 years ago)
- Branch:
- 2.6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/tags/tag_posts.php
r2322 r2439 12 12 if (!defined('DC_CONTEXT_ADMIN')) { return; } 13 13 14 $tag = (!empty($_REQUEST['tag']) || $_REQUEST['tag'] == '0') ? $_REQUEST['tag'] : '';14 $tag = isset($_REQUEST['tag']) ? $_REQUEST['tag'] : ''; 15 15 16 16 $this_url = $p_url.'&m=tag_posts&tag='.rawurlencode($tag); … … 21 21 22 22 # Rename a tag 23 if ( !empty($_POST['new_tag_id']) || $_POST['new_tag_id'] == '0')23 if (isset($_POST['new_tag_id'])) 24 24 { 25 25 $new_id = dcMeta::sanitizeMetaID($_POST['new_tag_id']); … … 124 124 echo '</div>'; 125 125 } 126 126 127 127 # Show posts 128 128 echo '<h4 class="vertical-separator pretty-title">'.sprintf(__('List of entries with the tag “%s”'),html::escapeHTML($tag)).'</h4>'; 129 129 $post_list->display($page,$nb_per_page, 130 130 '<form action="plugin.php" method="post" id="form-entries">'. 131 131 132 132 '%s'. 133 133 134 134 '<div class="two-cols">'. 135 135 '<p class="col checkboxes-helpers"></p>'. 136 136 137 137 '<p class="col right"><label for="action" class="classic">'.__('Selected entries action:').'</label> '. 138 138 form::combo('action',$posts_actions_page->getCombo()).
Note: See TracChangeset
for help on using the changeset viewer.