Dotclear

source: plugins/dcLog/_admin.php @ 2229

Revision 2229, 642 bytes checked in by Tomtom33, 13 years ago (diff)

Added first version of dcLog plugin

  • Property svn:executable set to *
Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3# This file is part of dcLog, a plugin for Dotclear.
4#
5# Copyright (c) 2010 Tomtom
6# http://blog.zenstyle.fr/
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 ------------------------------------
12if (!defined('DC_CONTEXT_ADMIN')) { return; }
13
14$_menu['System']->addItem(__('Log'),'plugin.php?p=dcLog','index.php?pf=dcLog/icon.png',
15          preg_match('/plugin.php\?p=dcLog(&.*)?$/',$_SERVER['REQUEST_URI']),
16          $core->auth->isSuperAdmin());
17
18?>
Note: See TracBrowser for help on using the repository browser.

Sites map