Changeset 3024 for plugins/tinyMce
- Timestamp:
- 04/17/11 15:58:45 (13 years ago)
- Location:
- plugins/tinyMce
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/tinyMce/_define.php
r2705 r3024 26 26 /* Description */ 'TinyMCE editor', 27 27 /* Author */ 'Moe (http://gniark.net/)', 28 /* Version */ '0.2. 3',28 /* Version */ '0.2.6', 29 29 /* Permissions */ 'usage,contentadmin' 30 30 ); -
plugins/tinyMce/admin/page.php
r2705 r3024 1 1 <?php 2 # -- BEGIN LICENSE BLOCK ---------------------------------- 2 # -- BEGIN LICENSE BLOCK --------------------------------------- 3 3 # 4 4 # This file is part of Dotclear 2. 5 5 # 6 # Copyright (c) 2003-20 09 Olivier Meunier and contributors6 # Copyright (c) 2003-2010 Olivier Meunier & Association Dotclear 7 7 # Licensed under the GPL version 2.0 license. 8 8 # See LICENSE file or 9 9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 10 10 # 11 # -- END LICENSE BLOCK ------------------------------------ 11 # -- END LICENSE BLOCK ----------------------------------------- 12 12 13 if (!defined('DC_CONTEXT_ADMIN')) { return; } 13 14 dcPage::check('pages,contentadmin'); … … 38 39 39 40 $can_view_page = true; 40 $can_edit_page = $core->auth->check('page ,usage',$core->blog->id);41 $can_publish = $core->auth->check('page ,publish,contentadmin',$core->blog->id);41 $can_edit_page = $core->auth->check('pages,usage',$core->blog->id); 42 $can_publish = $core->auth->check('pages,publish,contentadmin',$core->blog->id); 42 43 $can_delete = false; 43 44 … … 176 177 177 178 # Magic tweak :) 178 $core->blog->settings->setNameSpace('pages'); 179 180 $core->blog->settings->post_url_format = $page_url_format; 181 $core->blog->settings->setNameSpace('system'); 179 $core->blog->settings->system->post_url_format = $page_url_format; 182 180 183 181 $cur->post_type = 'page';
Note: See TracChangeset
for help on using the changeset viewer.