Revision 3731:3770620079d4,
722 bytes
checked in by franck <carnet.franck.paul@…>, 8 years ago
(diff) |
Simplify licence block at the beginning of each file
|
Rev | Line | |
---|
[0] | 1 | <?php |
---|
[3731] | 2 | /** |
---|
| 3 | * @brief blowupConfig, 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;} |
---|
[0] | 13 | |
---|
[3730] | 14 | $core->addBehavior('adminCurrentThemeDetails', 'blowup_config_details'); |
---|
[0] | 15 | |
---|
| 16 | if (!isset($__resources['help']['blowupConfig'])) { |
---|
[3730] | 17 | $__resources['help']['blowupConfig'] = dirname(__FILE__) . '/help.html'; |
---|
[0] | 18 | } |
---|
| 19 | |
---|
[3730] | 20 | function blowup_config_details($core, $id) |
---|
[0] | 21 | { |
---|
[3730] | 22 | if ($id == 'default' && $core->auth->check('admin', $core->blog->id)) { |
---|
| 23 | return '<p><a href="' . $core->adminurl->get('admin.plugin.blowupConfig') . '" class="button submit">' . __('Configure theme') . '</a></p>'; |
---|
| 24 | } |
---|
[0] | 25 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.