Changeset 1001:a6f660d85764 for admin
- Timestamp:
- 11/13/12 13:25:48 (13 years ago)
- Branch:
- twig
- File:
-
- 1 edited
-
admin/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
admin/post.php
r992 r1001 36 36 $categories = $core->blog->getCategories(array('post_type'=>'post')); 37 37 while ($categories->fetch()) { 38 $categories_combo[ $categories->cat_id] =39 str_repeat(' ',$categories->level-1). 40 ($categories->level-1 == 0 ? '' : '• ').41 html::escapeHTML($categories->cat_title);;38 $categories_combo[] = new formSelectOption( 39 str_repeat(' ',$categories->level-1).($categories->level-1 == 0 ? '' : '• ').html::escapeHTML($categories->cat_title), 40 $categories->cat_id 41 ); 42 42 } 43 43 } catch (Exception $e) { } … … 93 93 ->addField( 94 94 new dcFieldSubmit('save',__('Save'),array())) 95 ->addField( 96 new dcFieldSubmit('delete',__('Delete'),array())) 95 97 ->addField( 96 98 new dcFieldCombo('post_status',$core->auth->getInfo('user_post_status'),$status_combo,array(
Note: See TracChangeset
for help on using the changeset viewer.
