Changeset 252:90f78e257ebb for admin
- Timestamp:
- 05/12/11 19:42:11 (14 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/categories.php
r82 r252 130 130 '<option value="0">'.__('Top level').'</option>'; 131 131 while ($rs->fetch()) { 132 echo '<option value="'.$rs->cat_id.'">'.str_repeat(' ',$rs->level).'• '.html::escapeHTML($rs->cat_title).'</option>'; 132 echo '<option value="'.$rs->cat_id.'">'. 133 str_repeat(' ',$rs->level-1).($categories->level-1 == 0 ? '' : '• '). 134 html::escapeHTML($rs->cat_title).'</option>'; 133 135 } 134 136 echo -
admin/category.php
r38 r252 58 58 if (!isset($p[$rs->cat_id])) { 59 59 $allowed_parents[] = new formSelectOption( 60 str_repeat(' ',$rs->level-1). '• '.html::escapeHTML($rs->cat_title),60 str_repeat(' ',$rs->level-1).($rs->level-1 == 0 ? '' : '• ').html::escapeHTML($rs->cat_title), 61 61 $rs->cat_id 62 62 ); -
admin/index.php
r217 r252 292 292 while ($categories->fetch()) { 293 293 $categories_combo[] = new formSelectOption( 294 str_repeat(' ',$categories->level-1).'• '.html::escapeHTML($categories->cat_title), 294 str_repeat(' ',$categories->level-1). 295 ($categories->level-1 == 0 ? '' : '• ').html::escapeHTML($categories->cat_title), 295 296 $categories->cat_id 296 297 ); -
admin/posts.php
r158 r252 63 63 $categories_combo[__('None')] = 'NULL'; 64 64 while ($categories->fetch()) { 65 $categories_combo[str_repeat(' ',$categories->level-1). '• '.65 $categories_combo[str_repeat(' ',$categories->level-1).($categories->level-1 == 0 ? '' : '• '). 66 66 html::escapeHTML($categories->cat_title). 67 67 ' ('.$categories->nb_post.')'] = $categories->cat_id; -
admin/posts_actions.php
r217 r252 216 216 while ($categories->fetch()) { 217 217 $categories_combo[] = new formSelectOption( 218 str_repeat(' ',$categories->level-1).'• '.html::escapeHTML($categories->cat_title), 218 str_repeat(' ',$categories->level-1). 219 ($categories->level-1 == 0 ? '' : '• ').html::escapeHTML($categories->cat_title), 219 220 $categories->cat_id 220 221 );
Note: See TracChangeset
for help on using the changeset viewer.