[Pkg-owncloud-commits] [owncloud] 10/205: federated cloud ID: add icons, fix HTML & layout, fix wording

David Prévot taffit at moszumanska.debian.org
Thu Jul 2 17:36:48 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 4599da9608edba255bd4e5806e16424c11ca3de2
Author: Jan-Christoph Borchardt <hey at jancborchardt.net>
Date:   Wed Jun 17 12:34:49 2015 +0200

    federated cloud ID: add icons, fix HTML & layout, fix wording
---
 apps/files_sharing/css/settings-personal.css       |  29 ++++++++
 apps/files_sharing/img/gs-share.png                | Bin 863 -> 0 bytes
 apps/files_sharing/img/social-diaspora.svg         |  52 ++++++++++++++
 apps/files_sharing/img/social-facebook.svg         |  43 +++++++++++
 apps/files_sharing/img/social-gnu.svg              |  79 +++++++++++++++++++++
 apps/files_sharing/img/social-googleplus.svg       |  45 ++++++++++++
 apps/files_sharing/img/social-owncloud.svg         |  44 ++++++++++++
 apps/files_sharing/img/social-twitter.svg          |  53 ++++++++++++++
 apps/files_sharing/settings-personal.php           |   4 +-
 apps/files_sharing/templates/settings-personal.php |  72 +++++++++----------
 10 files changed, 382 insertions(+), 39 deletions(-)

diff --git a/apps/files_sharing/css/settings-personal.css b/apps/files_sharing/css/settings-personal.css
index de43884..c9af6c0 100644
--- a/apps/files_sharing/css/settings-personal.css
+++ b/apps/files_sharing/css/settings-personal.css
@@ -1,3 +1,32 @@
 #fileSharingSettings img {
 	cursor: pointer;
 }
