diff options
author | Simon L'nu <simon.lnu@gmail.com> | 2012-04-29 22:06:16 -0400 |
---|---|---|
committer | Simon L'nu <simon.lnu@gmail.com> | 2012-04-29 22:06:16 -0400 |
commit | 34eb843fb486b9487f02553c1b791892bb7615fc (patch) | |
tree | 0cc1e343310753e018c0fb36f9848f227d5eb35a /view/theme/diabook/theme.php | |
parent | ecd1dab373a1fccb1663023f6515ed148475079d (diff) | |
parent | def6f0b408680c4e5f209890bbf1ad6bf40b5add (diff) | |
download | volse-hubzilla-34eb843fb486b9487f02553c1b791892bb7615fc.tar.gz volse-hubzilla-34eb843fb486b9487f02553c1b791892bb7615fc.tar.bz2 volse-hubzilla-34eb843fb486b9487f02553c1b791892bb7615fc.zip |
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master:
the heart should really be red.
fix location change notification
enhanced profile reporting for single values
add db field for removed account, which will also be the first test of update error checking
toggle to archive unfriends, though render them useless
indicate successful updates
diabook-themes: small fix
diabook-themes: bug/css-fixes
some constants for the db update failure possibilities
bring back the email and logging of update failures, but without the transactions
* master:
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-x | view/theme/diabook/theme.php | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index c45db9884..9a1ac0f68 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -3,13 +3,13 @@ /* * 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.022) + * Version: (Version: 1.023) * Author: */ //print diabook-version for debugging -$diabook_version = "Diabook (Version: 1.022)"; +$diabook_version = "Diabook (Version: 1.023)"; $a->page['htmlhead'] .= sprintf('<script "%s" ></script>', $diabook_version); //change css on network and profilepages @@ -313,6 +313,20 @@ $autogrowJS = $a->get_baseurl($ssl_state)."/view/theme/diabook/js/jquery.autogro $a->page['htmlhead'] .= sprintf('<script language="JavaScript" src="%s" ></script>', $autogrowJS); //js scripts + +//check if community_home-plugin is activated and change css +$nametocheck = "communityhome"; +$r = q("select id from addon where name = '%s' and installed = 1", dbesc($nametocheck)); +if(count($r) == "1") { + +$a->page['htmlhead'] .= ' +<script> +$(document).ready(function() { + $("div#login-submit-wrapper").attr("style","padding-top: 120px;"); + }); +</script>'; +} + //comment-edit-wrapper on photo_view if ($a->argv[0].$a->argv[2] === "photos"."image"){ @@ -324,7 +338,6 @@ $a->page['htmlhead'] .= ' }); </script>'; - } $a->page['htmlhead'] .= ' @@ -334,6 +347,10 @@ $a->page['htmlhead'] .= ' $("a.lightbox").fancybox(); // Select all links with lightbox class }); +$(window).load(function() { + var footer_top = $(document).height() - 30; + $("div#footerbox").attr("style", "border-top: 1px solid #D2D2D2; width: 70%;right: 15%;position: absolute;top:"+footer_top+"px;"); + }); </script>'; |