mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Get rid of the BEGIN/END tags in html output (head.tpl)
This commit is contained in:
parent
f66894895a
commit
545d949dfe
@ -19,7 +19,8 @@
|
||||
|
||||
$tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
|
||||
$tpl->set_unknowns('remove');
|
||||
$tpl->set_file(array('head' => 'head.tpl'));
|
||||
$tpl->set_file(array('_head' => 'head.tpl'));
|
||||
$tpl->set_block('_head','head');
|
||||
|
||||
$app = $GLOBALS['phpgw_info']['flags']['currentapp'];
|
||||
$app = $app ? ' ['.(isset($GLOBALS['phpgw_info']['apps'][$app]) ? $GLOBALS['phpgw_info']['apps'][$app]['title'] : lang($app)).']':'';
|
||||
|
@ -14,4 +14,4 @@
|
||||
{java_script}
|
||||
</HEAD>
|
||||
<BODY {body_tags}>
|
||||
<!-- END Head -->
|
||||
<!-- END head -->
|
||||
|
@ -64,7 +64,8 @@
|
||||
|
||||
$tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
|
||||
$tpl->set_unknowns('remove');
|
||||
$tpl->set_file(array('head' => 'head.tpl'));
|
||||
$tpl->set_file(array('_head' => 'head.tpl'));
|
||||
$tpl->set_block('_head','head');
|
||||
|
||||
$app = $GLOBALS['phpgw_info']['flags']['currentapp'];
|
||||
$app = $app ? ' ['.(isset($GLOBALS['phpgw_info']['apps'][$app]) ? $GLOBALS['phpgw_info']['apps'][$app]['title'] : lang($app)).']':'';
|
||||
|
@ -22,4 +22,4 @@
|
||||
</head>
|
||||
<!-- we don't need body tags anymore, do we?) we do!!! onload!! LK -->
|
||||
<body {body_tags}>
|
||||
<!-- END Head -->
|
||||
<!-- END head -->
|
||||
|
@ -32,5 +32,5 @@ function MM_preloadImages()
|
||||
{java_script}
|
||||
<TITLE>{website_title}</TITLE>
|
||||
</HEAD>
|
||||
<!-- idsociety body tags continue into navbar.tpl, so the closing bracket here is there END Head -->
|
||||
<!-- idsociety body tags continue into navbar.tpl, so the closing bracket here is there END head -->
|
||||
<BODY {body_tags}
|
||||
|
@ -31,7 +31,8 @@
|
||||
|
||||
$tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
|
||||
$tpl->set_unknowns('remove');
|
||||
$tpl->set_file(array('head' => 'head.tpl'));
|
||||
$tpl->set_file(array('_head' => 'head.tpl'));
|
||||
$tpl->set_block('_head','head');
|
||||
$var = Array (
|
||||
'img_icon' => PHPGW_IMAGES_DIR . '/favicon.ico',
|
||||
'img_shortcut' => PHPGW_IMAGES_DIR . '/favicon.ico',
|
||||
|
@ -28,3 +28,4 @@ function pageInit()
|
||||
<TITLE>{website_title} - {app_name}</TITLE>
|
||||
</HEAD>
|
||||
<BODY onLoad="pageInit()">
|
||||
<!-- END head -->
|
||||
|
@ -20,7 +20,8 @@
|
||||
|
||||
$tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
|
||||
$tpl->set_unknowns('remove');
|
||||
$tpl->set_file(array('head' => 'head.tpl'));
|
||||
$tpl->set_file(array('_head' => 'head.tpl'));
|
||||
$tpl->set_block('_head','head');
|
||||
$var = Array (
|
||||
'img_icon' => PHPGW_IMAGES_DIR . '/favicon.ico',
|
||||
'img_shortcut' => PHPGW_IMAGES_DIR . '/favicon.ico',
|
||||
|
@ -15,4 +15,4 @@
|
||||
<TITLE>{website_title}</TITLE>
|
||||
</HEAD>
|
||||
<BODY {body_tags}>
|
||||
<!-- END Head -->
|
||||
<!-- END head -->
|
||||
|
Loading…
Reference in New Issue
Block a user