+
+#fileSharingSettings xmp {
+	margin-top: 0;
+}
+
+[class^="social-"], [class*=" social-"] {
+	background-repeat: no-repeat;
+	background-position: 2px;
+	min-width: 16px;
+	min-height: 16px;
+	padding-left: 29px;
+	background-size: 24px;
+}
+
+.social-gnu {
+	background-image: url('../img/social-gnu.svg');
+}
+.social-diaspora {
+	background-image: url('../img/social-diaspora.svg');
+}
+.social-twitter {
+	background-image: url('../img/social-twitter.svg');
+}
+.social-facebook {
+	background-image: url('../img/social-facebook.svg');
+}
+.social-googleplus {
+	background-image: url('../img/social-googleplus.svg');
+}
diff --git a/apps/files_sharing/img/gs-share.png b/apps/files_sharing/img/gs-share.png
deleted file mode 100644
index 25b0c4d..0000000
Binary files a/apps/files_sharing/img/gs-share.png and /dev/null differ
diff --git a/apps/files_sharing/img/social-diaspora.svg b/apps/files_sharing/img/social-diaspora.svg
new file mode 100644
index 0000000..1d513112
--- /dev/null
+++ b/apps/files_sharing/img/social-diaspora.svg
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   version="1.1"
+   width="32"
+   height="32"
+   id="svg3937"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="social-diaspora.svg">
+  <metadata
+     id="metadata4166">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs4164" />
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="640"
+     inkscape:window-height="480"
+     id="namedview4162"
+     showgrid="false"
+     inkscape:zoom="13.549078"
+     inkscape:cx="-5.9149036"
+     inkscape:cy="9.8488708"
+     inkscape:current-layer="svg3937" />
+  <path
+     d="m 15.956724,31 c -0.896548,4.3e-5 -1.344812,-0.448233 -1.344812,-1.344828 L 14.715361,19 5.612032,24.689655 C 4.9223812,25.172463 4.336189,25.034532 3.8534355,24.275862 L 3.3362024,23.448276 C 2.8534488,22.758671 2.991377,22.172465 3.7499869,21.689655 L 13.163651,16 3.6465383,10.310345 C 2.9568974,9.8966152 2.8189693,9.3104089 3.2327538,8.551724 L 3.8534355,7.517241 C 4.1982609,6.965584 4.7499735,6.896618 5.5085834,7.310345 L 14.715361,13 14.611912,2.344828 c 0,-0.89648 0.448264, [...]
+     id="star"
+     style="opacity:0.5;fill:#000000;fill-opacity:1"
+     inkscape:connector-curvature="0" />
+</svg>
diff --git a/apps/files_sharing/img/social-facebook.svg b/apps/files_sharing/img/social-facebook.svg
new file mode 100644
index 0000000..aad02bc
--- /dev/null
+++ b/apps/files_sharing/img/social-facebook.svg
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   enable-background="new 0 0 56.693 56.693"
+   height="32"
+   id="Layer_1"
+   version="1.1"
+   viewBox="0 0 32 32"
+   width="32"
+   xml:space="preserve"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="social-facebook.svg"><metadata
+     id="metadata5818"><rdf:RDF><cc:Work
+         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
+     id="defs5816" /><sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="640"
+     inkscape:window-height="480"
+     id="namedview5814"
+     showgrid="false"
+     inkscape:zoom="11.271233"
+     inkscape:cx="5.0995367"
+     inkscape:cy="28.322502"
+     inkscape:current-layer="Layer_1" /><path
+     d="m 22.396887,16.008872 -4.203409,0 0,14.991128 -6.230193,0 0,-14.991128 -2.963285,0 0,-5.292784 2.963285,0 0,-3.429613 C 11.963285,4.831822 13.128489,1 18.251639,1 l 4.613498,0.01774 0,5.140971 -3.349714,0 c -0.547114,0 -1.320959,0.273067 -1.320959,1.44026 l 0,3.118099 4.749536,0 z"
+     id="path5812"
+     inkscape:connector-curvature="0"
+     sodipodi:nodetypes="ccccccccscccssccc"
+     style="fill:#000000;fill-opacity:1;opacity:0.5" /></svg>
\ No newline at end of file
diff --git a/apps/files_sharing/img/social-gnu.svg b/apps/files_sharing/img/social-gnu.svg
new file mode 100644
index 0000000..24556aa
--- /dev/null
+++ b/apps/files_sharing/img/social-gnu.svg
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="32"
+   height="32"
+   id="svg2880"
+   version="1.1"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="social-gnu.svg"
+   inkscape:export-filename="/home/robmyers/Desktop/social_logo_competition/gnu-social-logo.png"
+   inkscape:export-xdpi="90"
+   inkscape:export-ydpi="90">
+  <defs
+     id="defs2882">
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 526.18109 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="744.09448 : 526.18109 : 1"
+       inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+       id="perspective2888" />
+    <inkscape:perspective
+       id="perspective2859"
+       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+       inkscape:vp_z="1 : 0.5 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_x="0 : 0.5 : 1"
+       sodipodi:type="inkscape:persp3d" />
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="17.21204"
+     inkscape:cx="13.854211"
+     inkscape:cy="18.472465"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:window-width="1022"
+     inkscape:window-height="730"
+     inkscape:window-x="0"
+     inkscape:window-y="49"
+     inkscape:window-maximized="0" />
+  <metadata
+     id="metadata2885">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-119.19595,-352.32438)">
+    <path
+       style="opacity:0.5;fill:#000000;fill-opacity:1;stroke:none"
+       d="m 125.14074,354.32438 c -2.18531,0 -3.94479,1.75948 -3.94479,3.94479 l 0,15.76964 c 0,2.18531 1.75948,3.94419 3.94479,3.94419 l 11.72461,0 c -0.0131,4.46851 -6.05322,6.34138 -6.05322,6.34138 0,0 10.21217,-0.0335 11.65719,-6.34138 l 2.12751,0 c 2.18532,0 3.94479,-1.75888 3.94479,-3.94419 l 0,-15.76964 c 0,-2.18531 -1.75947,-3.94479 -3.94479,-3.94479 l -19.45609,0 z m 5.66602,3.16145 c 0.042,-0.007 0.0803,-0.007 0.11455,0 0.0366,0.007 0.0681,0.022 0.0943,0.0454 0.41895,0.37367 -0 [...]
+       id="path4639"
+       inkscape:connector-curvature="0" />
+  </g>
+</svg>
diff --git a/apps/files_sharing/img/social-googleplus.svg b/apps/files_sharing/img/social-googleplus.svg
new file mode 100644
index 0000000..123273f
--- /dev/null
+++ b/apps/files_sharing/img/social-googleplus.svg
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   height="32"
+   id="Layer_1"
+   version="1.1"
+   viewBox="0 0 32 32"
+   width="32"
+   xml:space="preserve"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="social-googleplus.svg"><metadata
+     id="metadata4721"><rdf:RDF><cc:Work
+         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
+     id="defs4719" /><sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="640"
+     inkscape:window-height="480"
+     id="namedview4717"
+     showgrid="false"
+     inkscape:zoom="14.120039"
+     inkscape:cx="16.803685"
+     inkscape:cy="25.296916"
+     inkscape:current-layer="Layer_1" /><style
+     type="text/css"
+     id="style4709"><![CDATA[
+	.st0{fill-rule:evenodd;clip-rule:evenodd;}
+]]></style><path
+     d="m 12.260365,1.00001 c -1.044403,0 -2.164648,0.121381 -3.360551,0.364723 C 7.692812,1.648864 6.529074,2.249513 5.409199,3.171551 3.776833,4.74759 2.962354,6.502187 2.962354,8.437552 c 0,1.600734 0.575619,3.003332 1.728237,4.209224 1.099897,1.293294 2.698442,1.953874 4.796683,1.980234 0.39512,0 0.817861,-0.0267 1.265423,-0.0775 -0.07353,0.20755 -0.154327,0.43048 -0.240621,0.67688 -0.0985,0.23057 -0.147948,0.52213 -0.147948,0.8698 0,0.57798 0.128855,1.07502 0.388569,1.48762 0.221977 [...]
+     id="path4713"
+     style="opacity:0.5;fill:#000000;fill-opacity:1"
+     inkscape:connector-curvature="0" /></svg>
\ No newline at end of file
diff --git a/apps/files_sharing/img/social-owncloud.svg b/apps/files_sharing/img/social-owncloud.svg
new file mode 100644
index 0000000..e268683
--- /dev/null
+++ b/apps/files_sharing/img/social-owncloud.svg
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   enable-background="new 0 0 595.275 311.111"
+   xml:space="preserve"
+   height="32"
+   width="32"
+   version="1.1"
+   y="0px"
+   x="0px"
+   viewBox="0 0 32 31.999997"
+   id="svg2"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="social-owncloud.svg"><metadata
+     id="metadata12"><rdf:RDF><cc:Work
+         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
+     id="defs10" /><sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="640"
+     inkscape:window-height="480"
+     id="namedview8"
+     showgrid="false"
+     inkscape:zoom="19.96875"
+     inkscape:cx="2.8794992"
+     inkscape:cy="16"
+     inkscape:current-layer="svg2" /><path
+     style="block-progression:tb;color:#000000;enable-background:accumulate;text-transform:none;text-indent:0;fill:#000000;fill-opacity:1;opacity:0.5"
+     d="m14.583 7.281c-2.2329 0-4.0369 1.804-4.0369 4.0369 0 0.92043 0.30649 1.7676 0.82322 2.4459 1.121-1.2974 2.7754-2.1214 4.6227-2.1214 0.90376 0 1.7608 0.20125 2.533 0.55409 0.06252-0.28275 0.09499-0.57681 0.09499-0.87863 0-2.2329-1.804-4.0369-4.0369-4.0369zm-5.2718 1.8681c-1.1629 0-2.0976 0.94269-2.0976 2.1055 0 0.3765 0.09713 0.73224 0.26913 1.0369 0.70171-0.39584 1.513-0.62533 2.3747-0.62533 0.08316 0 0.16326 0.003 0.24538 0.008-0.0093-0.11788-0.01582-0.23595-0.01582-0.3562 0-0.6 [...]
+     fill="#fff"
+     id="path6" /></svg>
\ No newline at end of file
diff --git a/apps/files_sharing/img/social-twitter.svg b/apps/files_sharing/img/social-twitter.svg
new file mode 100644
index 0000000..00ce390
--- /dev/null
+++ b/apps/files_sharing/img/social-twitter.svg
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   height="32"
+   id="svg2"
+   version="1.1"
+   width="32"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="social-twitter.svg">
+  <metadata
+     id="metadata5269">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="640"
+     inkscape:window-height="480"
+     id="namedview5267"
+     showgrid="false"
+     inkscape:zoom="10.224"
+     inkscape:cx="-7.2593811"
+     inkscape:cy="16.128046"
+     inkscape:current-layer="svg2" />
+  <defs
+     id="defs4" />
+  <path
+     sodipodi:nodetypes="sscccccsscsccscsccsccss"
+     inkscape:connector-curvature="0"
+     style="opacity:0.5;fill:#000000;fill-opacity:1;fill-rule:nonzero"
+     id="rect2995"
+     d="m 21.611501,4.61946 c 0.05279,-0.002 0.106021,0 0.159127,0 1.770342,0 3.36956,0.74756 4.491932,1.94362 C 27.665067,6.2866 28.983178,5.77311 30.172539,5.06729 29.712752,6.50573 28.736679,7.71137 27.465106,8.4726 28.710494,8.32462 29.897115,7.99445 31,7.50421 c -0.824575,1.23442 -1.869002,2.31882 -3.071153,3.18481 0.01156,0.26431 0.01819,0.53117 0.01819,0.79791 C 27.947037,19.62063 21.755733,29 10.433964,29 6.9584454,29 3.7246302,27.98066 1,26.23346 c 0.481711,0.0572 0.9721881,0.08 [...]
+</svg>
diff --git a/apps/files_sharing/settings-personal.php b/apps/files_sharing/settings-personal.php
index d95c150..f4d61b3 100644
--- a/apps/files_sharing/settings-personal.php
+++ b/apps/files_sharing/settings-personal.php
@@ -31,8 +31,8 @@ $url = 'https://owncloud.org/federation';
 
 $tmpl = new OCP\Template('files_sharing', 'settings-personal');
 $tmpl->assign('outgoingServer2serverShareEnabled', \OCA\Files_Sharing\Helper::isOutgoingServer2serverShareEnabled());
