make right_aside translatable and provide german translation...
and some css-fixes
This commit is contained in:
parent
4b762ff923
commit
8a71191d6d
23 changed files with 304 additions and 119 deletions
|
|
@ -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>';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue