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).

This commit is contained in:
jeroenpraat 2015-11-05 22:57:52 +01:00
parent 0db5a8673d
commit 94437a8fcd
4 changed files with 8 additions and 3 deletions

4
app/firefoxshare.apd Normal file
View file

@ -0,0 +1,4 @@
url: $baseurl/ffsapi
requires: local_channel
name: Firefox Share
photo: $baseurl/app/firefoxshare.png

BIN
app/firefoxshare.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
images/hz-bookmark-32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 973 B

View file

@ -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',