-$tmpl->assign('message_with_URL', $l->t('Share with me through my #ownCloud federation Id %s see %s', [$cloudID, $url]));
-$tmpl->assign('message_without_URL', $l->t('Share with me through my #ownCloud federation Id %s', [$cloudID]));
+$tmpl->assign('message_with_URL', $l->t('Share with me through my #ownCloud federation ID %s see %s', [$cloudID, $url]));
+$tmpl->assign('message_without_URL', $l->t('Share with me through my #ownCloud federation ID %s', [$cloudID]));
 $tmpl->assign('reference', $url);
 $tmpl->assign('cloudId', $cloudID);
 
diff --git a/apps/files_sharing/templates/settings-personal.php b/apps/files_sharing/templates/settings-personal.php
index 84efd1d..8703352 100644
--- a/apps/files_sharing/templates/settings-personal.php
+++ b/apps/files_sharing/templates/settings-personal.php
@@ -12,57 +12,55 @@ style('files_sharing', '3rdparty/gs-share/style');
 		<h2><?php p($l->t('Federated Cloud')); ?></h2>
 
 		<p>
-			<?php p($l->t('Your Federated Cloud ID: %s', [$_['cloudId']])); ?>
+			<?php p($l->t('Your Federated Cloud ID:')); ?>
+			<strong><?php p($_['cloudId']); ?></strong>
 		</p>
 
