Changeset 3874:ab8368569446 for admin/categories.php
- Timestamp:
- 09/14/18 12:16:17 (7 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/categories.php
r3731 r3874 110 110 dcPage::open(__('Categories'), $starting_script, 111 111 dcPage::breadcrumb( 112 array(112 [ 113 113 html::escapeHTML($core->blog->name) => '', 114 114 __('Categories') => '' 115 ))115 ]) 116 116 ); 117 117 … … 156 156 echo 157 157 '<p class="cat-title"><label class="classic" for="cat_' . $rs->cat_id . '"><a href="' . 158 $core->adminurl->get("admin.category", array('id' => $rs->cat_id)) . '">' . html::escapeHTML($rs->cat_title) .158 $core->adminurl->get("admin.category", ['id' => $rs->cat_id]) . '">' . html::escapeHTML($rs->cat_title) . 159 159 '</a></label> </p>' . 160 '<p class="cat-nb-posts">(<a href="' . $core->adminurl->get("admin.posts", array('cat_id' => $rs->cat_id)) . '">' .160 '<p class="cat-nb-posts">(<a href="' . $core->adminurl->get("admin.posts", ['cat_id' => $rs->cat_id]) . '">' . 161 161 sprintf(($rs->nb_post > 1 ? __('%d entries') : __('%d entry')), $rs->nb_post) . '</a>' . 162 162 ', ' . __('total:') . ' ' . $rs->nb_total . ')</p>' . … … 169 169 echo 170 170 '<label for="mov_cat_' . $rs->cat_id . '">' . __('Move entries to') . '</label> ' . 171 form::combo( array('mov_cat[' . $rs->cat_id . ']', 'mov_cat_' . $rs->cat_id), array_filter($categories_combo,171 form::combo(['mov_cat[' . $rs->cat_id . ']', 'mov_cat_' . $rs->cat_id], array_filter($categories_combo, 172 172 function ($cat) {return $cat->value != $GLOBALS['rs']->cat_id;} 173 173 ), '', '') .
Note: See TracChangeset
for help on using the changeset viewer.