new-contacts-introductions in contacts-drop-down and new-messages in messages-drop-down get each an additional indicator...

profile-picture is now scaled right in firefox...
fixed broken css on introductions-page in firefox...
This commit is contained in:
tommy tomson 2012-04-06 11:19:12 +02:00
commit f980b79edc
174 changed files with 135 additions and 54 deletions

15
view/theme/diabook/theme.php Normal file → Executable file
View file

@ -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.012)
* Version: (Version: 1.013)
* Author:
*/
@ -339,9 +339,10 @@ if ($a->argv[0] === "settings"){
if (!is_null($cssFile)) $a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);
//load jquery.cookie.js
$cookieJS = $a->get_baseurl($ssl_state)."/view/theme/diabook-blue/js/jquery.cookie.js";
$cookieJS = $a->get_baseurl($ssl_state)."/view/theme/diabook/js/jquery.cookie.js";
$a->page['htmlhead'] .= sprintf('<script language="JavaScript" src="%s" ></script>', $cookieJS);
//js scripts
$a->page['htmlhead'] .= '
@ -350,15 +351,9 @@ $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>';
if ($a->argv[0].$a->argv[1] === "profile".$a->user['nickname'] or $a->argv[0] === "network" && local_user()){
$a->page['htmlhead'] .= '