Cheetah
modules
cheetah
forum
integrations
base
xml.php
Go to the documentation of this file.
1
<?
php
2
14
global
$site
;
15
global
$tmpl
;
16
global
$glHeader
;
17
global
$glFooter
;
18
global
$gConf
;
19
20
if
(isset(
$gConf
[
'title'
]) &&
$gConf
[
'title'
])
21
$glHeader
= preg_replace(
'#<title>(.*)</title>#'
,
"<title>"
. str_replace(array(
'<![CDATA['
,
']]>'
),
''
,
$gConf
[
'title'
]) .
"</title>"
,
$glHeader
);
22
23
$integration_xml
.=
'<url_cheetah>'
.
$site
[
'url'
] .
'</url_cheetah>'
;
24
$integration_xml
.=
'<skin_cheetah>'
.
$tmpl
.
'</skin_cheetah>'
;
25
$integration_xml
.=
'<header><![CDATA['
. str_replace(array(
'<![CDATA['
,
']]>'
),
''
,
$glHeader
) .
']]></header>'
;
26
$integration_xml
.=
'<footer><![CDATA['
. str_replace(array(
'<![CDATA['
,
']]>'
),
''
,
$glFooter
) .
']]></footer>'
;
$gConf
global $gConf
Definition:
xml.php:18
$glHeader
global $glHeader
Definition:
xml.php:16
php
$site
global $site
Definition:
xml.php:14
$glFooter
global $glFooter
Definition:
xml.php:17
global
if(!defined("GLOBAL_MODULE")) define("GLOBAL_MODULE" global
Definition:
header.inc.php:25
$tmpl
global $tmpl
Definition:
xml.php:15
$integration_xml
$integration_xml
Definition:
xml.php:23
Generated by
1.8.20