Dotclear

source: plugins/colorbox/_admin.php @ 2470

Revision 2470, 664 bytes checked in by philippe, 13 years ago (diff)

ColorBox? : updated licence blocks

Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3#
4# This file is part of ColorBox, a plugin for Dotclear 2.
5#
6# Copyright (c) 2010 Philippe aka amalgame and Tomtom
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
13if (!defined('DC_CONTEXT_ADMIN')) { return; }
14
15$_menu['Plugins']->addItem(
16
17     __('ColorBox'),
18     'plugin.php?p=colorbox','index.php?pf=colorbox/icon.png',
19     preg_match('/plugin.php\?p=colorbox(&.*)?$/',$_SERVER['REQUEST_URI']),
20     $core->auth->check('admin',$core->blog->id));
21
22?>
Note: See TracBrowser for help on using the repository browser.

Sites map