Update bookmarks-thumbnail.inc.tpl.php
avoid warning
This commit is contained in:
parent
a89a4c07b8
commit
61f6cf4789
1 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,9 @@
|
||||||
*
|
*
|
||||||
* Expects a $row variable with bookmark data.
|
* Expects a $row variable with bookmark data.
|
||||||
*/
|
*/
|
||||||
|
//2023-12-20 add line to avoid warning
|
||||||
|
if (!isset($GLOBALS['enableWebsiteThumbnails'])) return;
|
||||||
|
|
||||||
if (!$GLOBALS['enableWebsiteThumbnails']) {
|
if (!$GLOBALS['enableWebsiteThumbnails']) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -15,4 +18,4 @@ $thumbnailHash = md5(
|
||||||
//echo '<a href="'. $address .'"'. $rel .' ><img class="thumbnail" src="http://www.artviper.net/screenshots/screener.php?url='.$address.'&w=120&sdx=1280&userID='.$GLOBALS['thumbnailsUserId'].'&hash='.$thumbnailHash.'" />';
|
//echo '<a href="'. $address .'"'. $rel .' ><img class="thumbnail" src="http://www.artviper.net/screenshots/screener.php?url='.$address.'&w=120&sdx=1280&userID='.$GLOBALS['thumbnailsUserId'].'&hash='.$thumbnailHash.'" />';
|
||||||
echo '<img class="thumbnail" onclick="window.location.href=\''.htmlspecialchars($address).'\'" src="http://www.artviper.net/screenshots/screener.php?url='.htmlspecialchars($address).'&w=120&sdx=1280&userID='.$GLOBALS['thumbnailsUserId'].'&hash='.$thumbnailHash.'" />';
|
echo '<img class="thumbnail" onclick="window.location.href=\''.htmlspecialchars($address).'\'" src="http://www.artviper.net/screenshots/screener.php?url='.htmlspecialchars($address).'&w=120&sdx=1280&userID='.$GLOBALS['thumbnailsUserId'].'&hash='.$thumbnailHash.'" />';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue