aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2015-11-05 22:57:52 +0100
committerjeroenpraat <jeroenpraat@xs4all.nl>2015-11-05 22:58:46 +0100
commit94437a8fcd0b0b15b49deceeacef7602b801dac1 (patch)
tree636acfa248b016debb3569bcae13faf6ebd1f758
parent0db5a8673d57088ab394cdaf372fb81dbd78bcbb (diff)
downloadvolse-hubzilla-94437a8fcd0b0b15b49deceeacef7602b801dac1.tar.gz
volse-hubzilla-94437a8fcd0b0b15b49deceeacef7602b801dac1.tar.bz2
volse-hubzilla-94437a8fcd0b0b15b49deceeacef7602b801dac1.zip
Firefox Share app. Paper plane icon is public domain. Shorted the name in ffsapi > compare it with other providers. Changed bookmark (checkmark) item to selfmade Hubzilla bookmark icon for Firefox (bookmark icon = bootstrap icon).
-rw-r--r--app/firefoxshare.apd4
-rw-r--r--app/firefoxshare.pngbin0 -> 3170 bytes
-rw-r--r--images/hz-bookmark-32.pngbin0 -> 973 bytes
-rw-r--r--mod/ffsapi.php7
4 files changed, 8 insertions, 3 deletions
diff --git a/app/firefoxshare.apd b/app/firefoxshare.apd
new file mode 100644
index 000000000..5e0f38b4e
--- /dev/null
+++ b/app/firefoxshare.apd
@@ -0,0 +1,4 @@
+url: $baseurl/ffsapi
+requires: local_channel
+name: Firefox Share
+photo: $baseurl/app/firefoxshare.png
diff --git a/app/firefoxshare.png b/app/firefoxshare.png
new file mode 100644
index 000000000..755952284
--- /dev/null
+++ b/app/firefoxshare.png
Binary files differ
diff --git a/images/hz-bookmark-32.png b/images/hz-bookmark-32.png
new file mode 100644
index 000000000..f3a09d9b4
--- /dev/null
+++ b/images/hz-bookmark-32.png
Binary files differ
diff --git a/mod/ffsapi.php b/mod/ffsapi.php
index de47408bd..3822a8e94 100644
--- a/mod/ffsapi.php
+++ b/mod/ffsapi.php
@@ -4,7 +4,7 @@
function ffsapi_content(&$a) {
$baseurl = z_root();
-$name = sprintf( t('Social Provider on %1$s'), get_config('system','sitename'));
+$name = sprintf( t('%1$s'), get_config('system','sitename'));
$description = t('Share content from Firefox to $Projectname');
$author = 'Mike Macgirvin';
$homepage = 'http://hubzilla.org';
@@ -35,8 +35,9 @@ var data = {
// social bookmarks are available in Firefox 26
"markURL": baseurl+"/rbmark?f=&url=%{url}&title=%{title}",
// icons should be 32x32 pixels
- "markedIcon": baseurl+"/images/checkbox-checked-32.png",
- "unmarkedIcon": baseurl+"/images/checkbox-unchecked-32.png",
+ // "markedIcon": baseurl+"/images/checkbox-checked-32.png",
+ // "unmarkedIcon": baseurl+"/images/checkbox-unchecked-32.png",
+ "unmarkedIcon": baseurl+"/images/hz-bookmark-32.png",
// should be available for display purposes
"description": '$description',