Dotclear

source: plugins/activityReport/_admin.php @ 1457

Revision 1457, 756 bytes checked in by JcDenis, 14 years ago (diff)

activityReport 0.2:

  • First lab release
Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3# This file is part of activityReport, a plugin for Dotclear 2.
4#
5# Copyright (c) 2009 JC Denis and contributors
6# jcdenis@gdwd.com
7#
8# Licensed under the GPL version 2.0 license.
9# A copy of this license is available in LICENSE file or at
10# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11# -- END LICENSE BLOCK ------------------------------------
12
13if (!defined('DC_CONTEXT_ADMIN')){return;}
14
15# Plugin menu
16$_menu['Plugins']->addItem(
17     __('Activity report'),
18     'plugin.php?p=activityReport','index.php?pf=activityReport/icon.png',
19     preg_match('/plugin.php\?p=activityReport(&.*)?$/',
20     $_SERVER['REQUEST_URI']),
21     $core->auth->check('admin',$core->blog->id)
22);
23?>
Note: See TracBrowser for help on using the repository browser.

Sites map