Revision 3731:3770620079d4,
798 bytes
checked in by franck <carnet.franck.paul@…>, 7 years ago
(diff) |
Simplify licence block at the beginning of each file
|
Line | |
---|
1 | <?php |
---|
2 | /** |
---|
3 | * @brief Berlin, a theme for Dotclear 2 |
---|
4 | * |
---|
5 | * @package Dotclear |
---|
6 | * @subpackage Themes |
---|
7 | * |
---|
8 | * @copyright Olivier Meunier & Association Dotclear |
---|
9 | * @copyright GPL-2.0-only |
---|
10 | */ |
---|
11 | |
---|
12 | namespace themes\berlin; |
---|
13 | |
---|
14 | if (!defined('DC_RC_PATH')) {return;} |
---|
15 | |
---|
16 | \l10n::set(dirname(__FILE__) . '/locales/' . $_lang . '/main'); |
---|
17 | //__('Show menu').__('Hide menu').__('Navigation'); |
---|
18 | |
---|
19 | $core->addBehavior('publicHeadContent', array(__NAMESPACE__ . '\behaviorBerlinTheme', 'publicHeadContent')); |
---|
20 | |
---|
21 | class behaviorBerlinTheme |
---|
22 | { |
---|
23 | public static function publicHeadContent() |
---|
24 | { |
---|
25 | echo \dcUtils::jsVars(array( |
---|
26 | 'dotclear_berlin_show_menu' => __('Show menu'), |
---|
27 | 'dotclear_berlin_hide_menu' => __('Hide menu'), |
---|
28 | 'dotclear_berlin_navigation' => __('Navigation') |
---|
29 | )); |
---|
30 | } |
---|
31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.