Changeset 851:0993f64c4809 for inc/admin
- Timestamp:
- 07/31/12 13:52:11 (13 years ago)
- Branch:
- sexy
- Location:
- inc/admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.dc.page.php
r848 r851 414 414 self::jsVar('dotclear.msg.confirm_delete_user', 415 415 __('Are you sure you want to delete selected users (%s)?')). 416 self::jsVar('dotclear.msg.confirm_delete_category',417 __('Are you sure you want to delete category "%s"?')).418 self::jsVar('dotclear.msg.confirm_reorder_categories',419 __('Are you sure you want to reorder all categories?')).420 416 self::jsVar('dotclear.msg.confirm_delete_media', 421 417 __('Are you sure you want to remove media "%s"?')). -
inc/admin/lib.pager.php
r848 r851 47 47 '<th colspan="2">'.__('Title').'</th>'. 48 48 '<th>'.__('Date').'</th>'. 49 '<th>'.__('Category').'</th>'.50 49 '<th>'.__('Author').'</th>'. 51 50 '<th>'.__('Status').'</th>'. … … 75 74 private function postLine() 76 75 { 77 if ($this->core->auth->check('categories',$this->core->blog->id)) {78 $cat_link = '<a href="category.php?id=%s">%s</a>';79 } else {80 $cat_link = '%2$s';81 }82 83 if ($this->rs->cat_title) {84 $cat_title = sprintf($cat_link,$this->rs->cat_id,85 html::escapeHTML($this->rs->cat_title));86 } else {87 $cat_title = __('None');88 }89 90 76 $img = '<img alt="%1$s" title="%1$s" src="images/%2$s" />'; 91 77 switch ($this->rs->post_status) { … … 130 116 html::escapeHTML($this->rs->post_title).'</a></td>'. 131 117 '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->post_dt).'</td>'. 132 '<td class="nowrap">'.$cat_title.'</td>'.133 118 '<td class="nowrap">'.$this->rs->user_id.'</td>'. 134 119 '<td class="nowrap status">'.$img_status.' '.$selected.' '.$protected.' '.$attach.'</td>'. -
inc/admin/prepend.php
r848 r851 238 238 'images/menu/search.png','images/menu/search-b.png', 239 239 'usage,contentadmin',null,null)); 240 $_fav['categories'] = new ArrayObject(array('categories','Categories','categories.php',241 'images/menu/categories.png','images/menu/categories-b.png',242 'categories',null,null));243 240 $_fav['media'] = new ArrayObject(array('media','Media manager','media.php', 244 241 'images/menu/media.png','images/menu/media-b.png', … … 302 299 preg_match('/media(_item)?.php(\?.*)?$/',$_SERVER['REQUEST_URI']), 303 300 $core->auth->check('media,media_admin',$core->blog->id)); 304 $_menu['Blog']->prependItem(__('Categories'),'categories.php','images/menu/categories.png',305 preg_match('/categories.php(\?.*)?$/',$_SERVER['REQUEST_URI']),306 $core->auth->check('categories',$core->blog->id));307 301 $_menu['Blog']->prependItem(__('Search'),'search.php','images/menu/search.png', 308 302 preg_match('/search.php(\?.*)?$/',$_SERVER['REQUEST_URI']),
Note: See TracChangeset
for help on using the changeset viewer.