Changeset 3209:f86399915c78
- Timestamp:
- 03/07/16 15:57:48 (9 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/categories.php
r2852 r3209 100 100 /* Display 101 101 -------------------------------------------------------- */ 102 $rs = $core->blog->getCategories( array('post_type'=>'post'));102 $rs = $core->blog->getCategories(); 103 103 104 104 $starting_script = ""; -
admin/category.php
r3024 r3209 46 46 47 47 # Allowed parents list 48 $children = $core->blog->getCategories(array(' post_type'=>'post','start'=>$cat_id));48 $children = $core->blog->getCategories(array('start'=>$cat_id)); 49 49 $allowed_parents = array(__('Top level')=>0); 50 50 … … 54 54 } 55 55 56 $rs = $core->blog->getCategories( array('post_type'=>'post'));56 $rs = $core->blog->getCategories(); 57 57 while ($rs->fetch()) { 58 58 if (!isset($p[$rs->cat_id])) { … … 195 195 if (!$cat_id) 196 196 { 197 $rs = $core->blog->getCategories( array('post_type'=>'post'));197 $rs = $core->blog->getCategories(); 198 198 echo 199 199 '<p><label for="new_cat_parent">'.__('Parent:').' '. -
admin/index.php
r3189 r3209 337 337 # Getting categories 338 338 $categories_combo = dcAdminCombos::getCategoriesCombo( 339 $core->blog->getCategories(array( 'post_type'=>'post'))339 $core->blog->getCategories(array()) 340 340 ); 341 341 -
admin/post.php
r3024 r3209 52 52 # Getting categories 53 53 $categories_combo = dcAdminCombos::getCategoriesCombo( 54 $core->blog->getCategories( array('post_type'=>'post'))54 $core->blog->getCategories() 55 55 ); 56 56 … … 335 335 # Getting categories 336 336 $categories_combo = dcAdminCombos::getCategoriesCombo( 337 $core->blog->getCategories( array('post_type'=>'post'))337 $core->blog->getCategories() 338 338 ); 339 339 /* DISPLAY -
admin/posts.php
r3182 r3209 17 17 # Getting categories 18 18 try { 19 $categories = $core->blog->getCategories( array('post_type'=>'post'));19 $categories = $core->blog->getCategories(); 20 20 } catch (Exception $e) { 21 21 $core->error->add($e->getMessage());
Note: See TracChangeset
for help on using the changeset viewer.