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.
*/
//2023-12-20 add line to avoid warning
if (!isset($GLOBALS['enableWebsiteThumbnails'])) return;
if (!$GLOBALS['enableWebsiteThumbnails']) {
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 '<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']):?>
<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>
</div>
<?php endif?>

View file

@ -5,11 +5,13 @@ echo '<a href="'.createURL('about').'">'.T_('About').'</a>';
echo ' - ';
echo T_("Propulsed by ");
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']) {
// Licence to the thumbnails provider (OBLIGATORY IF YOU USE ARTVIPER SERVICE)
echo ' (Thumbnails by <a href="http://www.artviper.net">webdesign</a>)';
}
}
?>
</div>

View file

@ -1,16 +1,16 @@
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<title><?php echo filter($GLOBALS['sitename'] .(isset($pagetitle) ? ' » ' . $pagetitle : '')); ?></title>
<meta name="description" content="">
<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="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('scuttle.css');?>">
<link rel="search" type="application/opensearchdescription+xml" href="<?php echo ROOT ?>api/opensearch.php" title="<?php echo htmlspecialchars($GLOBALS['sitename']) ?>">
<meta name="description" content=""/>
<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="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('scuttle.css');?>"/>
<link rel="search" type="application/opensearchdescription+xml" href="<?php echo ROOT ?>api/opensearch.php" title="<?php echo htmlspecialchars($GLOBALS['sitename']) ?>"/>
<?php
if (isset($rsschannels)) {
$size = count($rsschannels);