| @@ 235-239 (lines=5) @@ | ||
| 232 | ||
| 233 | // Screenshots display | |
| 234 |     $xoopsTpl->assign('show_screenshot', false); | |
| 235 |     if (isset($GLOBALS['xoopsModuleConfig']['screenshot']) && $GLOBALS['xoopsModuleConfig']['screenshot'] == 1) { | |
| 236 |         $xoopsTpl->assign('shotwidth', $GLOBALS['xoopsModuleConfig']['shotwidth']); | |
| 237 |         $xoopsTpl->assign('shotheight', $GLOBALS['xoopsModuleConfig']['shotheight']); | |
| 238 |         $xoopsTpl->assign('show_screenshot', true); | |
| 239 | } | |
| 240 | ||
| 241 | // Nav page render | |
| 242 | $page_nav = $pagenav->renderNav(); | |
| @@ 114-118 (lines=5) @@ | ||
| 111 | require_once XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->getVar('dirname') . '/include/videoloadinfo.php'; | |
| 112 | ||
| 113 | $xoopsTpl->assign('show_screenshot', false); | |
| 114 | if (isset($GLOBALS['xoopsModuleConfig']['screenshot']) && $GLOBALS['xoopsModuleConfig']['screenshot'] == 1) { | |
| 115 |     $xoopsTpl->assign('shotwidth', $GLOBALS['xoopsModuleConfig']['shotwidth']); | |
| 116 |     $xoopsTpl->assign('shotheight', $GLOBALS['xoopsModuleConfig']['shotheight']); | |
| 117 |     $xoopsTpl->assign('show_screenshot', true); | |
| 118 | } | |
| 119 | ||
| 120 | if (false === $video['isadmin']) { | |
| 121 | $count = XoopstubeUtility::xtubeUpdateCounter($lid); | |