aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/theme.php
diff options
context:
space:
mode:
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>';