XOOPS
2.6.0
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
compiler.xoAppUrl.php
Go to the documentation of this file.
1
<?php
30
function
smarty_compiler_xoAppUrl
($params,
Smarty
$smarty)
31
{
32
$xoops
=
Xoops::getInstance
();
33
$arg = reset($params);
34
$url
= trim($arg,
" '\"\t\n\r\0\x0B"
);
35
36
if
(substr(
$url
, 0, 1) ==
'/'
) {
37
$url
=
'www'
.
$url
;
38
}
39
return
"<?php echo '"
. addslashes(htmlspecialchars(
$xoops
->url(
$url
))) .
"'; ?>"
;
40
}
Xoops\getInstance
static getInstance()
Definition:
Xoops.php:160
Smarty
smarty_compiler_xoAppUrl
smarty_compiler_xoAppUrl($params, Smarty $smarty)
Definition:
compiler.xoAppUrl.php:30
$xoops
$xoops
Definition:
admin.php:25
$url
$url
Definition:
register.php:72
usr64
htdocs
xoops_lib
smarty
xoops_plugins
compiler.xoAppUrl.php
Generated on Fri May 22 2015 03:07:04 for XOOPS by
1.8.9.1