Changeset 2464:c70429e9bfa8
- Timestamp:
- 10/19/13 21:29:30 (12 years ago)
- Branch:
- 2.6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/categories.php
r2342 r2464 46 46 $cat_id = (int) $keys[0]; 47 47 $mov_cat = (int) $_POST['mov_cat'][$cat_id]; 48 48 49 49 $mov_cat = $mov_cat ? $mov_cat : null; 50 50 if ($mov_cat !== null) { … … 103 103 104 104 $starting_script = ""; 105 106 $core->auth->user_prefs->addWorkspace('accessibility'); 105 107 if (!$core->auth->user_prefs->accessibility->nodragdrop 106 108 && $core->auth->check('categories',$core->blog->id) … … 161 163 } 162 164 163 echo 165 echo 164 166 '<p class="cat-title"><label class="classic" for="cat_'.$rs->cat_id.'"><a href="category.php?id='.$rs->cat_id.'">'.html::escapeHTML($rs->cat_title).'</a></label> </p>'. 165 167 '<p class="cat-nb-posts">(<a href="posts.php?cat_id='.$rs->cat_id.'">'. … … 173 175 // remove current category 174 176 echo 175 '<label>'.__('Move entries to').'</label> '. 177 '<label>'.__('Move entries to').'</label> '. 176 178 form::combo(array('mov_cat['.$rs->cat_id.']', 'mov_cat_'.$rs->cat_id),array_filter($categories_combo, create_function('$cat', 'return $cat->value!=$GLOBALS[\'rs\']->cat_id;')),'',''). 177 179 ' <input type="submit" class="reset" name="mov['.$rs->cat_id.']" value="'.__('OK').'"/>'; 178 180 179 181 $attr_disabled = ' disabled="disabled"'; 180 182 $input_class = 'disabled '; … … 183 185 $input_class = ''; 184 186 } 185 echo 187 echo 186 188 ' <input type="submit"'.$attr_disabled.' class="'.$input_class.'delete" name="delete['.$rs->cat_id.']" value="'.__('Delete category').'"/>'. 187 189 '</p>';
Note: See TracChangeset
for help on using the changeset viewer.