Changeset 2842:71f0884b37ad for admin
- Timestamp:
- 12/15/14 06:35:48 (11 years ago)
- Branch:
- 2.7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/index.php
r2720 r2842 168 168 $core->callBehavior('adminDashboardContents', $core, $__dashboard_contents); 169 169 170 # Editor stuff 171 $admin_post_behavior = ''; 172 if ($core->auth->user_prefs->dashboard->quickentry) { 173 if ($core->auth->check('usage,contentadmin',$core->blog->id)) 174 { 175 $post_format = $core->auth->getOption('post_format'); 176 $post_editor = $core->auth->getOption('editor'); 177 if ($post_editor && !empty($post_editor[$post_format])) { 178 $admin_post_behavior = $core->callBehavior('adminPostEditor', $post_editor[$post_format], 'post'); 179 } 180 } 181 } 182 170 183 /* DISPLAY 171 184 -------------------------------------------------------- */ 172 185 dcPage::open(__('Dashboard'), 173 186 dcPage::jsLoad('js/_index.js'). 174 $ core->callBehavior('adminPostEditor').187 $admin_post_behavior. 175 188 # --BEHAVIOR-- adminDashboardHeaders 176 189 $core->callBehavior('adminDashboardHeaders'),
Note: See TracChangeset
for help on using the changeset viewer.