diff --git a/data/templates/sscuttlizr/bookmarks-thumbnail.inc.tpl.php b/data/templates/sscuttlizr/bookmarks-thumbnail.inc.tpl.php index 77cc67f..1cdffde 100644 --- a/data/templates/sscuttlizr/bookmarks-thumbnail.inc.tpl.php +++ b/data/templates/sscuttlizr/bookmarks-thumbnail.inc.tpl.php @@ -5,6 +5,9 @@ * * Expects a $row variable with bookmark data. */ +//2023-12-20 add line to avoid warning +if (!isset($GLOBALS['enableWebsiteThumbnails'])) return; + if (!$GLOBALS['enableWebsiteThumbnails']) { return; } @@ -15,4 +18,4 @@ $thumbnailHash = md5( //echo ''; echo ''; -?> \ No newline at end of file +?> diff --git a/data/templates/sscuttlizr/bookmarks.tpl.php b/data/templates/sscuttlizr/bookmarks.tpl.php index 944e657..1510d44 100644 --- a/data/templates/sscuttlizr/bookmarks.tpl.php +++ b/data/templates/sscuttlizr/bookmarks.tpl.php @@ -32,7 +32,7 @@ $this->includeTemplate($GLOBALS['top_include']);
- +

diff --git a/data/templates/sscuttlizr/bottom.inc.php b/data/templates/sscuttlizr/bottom.inc.php index 4e5b226..3cb3ae8 100644 --- a/data/templates/sscuttlizr/bottom.inc.php +++ b/data/templates/sscuttlizr/bottom.inc.php @@ -5,11 +5,13 @@ echo '
'.T_('About').''; echo ' - '; echo T_("Propulsed by "); echo " SemanticScuttle"; - +//2023-12-20 add if block to avoid warning +if (isset($GLOBALS['enableWebsiteThumbnails'])) { if($GLOBALS['enableWebsiteThumbnails']) { // Licence to the thumbnails provider (OBLIGATORY IF YOU USE ARTVIPER SERVICE) echo ' (Thumbnails by webdesign)'; } +} ?> diff --git a/data/templates/sscuttlizr/top.inc.php b/data/templates/sscuttlizr/top.inc.php index fcd921e..7a355d6 100644 --- a/data/templates/sscuttlizr/top.inc.php +++ b/data/templates/sscuttlizr/top.inc.php @@ -1,16 +1,16 @@ - - + + <?php echo filter($GLOBALS['sitename'] .(isset($pagetitle) ? ' ยป ' . $pagetitle : '')); ?> - - - - - - - + + + + + + +