Beispiel #1
0
$xoopsTpl->assign('disp_tell_icon', $bulletin_disp_tell_icon);
// Breadcrumbs
if ($bulletin_use_pankuzu) {
    $xoopsTpl->assign('pankuzu', $article->topics->makePankuzuForHTML($article->getVar('topicid')));
}
if ($bulletin_titile_as_sitename) {
    $xoopsTpl->assign('xoops_pagetitle', $article->getVar('title'));
}
require_once XOOPS_ROOT_PATH . '/include/comment_view.php';
if ($bulletin_assing_rssurl_head) {
    $xoopsTpl->assign('xoops_module_header', $rss_feed . $xoopsTpl->get_template_vars("xoops_module_header"));
}
$xoopsTpl->assign($assing_array);
// Count up the number of views
if (empty($_GET['com_id']) && !isset($_GET['storypage'])) {
    $article->updateCounter();
}
// GIJ
$breadcrumbs = array(array('name' => $xoopsModule->getVar('name'), 'url' => XOOPS_URL . '/modules/' . $mydirname . '/'));
$pankuzu4assign = $article->topics->makePankuzuForHTML($article->getVar('topicid'));
foreach ($pankuzu4assign as $p4a) {
    $breadcrumbs[] = array('name' => $p4a['topic_title'], 'url' => XOOPS_URL . '/modules/' . $mydirname . '/index.php?storytopic=' . $p4a['topic_id']);
}
$breadcrumbs[] = array('name' => $article->getVar('title'));
$xoopsTpl->assign('xoops_breadcrumbs', $breadcrumbs);
$xoopsTpl->assign('mod_config', $xoopsModuleConfig);
//meta description
$description = $myts->htmlSpecialChars(xoops_substr(strip_tags($story['text']), 0, 255), ENT_QUOTES);
if (defined('LEGACY_MODULE_VERSION') && version_compare(LEGACY_MODULE_VERSION, '2.2', '>=')) {
    // For XCL 2.2
    $xclRoot =& XCube_Root::getSingleton();