aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/theme.php
diff options
context:
space:
mode:
authortommy tomson <thomas.bierey@gmx.de>2012-04-03 20:59:00 +0200
committertommy tomson <thomas.bierey@gmx.de>2012-04-03 20:59:00 +0200
commit8a71191d6d45f74e200bb6e279916375c2416b05 (patch)
treeb86669aea0ffffc73e8bbd6b0adb6122033e0c8e /view/theme/diabook/theme.php
parent4b762ff923626addc10e3b90c6fef183320c84ea (diff)
downloadvolse-hubzilla-8a71191d6d45f74e200bb6e279916375c2416b05.tar.gz
volse-hubzilla-8a71191d6d45f74e200bb6e279916375c2416b05.tar.bz2
volse-hubzilla-8a71191d6d45f74e200bb6e279916375c2416b05.zip
make right_aside translatable and provide german translation...
and some css-fixes
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-xview/theme/diabook/theme.php36
1 files changed, 31 insertions, 5 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php
index 2fe985060..50a7c6974 100755
--- a/view/theme/diabook/theme.php
+++ b/view/theme/diabook/theme.php
@@ -3,7 +3,7 @@
/*
* Name: Diabook
* Description: Diabook: report bugs and request here: http://pad.toktan.org/p/diabook or contact me : thomas_bierey@friendica.eu
- * Version: (Version: 1.011)
+ * Version: (Version: 1.012)
* Author:
*/
@@ -143,7 +143,8 @@ function diabook_community_info(){
//right_aside FIND FRIENDS
if(local_user()) {
$nv = array();
- $nv['directory'] = Array('directory', t('Local').' '.t('Directory'), "", "");
+ $nv['title'] = Array("", t('Find Friends'), "", "");
+ $nv['directory'] = Array('directory', t('Local Directory'), "", "");
$nv['global_directory'] = Array('http://dir.friendica.com/', t('Global Directory'), "", "");
$nv['match'] = Array('match', t('Similar Interests'), "", "");
$nv['suggest'] = Array('suggest', t('Friend Suggestions'), "", "");
@@ -193,9 +194,28 @@ function diabook_community_info(){
$aside['$page'] = $page;
}
- //END Community Page
-
-
+ //END Community Page
+ //helpers
+ $helpers = array();
+ $helpers['title'] = Array("", t('Help or @NewHere ?'), "", "");
+
+ $aside['$helpers'] = $helpers;
+ //end helpers
+ //connectable services
+ $con_services = array();
+ $con_services['title'] = Array("", t('Connect Services'), "", "");
+
+ $aside['$con_services'] = $con_services;
+ //end connectable services
+ //postit
+ $postit = array();
+ $postit['title'] = Array("", t('PostIt to Friendica'), t('Post to Friendica'), "");
+ $postit['text'] = Array("", t(' from anywhere by bookmarking this Link.'), "", "");
+
+ $aside['$postit'] = $postit;
+ //end postit
+
+ //get_baseurl
$url = $a->get_baseurl($ssl_state);
$aside['$url'] = $url;
@@ -330,6 +350,12 @@ $a->page['htmlhead'] .= '
$(function() {
$("a.lightbox").fancybox(); // Select all links with lightbox class
});
+
+ $(document).ready(function (){
+ $("iframe").each(function(){
+ var url = $(this).attr("src");
+ $(this).attr("src",url+"?wmode=transparent"); });
+ });
</script>';