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