summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-03-11 12:36:23 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-03-11 12:36:23 +0000
commit7428a3467c28756c7d8c3ad848753aa2fcac3065 (patch)
tree1ba78e2badf24f8cc5c943d5dbf901d28f86f308 /templates
parent3707bd1bd37865f6698cf582882df4b81a9d5549 (diff)
downloadsemanticscuttle-7428a3467c28756c7d8c3ad848753aa2fcac3065.tar.gz
semanticscuttle-7428a3467c28756c7d8c3ad848753aa2fcac3065.tar.bz2
New feature: website thumbnail
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@62 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates')
-rw-r--r--templates/bookmarks.tpl.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php
index e4cfe04..90d1e58 100644
--- a/templates/bookmarks.tpl.php
+++ b/templates/bookmarks.tpl.php
@@ -157,6 +157,9 @@ window.onload = playerLoad;
// Output
echo '<li class="xfolkentry'. $access .'">'."\n";
+ if ($GLOBALS['enableWebsiteThumbnails']) {
+ echo '<a href="'. $address .'"'. $rel .' ><img class="thumbnail" src="http://www.artviper.net/screenshots/screener.php?sdx=1024&sdy=768&w=90&h=68&url='.$address.'"></a>';
+ }
echo '<div class="link"><a href="'. $address .'"'. $rel .' class="taggedlink">'. filter($row['bTitle']) ."</a></div>\n";
if ($row['bDescription'] != '') {
echo '<div class="description">'. filter($row['bDescription']) ."</div>\n";
@@ -164,6 +167,7 @@ window.onload = playerLoad;
if(!isset($hash)) {
echo '<div class="address">'.$address.'</div>';
}
+
echo '<div class="meta">'. date($GLOBALS['shortdate'], strtotime($row['bDatetime'])) . $cats . $copy . $edit ."</div>\n";
echo "</li>\n";
}