Dotclear

source: themes/berlin/_public.php @ 3730:5c45a5df9a59

Revision 3730:5c45a5df9a59, 966 bytes checked in by franck <carnet.franck.paul@…>, 7 years ago (diff)

Code formatting (PSR-2)

Line 
1<?php
2namespace themes\berlin;
3
4# -- BEGIN LICENSE BLOCK ---------------------------------------
5# This file is part of Berlin, a theme for Dotclear
6#
7# Copyright (c) Association Dotclear
8# Licensed under the GPL version 2.0 license.
9# See LICENSE file or
10# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11#
12# -- END LICENSE BLOCK -----------------------------------------
13if (!defined('DC_RC_PATH')) {return;}
14
15\l10n::set(dirname(__FILE__) . '/locales/' . $_lang . '/main');
16//__('Show menu').__('Hide menu').__('Navigation');
17
18$core->addBehavior('publicHeadContent', array(__NAMESPACE__ . '\behaviorBerlinTheme', 'publicHeadContent'));
19
20class behaviorBerlinTheme
21{
22    public static function publicHeadContent()
23    {
24        echo \dcUtils::jsVars(array(
25            'dotclear_berlin_show_menu'  => __('Show menu'),
26            'dotclear_berlin_hide_menu'  => __('Hide menu'),
27            'dotclear_berlin_navigation' => __('Navigation')
28        ));
29    }
30}
Note: See TracBrowser for help on using the repository browser.

Sites map