include/adsense.php 1 location
|
@@ 14-21 (lines=8) @@
|
| 11 |
|
|
| 12 |
|
// defined('XOOPS_ROOT_PATH') || die('Restricted access'); |
| 13 |
|
|
| 14 |
|
function smart_adsense_initiate_smartytags() |
| 15 |
|
{ |
| 16 |
|
global $xoopsTpl, $smartobjectAdsenseHandler; |
| 17 |
|
if (is_object($xoopsTpl)) { |
| 18 |
|
foreach ($smartobjectAdsenseHandler->objects as $k => $v) { |
| 19 |
|
$xoopsTpl->assign('adsense_' . $k, $v->render()); |
| 20 |
|
} |
| 21 |
|
} |
| 22 |
|
} |
| 23 |
|
|
| 24 |
|
if (!defined('SMARTOBJECT_URL')) { |
include/customtag.php 1 location
|
@@ 14-21 (lines=8) @@
|
| 11 |
|
|
| 12 |
|
// defined('XOOPS_ROOT_PATH') || die('Restricted access'); |
| 13 |
|
|
| 14 |
|
function smart_customtag_initiate() |
| 15 |
|
{ |
| 16 |
|
global $xoopsTpl, $smartobjectCustomtagHandler; |
| 17 |
|
if (is_object($xoopsTpl)) { |
| 18 |
|
foreach ($smartobjectCustomtagHandler->objects as $k => $v) { |
| 19 |
|
$xoopsTpl->assign($k, $v->render()); |
| 20 |
|
} |
| 21 |
|
} |
| 22 |
|
} |
| 23 |
|
|
| 24 |
|
if (!defined('SMARTOBJECT_URL')) { |