diff --git a/bookmarks.php b/bookmarks.php
index 9229269..fbb21cc 100644
--- a/bookmarks.php
+++ b/bookmarks.php
@@ -49,18 +49,7 @@ function list_bookmarks ($bookmarks, $show_checkbox, $show_folder, $show_icon, $
echo "\t" . '
\n";
@@ -97,9 +86,20 @@ function list_bookmarks ($bookmarks, $show_checkbox, $show_folder, $show_icon, $
echo sprintf ($delete_image, "Delete");
echo "\n";
}
-
echo "\t\n";
+ # the favicon
+ echo "\t" . '' . "\n";
+ echo "\t\t";
+ if ($show_icon){
+ if ($value['favicon'] && is_file ($value['favicon'])) {
+ echo '

' . "\n";
+ }
+ else {
+ echo $bookmark_image . "\n";
+ }
+ }
+
# the link
if ($settings['open_new_window']) {
$target = ' target="_blank"';
@@ -114,7 +114,8 @@ function list_bookmarks ($bookmarks, $show_checkbox, $show_folder, $show_icon, $
else {
$link = $value['title'];
}
- echo "\t" . '
' . $link . "
\n";
+ echo "\t\t$link\n";
+ echo "\t
\n";
# the description and if not empty
if ($show_desc && $value['description'] != "") {
diff --git a/index.php b/index.php
index 00d216d..ea4623c 100644
--- a/index.php
+++ b/index.php
@@ -135,7 +135,7 @@ else {
diff --git a/lib/lib.js b/lib/lib.js
index c6ee7fb..a2e6b7d 100644
--- a/lib/lib.js
+++ b/lib/lib.js
@@ -89,7 +89,7 @@ var parameter='';
http://www.squarefree.com/bookmarklets/
*/
-function selection(boxes){
+function selectthem(boxes, stat){
var x,k,f,j;
x=document.forms;
@@ -107,7 +107,7 @@ function selection(boxes){
f[j].checked = !f[j].checked ;
}
else if (boxes == "checkall") {
- f[j].checked = document.getElementsByName('CheckAll')[0].checked;
+ f[j].checked = stat;
}
}
}
diff --git a/style.css b/style.css
index c1c7f9c..c29b568 100644
--- a/style.css
+++ b/style.css
@@ -166,9 +166,6 @@ div.description {
div.description, span.private, span.public, span.date {
font-size: smaller;
}
-input.link {
- margin: 0;
-}
.invisible {
visibility: hidden;
}