From 378762fed21b4145db9a153489fc732a3d110ef5 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Sat, 24 Mar 2012 06:17:14 +0100 Subject: add connectable services to right_aside --- view/theme/diabook/communityhome.tpl | 20 +++++++++++++++++--- view/theme/diabook/icons/StatusNet.png | Bin 0 -> 1257 bytes view/theme/diabook/icons/email.png | Bin 0 -> 880 bytes view/theme/diabook/icons/facebook.png | Bin 0 -> 1082 bytes view/theme/diabook/icons/livejournal.png | Bin 0 -> 2029 bytes view/theme/diabook/icons/posterous.png | Bin 0 -> 2783 bytes view/theme/diabook/icons/tumblr.png | Bin 0 -> 938 bytes view/theme/diabook/icons/twitter.png | Bin 0 -> 964 bytes view/theme/diabook/icons/wordpress.png | Bin 0 -> 1693 bytes view/theme/diabook/theme.php | 2 ++ 10 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 view/theme/diabook/icons/StatusNet.png create mode 100644 view/theme/diabook/icons/email.png create mode 100644 view/theme/diabook/icons/facebook.png create mode 100644 view/theme/diabook/icons/livejournal.png create mode 100644 view/theme/diabook/icons/posterous.png create mode 100644 view/theme/diabook/icons/tumblr.png create mode 100644 view/theme/diabook/icons/twitter.png create mode 100644 view/theme/diabook/icons/wordpress.png 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 }}

Help or #NewHere ?

-Friendica Support
-Let's talk
-NewHere +Friendica Support
+Let's talk
+NewHere +{{ endif }} + +{{ if $lastusers_title }} +

Connectable Services

+
+Facebook +StatusNet +LiveJournal +Posterous +Tumblr +Twitter +WordPress +E-Mail +
{{ 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 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 index 000000000..240cef2c3 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 index 000000000..3e5dd39c3 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 index 000000000..6d27d265e 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 index 000000000..c8e86078e 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 index 000000000..1dc7fa072 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 index 000000000..b7a687b9f 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 index 000000000..f564c4300 Binary files /dev/null and b/view/theme/diabook/icons/wordpress.png 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); -- cgit v1.2.3