-		<p>
-
-		<h3><?php p($l->t('Share your Federated Cloud Id:')); ?></h3>
+		<br>
 
 		<p>
-
-		<div class='gs-share'>
-			<button data-url='<?php p($_['reference']); ?>'
-					data-title='<?php p(urlencode($_['message_without_URL'])); ?>'
-					class='js-gs-share gs-share--icon'>
+			<?php p($l->t('Share it:')); ?>
+			<button class="social-gnu" data-url="<?php p($_['reference']); ?>"
+				data-title='<?php p(urlencode($_['message_without_URL'])); ?>'
+				class='js-gs-share gs-share--icon'>
+				GNU Social
+			</button>
+			<button class="social-diaspora"
+				data-url='http://sharetodiaspora.github.io/?title=<?php p($_['message_without_URL']); ?>&url=<?php p($_['reference']); ?>'>
+				Diaspora
+			</button>
+			<button class="social-twitter"
+				data-url='https://twitter.com/intent/tweet?text=<?php p(urlencode($_['message_with_URL'])); ?>'>
+				Twitter
+			</button>
+			<button class="social-facebook"
+				data-url='https://www.facebook.com/sharer/sharer.php?u=<?php p($_['reference']); ?>'>
+				Facebook
+			</button>
+			<button class="social-googleplus"
+				data-url='https://plus.google.com/share?url=<?php p($_['reference']); ?>'/>
+				Google+
 			</button>
