XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
compiler.xoImgUrl.php
Go to the documentation of this file.
1 <?php
34 function smarty_compiler_xoImgUrl($argStr, &$smarty)
35 {
36  global $xoops, $xoTheme;
37  $path = (isset($xoTheme) && is_object($xoTheme)) ? $xoTheme->resourcePath($argStr) : $argStr;
38  return "\necho '" . addslashes($xoops->url($path)) . "';";
39 
40 }
41 ?>