Revision 863,
662 bytes
checked in by Osku, 15 years ago
(diff) |
Private Mode : almost 0.7 :
- New way for managing sessions
- New options for widget
i-Cette ligne, et les suivantes ci-dessous, seront ignorées--
M _define.php
D LICENSE
M _prepend.php
M _public.php
M _widgets.php
M _admin.php
M index.php
|
Line | |
---|
1 | <?php |
---|
2 | # -- BEGIN LICENSE BLOCK ---------------------------------- |
---|
3 | # This file is part of Private mode, a plugin for Dotclear. |
---|
4 | # |
---|
5 | # Copyright (c) 2008, 2009 Osku |
---|
6 | # |
---|
7 | # Licensed under the GPL version 2.0 license. |
---|
8 | # A copy of this license is available in LICENSE file or at |
---|
9 | # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
---|
10 | # -- END LICENSE BLOCK ------------------------------------ |
---|
11 | |
---|
12 | if (!defined('DC_CONTEXT_ADMIN')) { return; } |
---|
13 | |
---|
14 | $_menu['Plugins']->addItem(__('Private mode'), |
---|
15 | 'plugin.php?p=private','index.php?pf=private/icon.png', |
---|
16 | preg_match('/plugin.php\?p=private(&.*)?$/',$_SERVER['REQUEST_URI']), |
---|
17 | $core->auth->check('admin',$core->blog->id)); |
---|
18 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.