-		</div>
-
-
-		<img src='TODO: Add Diaspora Button' style="border: 0px solid;"
-			 alt='Share on Diaspora'
-			 data-url='http://sharetodiaspora.github.io/?title=<?php p($_['message_without_URL']); ?>&url=<?php p($_['reference']); ?>'/>
-		<img src='TODO: Add Twitter Button' alt=' | Share on Twitter'
-			 data-url='https://twitter.com/intent/tweet?text=<?php p(urlencode($_['message_with_URL'])); ?>'/>
-		<img src='TODO: Add Facebook Button' alt=' | Share on Facebook'
-			 data-url='https://www.facebook.com/sharer/sharer.php?u=<?php p($_['reference']); ?>'/>
-		<img src='TODO: Add Google+ Button' alt=' | Share on Google+'
-			 data-url='https://plus.google.com/share?url=<?php p($_['reference']); ?>'/>
-
 		</p>
 
-		<br/>
-
-		<h3><?php p($l->t('Add your Federated Cloud Id to your homepage:')); ?></h3>
+		<br>
 
 		<p>
+			<?php p($l->t('Add it to your website:')); ?>
 
-			<a href="<?php p($_['reference']); ?>">
-				<img src='TODO: Add Example Banner/Button'
-					 alt='<?php p($_['message_with_URL']); ?>'/>
+			<a target="_blank" href="<?php p($_['reference']); ?>">
+				<img src="img/social-owncloud.svg" />
+				<?php p($l->t('Share with me via ownCloud')); ?>
 			</a>
+		</p>
 
-			<br/>
+		<p>
 			<?php p($l->t('HTML Code:')); ?>
-			<br/>
-
-			<xmp>
-				<a href="<?php p($_['reference']); ?>">
-					<img src='TODO: Add Banner/Button'
-						 alt='<?php p($_['message_with_URL']); ?>'/>
-				</a>
-			</xmp>
+			<xmp><a target="_blank" href="<?php p($_['reference']); ?>">
+	<img src="../img/social-owncloud.svg" />
+	<?php p($l->t('Share with me via ownCloud')); ?>
 
+</a></xmp>
 		</p>
 
 	</div>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list