Dotclear

Changeset 225


Ignore:
Timestamp:
08/01/08 18:25:50 (15 years ago)
Author:
olivier
Message:

Writers plugin refresh

Location:
plugins/writers
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • plugins/writers/_admin.php

    r62 r225  
    11<?php 
    2 # ***** BEGIN LICENSE BLOCK ***** 
    3 # This file is part of DotClear. 
    4 # Copyright (c) 2006 Olivier Meunier and contributors. All rights 
    5 # reserved. 
     2# -- BEGIN LICENSE BLOCK ---------------------------------- 
    63# 
    7 # DotClear is free software; you can redistribute it and/or modify 
    8 # it under the terms of the GNU General Public License as published by 
    9 # the Free Software Foundation; either version 2 of the License, or 
    10 # (at your option) any later version. 
    11 #  
    12 # DotClear is distributed in the hope that it will be useful, 
    13 # but WITHOUT ANY WARRANTY; without even the implied warranty of 
    14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    15 # GNU General Public License for more details. 
    16 #  
    17 # You should have received a copy of the GNU General Public License 
    18 # along with DotClear; if not, write to the Free Software 
    19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     4# This file is part of Dotclear 2. 
    205# 
    21 # ***** END LICENSE BLOCK ***** 
    22  
    23 require dirname(__FILE__).'/config.php'; 
     6# Copyright (c) 2003-2008 Olivier Meunier and contributors 
     7# Licensed under the GPL version 2.0 license. 
     8# See LICENSE file or 
     9# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
     10# 
     11# -- END LICENSE BLOCK ------------------------------------ 
    2412 
    2513$_menu['System']->addItem(__('Writers'),'plugin.php?p=writers','images/menu/users.png', 
  • plugins/writers/_define.php

    r66 r225  
    11<?php 
    2 # ***** BEGIN LICENSE BLOCK ***** 
    3 # This file is part of DotClear. 
    4 # Copyright (c) 2006 Olivier Meunier and contributors. All rights 
    5 # reserved. 
     2# -- BEGIN LICENSE BLOCK ---------------------------------- 
    63# 
    7 # DotClear is free software; you can redistribute it and/or modify 
    8 # it under the terms of the GNU General Public License as published by 
    9 # the Free Software Foundation; either version 2 of the License, or 
    10 # (at your option) any later version. 
    11 #  
    12 # DotClear is distributed in the hope that it will be useful, 
    13 # but WITHOUT ANY WARRANTY; without even the implied warranty of 
    14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    15 # GNU General Public License for more details. 
    16 #  
    17 # You should have received a copy of the GNU General Public License 
    18 # along with DotClear; if not, write to the Free Software 
    19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     4# This file is part of Dotclear 2. 
    205# 
    21 # ***** END LICENSE BLOCK ***** 
     6# Copyright (c) 2003-2008 Olivier Meunier and contributors 
     7# Licensed under the GPL version 2.0 license. 
     8# See LICENSE file or 
     9# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
     10# 
     11# -- END LICENSE BLOCK ------------------------------------ 
    2212 
    2313$this->registerModule( 
     
    2515     /* Description*/         "Invite people to write on your blog", 
    2616     /* Author */             "Olivier Meunier", 
    27      /* Version */            '1', 
     17     /* Version */            '1.0', 
    2818     /* Permissions */        'admin' 
    2919); 
  • plugins/writers/_prepend.php

    r66 r225  
    11<?php 
     2# -- BEGIN LICENSE BLOCK ---------------------------------- 
     3# 
     4# This file is part of Dotclear 2. 
     5# 
     6# Copyright (c) 2003-2008 Olivier Meunier and contributors 
     7# Licensed under the GPL version 2.0 license. 
     8# See LICENSE file or 
     9# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
     10# 
     11# -- END LICENSE BLOCK ------------------------------------ 
     12 
     13 
     14# Following constants can be overrided in your install config.php: 
     15# 
     16# DC_WR_ALLOW_ADMIN (allow admin permission to be set) 
     17 
     18if (!defined('DC_WR_ALLOW_ADMIN')) { 
     19     define('DC_WR_ALLOW_ADMIN',false); 
     20} 
     21 
    222# Super admins don't need this extension 
    323if ($GLOBALS['core']->auth->isSuperAdmin()) { 
  • plugins/writers/index.php

    r194 r225  
    11<?php 
    2 # ***** BEGIN LICENSE BLOCK ***** 
    3 # This file is part of DotClear. 
    4 # Copyright (c) 2006 Olivier Meunier and contributors. All rights 
    5 # reserved. 
     2# -- BEGIN LICENSE BLOCK ---------------------------------- 
    63# 
    7 # DotClear is free software; you can redistribute it and/or modify 
    8 # it under the terms of the GNU General Public License as published by 
    9 # the Free Software Foundation; either version 2 of the License, or 
    10 # (at your option) any later version. 
    11 #  
    12 # DotClear is distributed in the hope that it will be useful, 
    13 # but WITHOUT ANY WARRANTY; without even the implied warranty of 
    14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    15 # GNU General Public License for more details. 
    16 #  
    17 # You should have received a copy of the GNU General Public License 
    18 # along with DotClear; if not, write to the Free Software 
    19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     4# This file is part of Dotclear 2. 
    205# 
    21 # ***** END LICENSE BLOCK ***** 
     6# Copyright (c) 2003-2008 Olivier Meunier and contributors 
     7# Licensed under the GPL version 2.0 license. 
     8# See LICENSE file or 
     9# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
     10# 
     11# -- END LICENSE BLOCK ------------------------------------ 
    2212 
    2313if (!defined('DC_CONTEXT_ADMIN')) { exit; } 
     
    122112     else 
    123113     { 
    124           if ($core->auth->isSuperAdmin()) { 
    125                $user_url_p = '<a href="user.php?id=%1$s">%1$s</a>'; 
    126           } else { 
    127                $user_url_p = '%1$s'; 
    128           } 
    129            
    130114          foreach ($blog_users as $k => $v) 
    131115          { 
  • plugins/writers/locales/fr/main.po

    r62 r225  
    1 # French translation of DotClear 
    2 # Copyright (C) 2006. 
    3 # Olivier Meunier <olivier@dotclear.net>, 2006. 
    4 # 
    51msgid "" 
    6 msgstr "Content-Type: text/plain; charset=UTF-8\n" 
     2msgstr "" 
     3"Project-Id-Version: Dotclear 2 writers module\n" 
     4"Report-Msgid-Bugs-To: \n" 
     5"POT-Creation-Date: 2008-08-01 18:15+0200\n" 
     6"PO-Revision-Date: 2008-08-01 18:15+0200\n" 
     7"Last-Translator: Olivier Meunier <olivier@dotclear.net>\n" 
     8"Language-Team: \n" 
     9"MIME-Version: 1.0\n" 
     10"Content-Type: text/plain; charset=UTF-8\n" 
     11"Content-Transfer-Encoding: 8bit\n" 
    712 
    8 #: plugins-test/writers/_admin.php:25 plugins-test/writers/index.php:107 
    9 #: plugins-test/writers/index.php:114 plugins-test/writers/index.php:170 
    1013msgid "Writers" 
    1114msgstr "Rédacteurs" 
    1215 
    13 #: plugins-test/writers/index.php:39 plugins-test/writers/index.php:87 
    1416msgid "Writer does not exists." 
    1517msgstr "Le rédacteur n'existe pas." 
    1618 
    17 #: plugins-test/writers/index.php:43 
    1819msgid "You cannot add or update this writer." 
    1920msgstr "Vous ne pouvez pas ajouter ou modifier ce rédacteur." 
    2021 
    21 #: plugins-test/writers/index.php:47 plugins-test/writers/index.php:91 
    2222msgid "You cannot change your own permissions." 
    2323msgstr "Vous ne pouvez pas changer vos propres permissions." 
    2424 
    25 #: plugins-test/writers/index.php:116 
    2625msgid "Active writers" 
    2726msgstr "Rédacteurs actifs" 
    2827 
    29 #: plugins-test/writers/index.php:120 
    3028msgid "No writers" 
    3129msgstr "Aucun rédacteur" 
    3230 
    33 #: plugins-test/writers/index.php:151 
    3431msgid "Invite a new writer" 
    3532msgstr "Inviter un nouveau rédacteur" 
    3633 
    37 #: plugins-test/writers/index.php:157 
    3834msgid "invite" 
    3935msgstr "inviter" 
    4036 
    41 #: plugins-test/writers/index.php:173 
    4237#, php-format 
    4338msgid "You are about to set permissions on the blog %s for user %s (%s)." 
Note: See TracChangeset for help on using the changeset viewer.

Sites map