Revision 3731:3770620079d4,
524 bytes
checked in by franck <carnet.franck.paul@…>, 8 years ago
(diff) |
Simplify licence block at the beginning of each file
|
Rev | Line | |
---|
[3] | 1 | <?php |
---|
[3731] | 2 | /** |
---|
| 3 | * @brief userPref, a plugin for Dotclear 2 |
---|
| 4 | * |
---|
| 5 | * @package Dotclear |
---|
| 6 | * @subpackage Plugins |
---|
| 7 | * |
---|
| 8 | * @copyright Olivier Meunier & Association Dotclear |
---|
| 9 | * @copyright GPL-2.0-only |
---|
| 10 | */ |
---|
| 11 | |
---|
[3730] | 12 | if (!defined('DC_CONTEXT_ADMIN')) {return;} |
---|
[3] | 13 | |
---|
[2815] | 14 | $_menu['System']->addItem('user:preferences', |
---|
[3730] | 15 | $core->adminurl->get('admin.plugin.userPref'), |
---|
| 16 | dcPage::getPF('userPref/icon.png'), |
---|
| 17 | preg_match('/' . preg_quote($core->adminurl->get('admin.plugin.userPref')) . '(&.*)?$/', $_SERVER['REQUEST_URI']), |
---|
| 18 | $core->auth->isSuperAdmin()); |
---|
Note: See
TracBrowser
for help on using the repository browser.