]> git.mxchange.org Git - friendica.git/commitdiff
add connectable services to right_aside
authortommy tomson <thomas.bierey@gmx.de>
Sat, 24 Mar 2012 05:17:14 +0000 (06:17 +0100)
committertommy tomson <thomas.bierey@gmx.de>
Sat, 24 Mar 2012 05:17:14 +0000 (06:17 +0100)
view/theme/diabook/communityhome.tpl
view/theme/diabook/icons/StatusNet.png [new file with mode: 0644]
view/theme/diabook/icons/email.png [new file with mode: 0644]
view/theme/diabook/icons/facebook.png [new file with mode: 0644]
view/theme/diabook/icons/livejournal.png [new file with mode: 0644]
view/theme/diabook/icons/posterous.png [new file with mode: 0644]
view/theme/diabook/icons/tumblr.png [new file with mode: 0644]
view/theme/diabook/icons/twitter.png [new file with mode: 0644]
view/theme/diabook/icons/wordpress.png [new file with mode: 0644]
view/theme/diabook/theme.php

index 46681998d7a65fb615ab9bdd6d652047d73aff83..34f8ab0661e7cf3ee9bf827e421c0758be4b0795 100755 (executable)
@@ -1,8 +1,22 @@
 {{ if $lastusers_title }}
 <h3 style="margin-top:0px;">Help or #NewHere ?</h3>
-<a href="https://helpers.pyxis.uberspace.de/profile/helpers" style="margin-left: 10px; color:#000;" title="Friendica Support" target="blank">Friendica Support</a><br>
-<a href="https://letstalk.pyxis.uberspace.de/profile/letstalk" style="margin-left: 10px; color:#000;" title="Let's talk" target="blank">Let's talk</a><br>
-<a href="http://kakste.com/profile/newhere" title="#NewHere" style="margin-left: 10px; color:#000;" target="blank">NewHere</a>
+<a href="https://helpers.pyxis.uberspace.de/profile/helpers" style="margin-left: 10px; " title="Friendica Support" target="blank">Friendica Support</a><br>
+<a href="https://letstalk.pyxis.uberspace.de/profile/letstalk" style="margin-left: 10px; " title="Let's talk" target="blank">Let's talk</a><br>
+<a href="http://kakste.com/profile/newhere" title="#NewHere" style="margin-left: 10px; " target="blank">NewHere</a>
+{{ endif }}
+
+{{ if $lastusers_title }}
+<h3>Connectable Services</h3>
+<div id="right_service_icons" style="margin-left: 10px; margin-top: 5px;">
+<a href="$url/facebook"><img alt="Facebook" src="view/theme/diabook/icons/facebook.png" title="Facebook"></a>
+<a href="$url/settings/connectors"><img alt="StatusNet" src="view/theme/diabook/icons/StatusNet.png?" title="StatusNet"></a>
+<a href="$url/settings/connectors"><img alt="LiveJournal" src="view/theme/diabook/icons/livejournal.png?" title="LiveJournal"></a>
+<a href="$url/settings/connectors"><img alt="Posterous" src="view/theme/diabook/icons/posterous.png?" title="Posterous"></a>
+<a href="$url/settings/connectors"><img alt="Tumblr" src="view/theme/diabook/icons/tumblr.png?" title="Tumblr"></a>
+<a href="$url/settings/connectors"><img alt="Twitter" src="view/theme/diabook/icons/twitter.png?" title="Twitter"></a>
+<a href="$url/settings/connectors"><img alt="WordPress" src="view/theme/diabook/icons/wordpress.png?" title="WordPress"></a>
+<a href="$url/settings/connectors"><img alt="E-Mail" src="view/theme/diabook/icons/email.png?" title="E-Mail"></a>
+</div>
 {{ endif }}
 
 {{ if $lastusers_title }}
diff --git a/view/theme/diabook/icons/StatusNet.png b/view/theme/diabook/icons/StatusNet.png
new file mode 100644 (file)
index 0000000..398bca7
Binary files /dev/null and b/view/theme/diabook/icons/StatusNet.png differ
diff --git a/view/theme/diabook/icons/email.png b/view/theme/diabook/icons/email.png
new file mode 100644 (file)
index 0000000..240cef2
Binary files /dev/null and b/view/theme/diabook/icons/email.png differ
diff --git a/view/theme/diabook/icons/facebook.png b/view/theme/diabook/icons/facebook.png
new file mode 100644 (file)
index 0000000..3e5dd39
Binary files /dev/null and b/view/theme/diabook/icons/facebook.png differ
diff --git a/view/theme/diabook/icons/livejournal.png b/view/theme/diabook/icons/livejournal.png
new file mode 100644 (file)
index 0000000..6d27d26
Binary files /dev/null and b/view/theme/diabook/icons/livejournal.png differ
diff --git a/view/theme/diabook/icons/posterous.png b/view/theme/diabook/icons/posterous.png
new file mode 100644 (file)
index 0000000..c8e8607
Binary files /dev/null and b/view/theme/diabook/icons/posterous.png differ
diff --git a/view/theme/diabook/icons/tumblr.png b/view/theme/diabook/icons/tumblr.png
new file mode 100644 (file)
index 0000000..1dc7fa0
Binary files /dev/null and b/view/theme/diabook/icons/tumblr.png differ
diff --git a/view/theme/diabook/icons/twitter.png b/view/theme/diabook/icons/twitter.png
new file mode 100644 (file)
index 0000000..b7a687b
Binary files /dev/null and b/view/theme/diabook/icons/twitter.png differ
diff --git a/view/theme/diabook/icons/wordpress.png b/view/theme/diabook/icons/wordpress.png
new file mode 100644 (file)
index 0000000..f564c43
Binary files /dev/null and b/view/theme/diabook/icons/wordpress.png differ
index 4600c92fbc882e33e249daae9a3086a276643cc4..adf31746fdf98e706612977d50f015bcca7e1884 100755 (executable)
@@ -139,6 +139,8 @@ function diabook_community_info(){
   
    $aside['$fostitJS'] = $fostitJS;
    
+   $url = $a->get_baseurl($ssl_state);   
+   $aside['$url'] = $url;
 
        $tpl = file_get_contents(dirname(__file__).'/communityhome.tpl');
        $a->page['right_aside'] = replace_macros($tpl, $aside);