Changeset 401 for plugins/blocNotes
- Timestamp:
- 04/07/08 14:39:28 (15 years ago)
- Location:
- plugins/blocNotes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/blocNotes/_admin.php
r378 r401 25 25 26 26 # dashboard 27 if (isset($__dashboard_icons) && $core->auth->check('blocNotes',$core->blog->id)) { 28 $__dashboard_icons[] = array(__('Notebook'),'plugin.php?p=blocNotes','index.php?pf=blocNotes/icon.png'); 27 if ($core->auth->check('usage,contentadmin',$core->blog->id)) 28 { 29 # 2.0-beta7 30 if (isset($__dashboard_icons)) { 31 $__dashboard_icons[] = array(__('Notebook'),'plugin.php?p=blocNotes','index.php?pf=blocNotes/icon.png'); 32 } 33 # 2.0-be 34 $core->addBehavior('adminDashboardIcons',array('blocNotes','adminDashboardIcons')); 29 35 } 30 $core->addBehavior('adminDashboardIcons',array('blocNotes','adminDashboardIcons'));31 36 32 37 # post … … 40 45 'index.php?pf=blocNotes/icon.png', 41 46 preg_match('/plugin.php\?p=blocNotes(&.*)?$/',$_SERVER['REQUEST_URI']), 42 $core->auth->check(' admin',$core->blog->id));47 $core->auth->check('usage,contentadmin',$core->blog->id)); 43 48 ?> -
plugins/blocNotes/_define.php
r377 r401 26 26 /* Description*/ "Display notebooks on the backend", 27 27 /* Author */ "Moe (http://gniark.net/)", 28 /* Version */ '1.0 -beta3',28 /* Version */ '1.0', 29 29 /* Permissions */ 'usage,contentadmin' 30 30 ); -
plugins/blocNotes/lib.blocNotes.php
r378 r401 38 38 __('Personal notebook (other users can't edit it) :'). 39 39 '</label>'. 40 form::textarea('blocNotes_personal_text',80, 10,40 form::textarea('blocNotes_personal_text',80,5, 41 41 html::escapeHTML($core->blog->settings->{'blocNotes_text_'.$core->auth->userID()})). 42 42 '</p>'. 43 43 '<p class="area" id="blocNotes">'. 44 44 '<label for="blocNotes_text">'. 45 __('Blog-specific notebook ( all theusers of the blog can edit it) :').45 __('Blog-specific notebook (users of the blog can edit it) :'). 46 46 '</label>'. 47 form::textarea('blocNotes_text',80, 10,47 form::textarea('blocNotes_text',80,5, 48 48 html::escapeHTML($core->blog->settings->blocNotes_text)). 49 49 '</p>'. -
plugins/blocNotes/locales/fr/main.lang.php
r378 r401 3 3 // This file is generated by LangOmatic, a plugin for Dotclear 4 4 5 # _admin.php: 286 # _admin.php: 385 # _admin.php:31 6 # _admin.php:43 7 7 # index.php:47 8 8 # index.php:55 … … 23 23 24 24 # lib.blocNotes.php:45 25 $GLOBALS['__l10n']['Blog-specific notebook ( all the users of the blog can edit it) :']='Bloc-notes spécifique à ce blog (tousles utilisateurs du blog peuvent le modifier) :';25 $GLOBALS['__l10n']['Blog-specific notebook (users of the blog can edit it) :']='Bloc-notes spécifique à ce blog (les utilisateurs du blog peuvent le modifier) :'; 26 26 27 27 # lib.blocNotes.php:51 28 $GLOBALS['__l10n']['These notes may be read by anyone, don't write some sensitive information (password, personal information, etc.)']='Ces notes pourraient têtre lues par n\'importe qui, n\'écrivez pas d\'information sensible (mot de passe, information personnelle, etc.)';28 $GLOBALS['__l10n']['These notes may be read by anyone, don't write some sensitive information (password, personal information, etc.)']='Ces notes pourraient être lues par n\'importe qui, n\'écrivez pas d\'information sensible (mot de passe, information personnelle, etc.)'; 29 29 30 30 ?>
Note: See TracChangeset
for help on using the changeset viewer.