Dotclear

source: plugins/fakemeup/_admin.php @ 3387

Revision 3387, 681 bytes checked in by brol, 8 years ago (diff)

1.6 retrocompatibilité dc2.3 à dc2.7.6

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-2015 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));
Note: See TracBrowser for help on using the repository browser.

Sites map