This commit is contained in:
buckaroo-labs 2023-12-20 21:39:30 -08:00
commit 3745b97633
4 changed files with 17 additions and 12 deletions

View file

@ -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).'&amp;w=120&amp;sdx=1280&amp;userID='.$GLOBALS['thumbnailsUserId'].'&amp;hash='.$thumbnailHash.'" />'; echo '<img class="thumbnail" onclick="window.location.href=\''.htmlspecialchars($address).'\'" src="http://www.artviper.net/screenshots/screener.php?url='.htmlspecialchars($address).'&amp;w=120&amp;sdx=1280&amp;userID='.$GLOBALS['thumbnailsUserId'].'&amp;hash='.$thumbnailHash.'" />';
?> ?>

View file

@ -32,7 +32,7 @@ $this->includeTemplate($GLOBALS['top_include']);
<?php if($pageName == PAGE_INDEX && $GLOBALS['welcomeMessage']):?> <?php if($pageName == PAGE_INDEX && $GLOBALS['welcomeMessage']):?>
<div class="alert alert-info alert-dismissable"> <div class="alert alert-info alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&#42;</button>
<p id="welcome"><?php echo $GLOBALS['welcomeMessage'];?></p> <p id="welcome"><?php echo $GLOBALS['welcomeMessage'];?></p>
</div> </div>
<?php endif?> <?php endif?>

View file

@ -5,11 +5,13 @@ echo '<a href="'.createURL('about').'">'.T_('About').'</a>';
echo ' - '; echo ' - ';
echo T_("Propulsed by "); echo T_("Propulsed by ");
echo " <a href=\"https://sourceforge.net/projects/semanticscuttle/\">SemanticScuttle</a>"; echo " <a href=\"https://sourceforge.net/projects/semanticscuttle/\">SemanticScuttle</a>";
//2023-12-20 add if block to avoid warning
if (isset($GLOBALS['enableWebsiteThumbnails'])) {
if($GLOBALS['enableWebsiteThumbnails']) { if($GLOBALS['enableWebsiteThumbnails']) {
// Licence to the thumbnails provider (OBLIGATORY IF YOU USE ARTVIPER SERVICE) // Licence to the thumbnails provider (OBLIGATORY IF YOU USE ARTVIPER SERVICE)
echo ' (Thumbnails by <a href="http://www.artviper.net">webdesign</a>)'; echo ' (Thumbnails by <a href="http://www.artviper.net">webdesign</a>)';
} }
}
?> ?>
</div> </div>

View file

@ -1,16 +1,16 @@
<!DOCTYPE html> <!DOCTYPE html>
<html class="no-js"> <html class="no-js">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<title><?php echo filter($GLOBALS['sitename'] .(isset($pagetitle) ? ' » ' . $pagetitle : '')); ?></title> <title><?php echo filter($GLOBALS['sitename'] .(isset($pagetitle) ? ' » ' . $pagetitle : '')); ?></title>
<meta name="description" content=""> <meta name="description" content=""/>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="icon" type="image/png" href="<?php echo $theme->resource('icon.png');?>"> <link rel="icon" type="image/png" href="<?php echo $theme->resource('icon.png');?>"/>
<link rel="stylesheet" type="text/css" href="<?php echo $theme->resource('css/bootstrap.min.css');?>"> <link rel="stylesheet" type="text/css" href="<?php echo $theme->resource('css/bootstrap.min.css');?>"/>
<link rel="stylesheet" type="text/css" href="<?php echo $theme->resource('css/font-awesome.min.css');?>"> <link rel="stylesheet" type="text/css" href="<?php echo $theme->resource('css/font-awesome.min.css');?>"/>
<link rel="stylesheet" type="text/css" href="<?php echo $theme->resource('scuttle.css');?>"> <link rel="stylesheet" type="text/css" href="<?php echo $theme->resource('scuttle.css');?>"/>
<link rel="search" type="application/opensearchdescription+xml" href="<?php echo ROOT ?>api/opensearch.php" title="<?php echo htmlspecialchars($GLOBALS['sitename']) ?>"> <link rel="search" type="application/opensearchdescription+xml" href="<?php echo ROOT ?>api/opensearch.php" title="<?php echo htmlspecialchars($GLOBALS['sitename']) ?>"/>
<?php <?php
if (isset($rsschannels)) { if (isset($rsschannels)) {
$size = count($rsschannels); $size = count($rsschannels);