Dotclear

source: plugins/writers/_admin.php @ 3302

Revision 3302, 616 bytes checked in by brol, 9 years ago (diff)

v1.2 modifs licence + encodage fichier + fin fichiers php, requiert dc2.6

Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3#
4# This file is part of Writers, a plugin for Dotclear.
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 ------------------------------------
12if (!defined('DC_CONTEXT_ADMIN')) { return; }
13
14$_menu['Blog']->addItem(__('Writers'),'plugin.php?p=writers','images/menu/users.png',
15          preg_match('/plugin.php\?p=writers/',$_SERVER['REQUEST_URI']),
16          $core->auth->check('admin',$core->blog->id));
Note: See TracBrowser for help on using the repository browser.

Sites map