Changeset 1571:b0ddb761f440 for admin/category.php
- Timestamp:
- 08/25/13 09:45:43 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/category.php
r1553 r1571 191 191 '<p><label for="new_cat_parent">'.__('Parent:').' '. 192 192 '<select id="new_cat_parent" name="new_cat_parent" >'. 193 '<option value="0">'.__(' Top level').'</option>';193 '<option value="0">'.__('(none)').'</option>'; 194 194 while ($rs->fetch()) { 195 195 echo '<option value="'.$rs->cat_id.'" '.(!empty($_POST['new_cat_parent']) && $_POST['new_cat_parent'] == $rs->cat_id ? 'selected="selected"' : '').'>'. 196 str_repeat(' ',$rs->level ).html::escapeHTML($rs->cat_title).'</option>';196 str_repeat(' ',$rs->level-1).($rs->level-1 == 0 ? '' : '• ').html::escapeHTML($rs->cat_title).'</option>'; 197 197 } 198 198 echo
Note: See TracChangeset
for help on using the changeset viewer.