[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 <?php 2 /**************************************************************************\ 3 * eGroupWare * 4 * http://www.egroupware.org * 5 * -------------------------------------------- * 6 * This program is free software; you can redistribute it and/or modify it * 7 * under the terms of the GNU General Public License as published by the * 8 * Free Software Foundation; either version 2 of the License, or (at your * 9 * option) any later version. * 10 \**************************************************************************/ 11 12 /* $Id: head.inc.php 16305 2004-08-09 12:32:46Z reinerj $ */ 13 14 $bodyheader = 'bgcolor="'.$GLOBALS['phpgw_info']['theme']['bg_color'].'" alink="'.$GLOBALS['phpgw_info']['theme']['alink'].'" link="'.$GLOBALS['phpgw_info']['theme']['link'].'" vlink="'.$GLOBALS['phpgw_info']['theme']['vlink'].'"'; 15 16 if ($GLOBALS['phpgw_info']['flags']['app_header']) 17 { 18 $app = $GLOBALS['phpgw_info']['flags']['app_header']; 19 } 20 else 21 { 22 $app = $GLOBALS['phpgw_info']['flags']['currentapp']; 23 $app = isset($GLOBALS['phpgw_info']['apps'][$app]) ? $GLOBALS['phpgw_info']['apps'][$app]['title'] : lang($app); 24 } 25 $tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR); 26 $tpl->set_unknowns('remove'); 27 $tpl->set_file(array('head' => 'head.tpl')); 28 $var = Array ( 29 'img_icon' => PHPGW_IMAGES_DIR . '/favicon.ico', 30 'img_shortcut' => PHPGW_IMAGES_DIR . '/favicon.ico', 31 'charset' => $GLOBALS['phpgw']->translation->charset(), 32 'font_family' => $GLOBALS['phpgw_info']['theme']['font'], 33 'website_title' => $GLOBALS['phpgw_info']['server']['site_title'] . ($app ? " [$app]" : ''), 34 'body_tags' => $bodyheader .' '. $GLOBALS['phpgw']->common->get_body_attribs(), 35 'css' => $GLOBALS['phpgw']->common->get_css(), 36 'java_script' => $GLOBALS['phpgw']->common->get_java_script(), 37 ); 38 $tpl->set_var($var); 39 $tpl->pfp('out','head'); 40 unset($tpl); 41 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |