Dotclear

source: themes/ductile/_prepend.php @ 620:24d6434ea026

Revision 620:24d6434ea026, 756 bytes checked in by Franck <carnet.franck.paul@…>, 14 years ago (diff)

Moving Js in header

Line 
1<?php
2# -- BEGIN LICENSE BLOCK ---------------------------------------
3#
4# This file is part of Dotclear 2.
5#
6# Copyright (c) 2003-2011 Olivier Meunier & Association Dotclear
7# Licensed under the GPL version 2.0 license.
8# See LICENSE file or
9# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10#
11# -- END LICENSE BLOCK -----------------------------------------
12
13# Public and Admin modes :
14
15if (!defined('DC_RC_PATH')) { return; }
16
17# Admin mode only :
18
19# Behaviors
20$GLOBALS['core']->addBehavior('adminPageHTMLHead',array('tplDuctileThemeAdmin','adminPageHTMLHead'));
21
22class tplDuctileThemeAdmin
23{
24     public static function adminPageHTMLHead()
25     {
26          echo "\n".'<!-- Header directives for Ductile configuration -->'."\n";
27          echo dcPage::jsToolMan();
28     }
29}
30?>
Note: See TracBrowser for help on using the repository browser.

Sites map