Dotclear

source: plugins/fakemeup/_admin.php @ 3177

Revision 3177, 680 bytes checked in by brol, 10 years ago (diff)

version 1.5 : suppression du style en dur dans index + modif de class=inline en classic pour les label (requis pour dc2.6) + fin de ligne unix

Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3#
4# This file is part of Dotclear 2 "Fake Me Up" plugin.
5#
6# Copyright (c) 2010 Bruno Hondelatte, and contributors.
7# Many, many thanks to Olivier Meunier and the Dotclear Team.
8# Licensed under the GPL version 2.0 license.
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['System']->addItem(__('Fake Me Up'),'plugin.php?p=fakemeup','images/check-on.png',
15          preg_match('/plugin.php\?p=fakemeup(&.*)?$/',$_SERVER['REQUEST_URI']),
16          $core->auth->isSuperAdmin() && is_writable(DC_DIGESTS));
17?>
Note: See TracBrowser for help on using the repository browser.

Sites map