Dotclear

source: plugins/dcAdvancedCleaner/_admin.php @ 2199

Revision 2199, 745 bytes checked in by JcDenis, 13 years ago (diff)

dcAdvancedCleaner 0.4:

  • Fixed list of tables (closes #440)
  • Fixed direct uninstaller
  • Added readable errors return
  • Added DC 2.2 compatibility (new settings)
  • Changed admin design
Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3# This file is part of dcAdvancedCleaner, a plugin for Dotclear 2.
4#
5# Copyright (c) 2009-2010 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$_menu['Plugins']->addItem(
16     __('Advanced cleaner'),
17     'plugin.php?p=dcAdvancedCleaner',
18     'index.php?pf=dcAdvancedCleaner/icon.png',
19     preg_match('/plugin.php\?p=dcAdvancedCleaner(&.*)?$/',$_SERVER['REQUEST_URI']),
20     $core->auth->isSuperAdmin()
21);
22?>
Note: See TracBrowser for help on using the repository browser.

Sites map