Changeset 2495:dc8c7974ff0b for admin/categories.php
- Timestamp:
- 10/27/13 09:46:02 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/categories.php
r2256 r2495 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) { … … 107 107 && $rs->count()>1) { 108 108 $starting_script .= dcPage::jsLoad('js/jquery/jquery-ui.custom.js'); 109 $starting_script .= dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'); 109 110 $starting_script .= dcPage::jsLoad('js/jquery/jquery.mjs.nestedSortable.js'); 110 111 } … … 161 162 } 162 163 163 echo 164 echo 164 165 '<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 166 '<p class="cat-nb-posts">(<a href="posts.php?cat_id='.$rs->cat_id.'">'. … … 173 174 // remove current category 174 175 echo 175 '<label>'.__('Move entries to').'</label> '. 176 '<label>'.__('Move entries to').'</label> '. 176 177 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 178 ' <input type="submit" class="reset" name="mov['.$rs->cat_id.']" value="'.__('OK').'"/>'; 178 179 179 180 $attr_disabled = ' disabled="disabled"'; 180 181 $input_class = 'disabled '; … … 183 184 $input_class = ''; 184 185 } 185 echo 186 echo 186 187 '<input type="submit"'.$attr_disabled.' class="'.$input_class.'delete" name="delete['.$rs->cat_id.']" value="'.__('Delete category').'"/>'. 187 188 '</p>';
Note: See TracChangeset
for help on using the changeset viewer.