aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authortommy tomson <thomas.bierey@gmx.de>2012-03-24 06:17:14 +0100
committertommy tomson <thomas.bierey@gmx.de>2012-03-24 06:17:14 +0100
commit378762fed21b4145db9a153489fc732a3d110ef5 (patch)
tree40c0e3e4604fd706944c2882b4a9d1d8bd40bde1 /view
parentef27af623e293cf01ce8b1426451c1528cc74b47 (diff)
downloadvolse-hubzilla-378762fed21b4145db9a153489fc732a3d110ef5.tar.gz
volse-hubzilla-378762fed21b4145db9a153489fc732a3d110ef5.tar.bz2
volse-hubzilla-378762fed21b4145db9a153489fc732a3d110ef5.zip
add connectable services to right_aside
Diffstat (limited to 'view')
-rwxr-xr-xview/theme/diabook/communityhome.tpl20
-rw-r--r--view/theme/diabook/icons/StatusNet.pngbin0 -> 1257 bytes
-rw-r--r--view/theme/diabook/icons/email.pngbin0 -> 880 bytes
-rw-r--r--view/theme/diabook/icons/facebook.pngbin0 -> 1082 bytes
-rw-r--r--view/theme/diabook/icons/livejournal.pngbin0 -> 2029 bytes
-rw-r--r--view/theme/diabook/icons/posterous.pngbin0 -> 2783 bytes
-rw-r--r--view/theme/diabook/icons/tumblr.pngbin0 -> 938 bytes
-rw-r--r--view/theme/diabook/icons/twitter.pngbin0 -> 964 bytes
-rw-r--r--view/theme/diabook/icons/wordpress.pngbin0 -> 1693 bytes
-rwxr-xr-xview/theme/diabook/theme.php2
10 files changed, 19 insertions, 3 deletions
diff --git a/view/theme/diabook/communityhome.tpl b/view/theme/diabook/communityhome.tpl
index 46681998d..34f8ab066 100755
--- a/view/theme/diabook/communityhome.tpl
+++ b/view/theme/diabook/communityhome.tpl
@@ -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
index 000000000..398bca716
--- /dev/null
+++ b/view/theme/diabook/icons/StatusNet.png
Binary files differ
diff --git a/view/theme/diabook/icons/email.png b/view/theme/diabook/icons/email.png
new file mode 100644
index 000000000..240cef2c3
--- /dev/null
+++ b/view/theme/diabook/icons/email.png
Binary files differ
diff --git a/view/theme/diabook/icons/facebook.png b/view/theme/diabook/icons/facebook.png
new file mode 100644
index 000000000..3e5dd39c3
--- /dev/null
+++ b/view/theme/diabook/icons/facebook.png
Binary files differ
diff --git a/view/theme/diabook/icons/livejournal.png b/view/theme/diabook/icons/livejournal.png
new file mode 100644
index 000000000..6d27d265e
--- /dev/null
+++ b/view/theme/diabook/icons/livejournal.png
Binary files differ
diff --git a/view/theme/diabook/icons/posterous.png b/view/theme/diabook/icons/posterous.png
new file mode 100644
index 000000000..c8e86078e
--- /dev/null
+++ b/view/theme/diabook/icons/posterous.png
Binary files differ
diff --git a/view/theme/diabook/icons/tumblr.png b/view/theme/diabook/icons/tumblr.png
new file mode 100644
index 000000000..1dc7fa072
--- /dev/null
+++ b/view/theme/diabook/icons/tumblr.png
Binary files differ
diff --git a/view/theme/diabook/icons/twitter.png b/view/theme/diabook/icons/twitter.png
new file mode 100644
index 000000000..b7a687b9f
--- /dev/null
+++ b/view/theme/diabook/icons/twitter.png
Binary files differ
diff --git a/view/theme/diabook/icons/wordpress.png b/view/theme/diabook/icons/wordpress.png
new file mode 100644
index 000000000..f564c4300
--- /dev/null
+++ b/view/theme/diabook/icons/wordpress.png
Binary files differ
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php
index 4600c92fb..adf31746f 100755
--- a/view/theme/diabook/theme.php
+++ b/view/theme/diabook/theme.php
@@ -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);