| @@ 114-118 (lines=5) @@ | ||
| 111 | include_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 = XoopstubeUtilities::xtubeUpdateCounter($lid); |
|
| @@ 236-240 (lines=5) @@ | ||
| 233 | ||
| 234 | // Screenshots display |
|
| 235 | $xoopsTpl->assign('show_screenshot', false); |
|
| 236 | if (isset($GLOBALS['xoopsModuleConfig']['screenshot']) && $GLOBALS['xoopsModuleConfig']['screenshot'] == 1) { |
|
| 237 | $xoopsTpl->assign('shotwidth', $GLOBALS['xoopsModuleConfig']['shotwidth']); |
|
| 238 | $xoopsTpl->assign('shotheight', $GLOBALS['xoopsModuleConfig']['shotheight']); |
|
| 239 | $xoopsTpl->assign('show_screenshot', true); |
|
| 240 | } |
|
| 241 | ||
| 242 | // Nav page render |
|
| 243 | $page_nav = $pagenav->renderNav(); |
|