| @@ 95-104 (lines=10) @@ | ||
| 92 | ||
| 93 | $xoopsTpl->assign('anontellafriend', $GLOBALS['xoopsModuleConfig']['anontellafriend']); |
|
| 94 | $useShots = $xoopsModuleConfig['useshots']; |
|
| 95 | if (1 == $useShots) { |
|
| 96 | $shotWidth = $xoopsModuleConfig['shotwidth']; |
|
| 97 | $xoopsTpl->assign(array( |
|
| 98 | 'shotwidth' => $shotWidth . 'px', |
|
| 99 | // 'tablewidth' => ($shotWidth + 10) . "px", |
|
| 100 | 'show_screenshot' => true, |
|
| 101 | 'lang_noscreenshot' => _MD_MYLINKS_NOSHOTS |
|
| 102 | )); |
|
| 103 | } else { |
|
| 104 | $xoopsTpl->assign('show_screenshot', false); |
|
| 105 | } |
|
| 106 | ||
| 107 | $xoopsTpl->assign(array( |
|
| @@ 164-173 (lines=10) @@ | ||
| 161 | $LinkCountResult = $xoopsDB->query('SELECT COUNT(*) FROM ' . $xoopsDB->prefix('mylinks_links') . " WHERE title LIKE '" . $myts->addSlashes($_GET['list']) . "%' AND status>0"); |
|
| 162 | } |
|
| 163 | $useShots = $xoopsModuleConfig['useshots']; |
|
| 164 | if (1 == $useShots) { |
|
| 165 | $shotWidth = $xoopsModuleConfig['shotwidth']; |
|
| 166 | $xoopsTpl->assign(array( |
|
| 167 | 'shotwidth' => $shotWidth . 'px', |
|
| 168 | // 'tablewidth' => ($shotWidth + 10) . "px", |
|
| 169 | 'show_screenshot' => true, |
|
| 170 | 'lang_noscreenshot' => _MD_MYLINKS_NOSHOTS |
|
| 171 | )); |
|
| 172 | } else { |
|
| 173 | $xoopsTpl->assign('show_screenshot', false); |
|
| 174 | } |
|
| 175 | ||
| 176 | $xoopsTpl->assign('anontellafriend', $GLOBALS['xoopsModuleConfig']['anontellafriend']); |
|