Dotclear

source: plugins/carnaval/_admin.php @ 500

Revision 500, 1.3 KB checked in by Osku, 15 years ago (diff)

Carnaval version 1.1: * New admin * New help * New icons

Line 
1<?php /* -*- tab-width: 5; indent-tabs-mode: t; c-basic-offset: 5 -*- */
2/***************************************************************\
3 *  This is 'Carnaval', a plugin for Dotclear 2                *
4 *                                                             *
5 *  Copyright (c) 2007-2008                                    *
6 *  Osku and contributors.                                     *
7 *                                                             *
8 *  This is an open source software, distributed under the GNU *
9 *  General Public License (version 2) terms and  conditions.  *
10 *                                                             *
11 *  You should have received a copy of the GNU General Public  *
12 *  License along with 'Carnaval' (see COPYING.txt);           *
13 *  if not, write to the Free Software Foundation, Inc.,       *
14 *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA    *
15\***************************************************************/
16if (!defined('DC_CONTEXT_ADMIN')) { return; }
17
18$_menu['Plugins']->addItem(__('Carnaval'),
19        'plugin.php?p=carnaval','index.php?pf=carnaval/icon.png',
20        preg_match('/plugin.php\?p=carnaval(&.*)?$/',$_SERVER['REQUEST_URI']),
21        $core->auth->check('usage,contentadmin',$core->blog->id));
22?>
Note: See TracBrowser for help on using the repository browser.

Sites map