aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-04 18:15:03 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-04 18:15:03 -0800
commit5dfaeaf526a115a4699cebed7a28b97a7aad019f (patch)
treea1436bc6956198bb086f7af30769a812e521ccae
parent121446931162293a60626a3d6641073fb44480d8 (diff)
downloadvolse-hubzilla-5dfaeaf526a115a4699cebed7a28b97a7aad019f.tar.gz
volse-hubzilla-5dfaeaf526a115a4699cebed7a28b97a7aad019f.tar.bz2
volse-hubzilla-5dfaeaf526a115a4699cebed7a28b97a7aad019f.zip
add bookmarking to FF social api provider
-rw-r--r--images/checkbox-checked-32.pngbin0 -> 1397 bytes
-rw-r--r--images/checkbox-unchecked-32.pngbin0 -> 1063 bytes
-rw-r--r--mod/ffsapi.php6
3 files changed, 3 insertions, 3 deletions
diff --git a/images/checkbox-checked-32.png b/images/checkbox-checked-32.png
new file mode 100644
index 000000000..01e51c203
--- /dev/null
+++ b/images/checkbox-checked-32.png
Binary files differ
diff --git a/images/checkbox-unchecked-32.png b/images/checkbox-unchecked-32.png
new file mode 100644
index 000000000..80ce92243
--- /dev/null
+++ b/images/checkbox-unchecked-32.png
Binary files differ
diff --git a/mod/ffsapi.php b/mod/ffsapi.php
index 15cc8365f..24ff9d5e0 100644
--- a/mod/ffsapi.php
+++ b/mod/ffsapi.php
@@ -33,10 +33,10 @@ var data = {
//"statusURL": baseurl+"/statusPanel.html",
// social bookmarks are available in Firefox 26
- //"markURL": baseurl+"/mark.html?url=%{url}",
+ "markURL": baseurl+"/bmark?f=&url=%{url}&title=%{title}",
// icons should be 32x32 pixels
- //"markedIcon": baseurl+"/unchecked.jpg",
- //"unmarkedIcon": baseurl+"/checked.jpg",
+ "markedIcon": baseurl+"/images/checkbox-checked-32.png",
+ "unmarkedIcon": baseurl+"/images/checkbox-unchecked-32.png",
// should be available for display purposes
"description": '$description',