1
0
Fork 0

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:
This commit is contained in:
Simon L'nu 2012-04-29 22:06:16 -04:00
commit 34eb843fb4
29 changed files with 238 additions and 144 deletions

View file

@ -21,6 +21,7 @@
.admin.linklist {
border: 0px; padding: 0px;
list-style: none;
}
.admin.link {
@ -1014,7 +1015,7 @@ ul.menu-popup .empty {
background-color: #bdcdd4;
}
#nav-notifications-menu {
width: 400px;
width: 425px !important;
max-height: 550px;
overflow: auto;
}
@ -1243,7 +1244,7 @@ aside #likes a:hover{
margin-right: 20px;
}
#login-submit-wrapper{
padding-top: 120px;
margin-bottom: 12px;
}
aside #login-submit-button{

View file

@ -21,6 +21,7 @@
.admin.linklist {
border: 0px; padding: 0px;
list-style: none;
}
.admin.link {
@ -1013,7 +1014,7 @@ ul.menu-popup .empty {
background-color: #bdcdd4;
}
#nav-notifications-menu {
width: 400px;
width: 425px !important;
max-height: 550px;
overflow: auto;
}
@ -1241,7 +1242,7 @@ aside #likes a:hover{
margin-right: 20px;
}
#login-submit-wrapper{
padding-top: 120px;
margin-bottom: 12px;
}
aside #login-submit-button{

View file

@ -21,6 +21,7 @@
.admin.linklist {
border: 0px; padding: 0px;
list-style: none;
}
.admin.link {
@ -983,7 +984,7 @@ ul.menu-popup .empty {
background-color: #bdcdd4;
}
#nav-notifications-menu {
width: 400px;
width: 425px !important;
max-height: 550px;
overflow: auto;
}
@ -1203,7 +1204,7 @@ aside #side-peoplefind-url {
margin-right: 20px;
}
#login-submit-wrapper{
padding-top: 120px;
margin-bottom: 12px;
}
aside #login-submit-button{

View file

@ -21,6 +21,7 @@
.admin.linklist {
border: 0px; padding: 0px;
list-style: none;
}
.admin.link {
@ -982,7 +983,7 @@ ul.menu-popup .empty {
background-color: #bdcdd4;
}
#nav-notifications-menu {
width: 400px;
width: 425px !important;
max-height: 550px;
overflow: auto;
}
@ -1201,7 +1202,7 @@ aside #side-peoplefind-url {
margin-right: 20px;
}
#login-submit-wrapper{
padding-top: 120px;
margin-bottom: 12px;
}
aside #login-submit-button{

View file

@ -439,7 +439,7 @@ a:hover {
clear: both;
}
.fakelink {
color: #194719;
color: #2c9936;
/* color: #3e3e8c; */
text-decoration: none;
cursor: pointer;
@ -1301,7 +1301,7 @@ transition: all 0.2s ease-in-out;
padding-top: 10px;
}
.tread-wrapper a{
color: #194719;
color: #2c9936;
}
/*marker*/
@ -1840,7 +1840,7 @@ transition: all 0.2s ease-in-out;
font-weight: bolder;
}
.button.creation2 {
background-color: #194719;
background-color: #2c9936;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;

View file

@ -439,7 +439,7 @@ a:hover {
clear: both;
}
.fakelink {
color: #194719;
color: #2c9936;
/* color: #3e3e8c; */
text-decoration: none;
cursor: pointer;
@ -493,7 +493,7 @@ code {
float: right;
}
.tool a {
color: #194719;
color: #2c9936;
}
.tool a:hover {
text-decoration: none;
@ -1297,7 +1297,7 @@ transition: all 0.2s ease-in-out;
padding-top: 10px;
}
.tread-wrapper a{
color: #194719;
color: #2c9936;
}
.wall-item-decor {
@ -1832,7 +1832,7 @@ transition: all 0.2s ease-in-out;
font-weight: bolder;
}
.button.creation2 {
background-color: #194719;
background-color: #2c9936;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;
@ -1964,7 +1964,7 @@ ul.tabs li {
margin-left: 5px;
}
ul.tabs li .active {
background-color: #194719;
background-color: #2c9936;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;

View file

@ -440,7 +440,7 @@ a:hover {
clear: both;
}
.fakelink {
color: #194719;
color: #2c9936;
/* color: #3e3e8c; */
text-decoration: none;
cursor: pointer;
@ -1276,7 +1276,7 @@ transition: all 0.2s ease-in-out;
padding-top: 10px;
}
.tread-wrapper a{
color: #194719;
color: #2c9936;
}
/*marker*/
@ -1811,7 +1811,7 @@ transition: all 0.2s ease-in-out;
cursor: pointer;
}
.button.creation2 {
background-color: #194719;
background-color: #2c9936;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;
@ -1945,7 +1945,7 @@ ul.tabs li {
margin-left: 5px;
}
ul.tabs li .active {
background-color: #194719;
background-color: #2c9936;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;

View file

@ -440,7 +440,7 @@ a:hover {
clear: both;
}
.fakelink {
color: #194719;
color: #2c9936;
/* color: #3e3e8c; */
text-decoration: none;
cursor: pointer;
@ -1270,7 +1270,7 @@ transition: all 0.2s ease-in-out;
padding-top: 10px;
}
.tread-wrapper a{
color: #194719;
color: #2c9936;
}
.wall-item-decor {
@ -1801,7 +1801,7 @@ transition: all 0.2s ease-in-out;
cursor: pointer;
}
.button.creation2 {
background-color: #194719;
background-color: #2c9936;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;
@ -1933,7 +1933,7 @@ ul.tabs li {
margin-left: 5px;
}
ul.tabs li .active {
background-color: #194719;
background-color: #2c9936;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;

View file

@ -21,6 +21,7 @@
.admin.linklist {
border: 0px; padding: 0px;
list-style: none;
}
.admin.link {
@ -476,7 +477,7 @@ a:hover {
clear: both;
}
.fakelink {
color: #194719;
color: #2c9936;
/* color: #3e3e8c; */
text-decoration: none;
cursor: pointer;
@ -614,7 +615,7 @@ header #banner #logo-text {
}
/* messages */
#message-new {
background: #194719;
background: #2c9936;
border: 1px solid #333;
width: 150px;
}
@ -991,7 +992,7 @@ ul.menu-popup .empty {
background-color: #bdcdd4;
}
#nav-notifications-menu {
width: 400px;
width: 425px !important;
max-height: 550px;
overflow: auto;
}
@ -1185,7 +1186,7 @@ aside #side-peoplefind-url {
height: auto;
}
aside #likes a, a:visited, a:link {
color: #194719;
color: #2c9936;
text-decoration: none;
cursor: pointer;
@ -1220,7 +1221,7 @@ aside #likes a:hover{
margin-right: 20px;
}
#login-submit-wrapper{
padding-top: 120px;
margin-bottom: 12px;
}
aside #login-submit-button{
@ -1422,7 +1423,7 @@ body .pageheader{
padding-top: 10px;
}
.tread-wrapper a{
color: #194719;
color: #2c9936;
}
/*marker*/
@ -2073,7 +2074,7 @@ body .pageheader{
cursor: pointer;
}
.button.creation2 {
background-color: #194719;
background-color: #2c9936;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;
@ -2207,7 +2208,7 @@ ul.tabs li {
margin-left: 5px;
}
ul.tabs li .active {
background-color: #194719;
background-color: #2c9936;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;
@ -2225,7 +2226,7 @@ ul.rs_tabs li {
clear: both;
}
ul.rs_tabs li .selected {
background-color: #194719;
background-color: #2c9936;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;

View file

@ -21,6 +21,7 @@
.admin.linklist {
border: 0px; padding: 0px;
list-style: none;
}
.admin.link {
@ -477,7 +478,7 @@ a:hover {
}
/*color*/
.fakelink {
color: #194719;
color: #2c9936;
/* color: #3e3e8c; */
text-decoration: none;
cursor: pointer;
@ -550,7 +551,7 @@ code {
}
/*color*/
.tool a {
color: #194719;
color: #2c9936;
}
.tool a:hover {
text-decoration: none;
@ -617,7 +618,7 @@ header #banner #logo-text {
/*color*/
/* messages */
#message-new {
background: #194719;
background: #2c9936;
border: 1px solid #333;
width: 150px;
}
@ -994,7 +995,7 @@ ul.menu-popup .empty {
background-color: #bdcdd4;
}
#nav-notifications-menu {
width: 400px;
width: 425px !important;
max-height: 550px;
overflow: auto;
}
@ -1189,7 +1190,7 @@ aside #side-peoplefind-url {
}
/*color*/
aside #likes a, a:visited, a:link {
color: #194719;
color: #2c9936;
text-decoration: none;
cursor: pointer;
@ -1224,7 +1225,7 @@ aside #likes a:hover{
margin-right: 20px;
}
#login-submit-wrapper{
padding-top: 120px;
margin-bottom: 12px;
}
aside #login-submit-button{
@ -1425,7 +1426,7 @@ body .pageheader{
}
/*color*/
.tread-wrapper a{
color: #194719;
color: #2c9936;
}
.wall-item-decor {
position: absolute;
@ -2071,7 +2072,7 @@ body .pageheader{
}
/*color*/
.button.creation2 {
background-color: #194719;
background-color: #2c9936;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;
@ -2204,7 +2205,7 @@ ul.tabs li {
}
/*color*/
ul.tabs li .active {
background-color: #194719;
background-color: #2c9936;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;
@ -2223,7 +2224,7 @@ ul.rs_tabs li {
}
/*color*/
ul.rs_tabs li .selected {
background-color: #194719;
background-color: #2c9936;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;

View file

@ -439,7 +439,7 @@ a:hover {
clear: both;
}
.fakelink {
color: #996d73;
color: #D02B55;
/* color: #3e3e8c; */
text-decoration: none;
cursor: pointer;
@ -807,7 +807,7 @@ ul.menu-popup a {
text-decoration: none;
}
ul.menu-popup a:hover {
background-color: #996d73; /*bdcdd4;*/
background-color: #D02B55; /*bdcdd4;*/
color: #fff;
}
ul.menu-popup .menu-sep {
@ -1301,7 +1301,7 @@ transition: all 0.2s ease-in-out;
padding-top: 10px;
}
.tread-wrapper a{
color: #996d73;
color: #D02B55;
}
/*marker*/
@ -1840,7 +1840,7 @@ transition: all 0.2s ease-in-out;
font-weight: bolder;
}
.button.creation2 {
background-color: #996d73;
background-color: #D02B55;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;

View file

@ -439,7 +439,7 @@ a:hover {
clear: both;
}
.fakelink {
color: #996d73;
color: #D02B55;
/* color: #3e3e8c; */
text-decoration: none;
cursor: pointer;
@ -493,7 +493,7 @@ code {
float: right;
}
.tool a {
color: #996d73;
color: #D02B55;
}
.tool a:hover {
text-decoration: none;
@ -807,7 +807,7 @@ ul.menu-popup a {
text-decoration: none;
}
ul.menu-popup a:hover {
background-color: #996d73; /*bdcdd4;*/
background-color: #D02B55; /*bdcdd4;*/
color: #fff;
}
ul.menu-popup .menu-sep {
@ -1297,7 +1297,7 @@ transition: all 0.2s ease-in-out;
padding-top: 10px;
}
.tread-wrapper a{
color: #996d73;
color: #D02B55;
}
.wall-item-decor {
@ -1832,7 +1832,7 @@ transition: all 0.2s ease-in-out;
font-weight: bolder;
}
.button.creation2 {
background-color: #996d73;
background-color: #D02B55;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;
@ -1964,7 +1964,7 @@ ul.tabs li {
margin-left: 5px;
}
ul.tabs li .active {
background-color: #996d73;
background-color: #D02B55;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;

View file

@ -440,7 +440,7 @@ a:hover {
clear: both;
}
.fakelink {
color: #996d73;
color: #D02B55;
/* color: #3e3e8c; */
text-decoration: none;
cursor: pointer;
@ -807,7 +807,7 @@ ul.menu-popup a {
text-decoration: none;
}
ul.menu-popup a:hover {
background-color: #996d73; /*bdcdd4;*/
background-color: #D02B55; /*bdcdd4;*/
color: #fff;
}
ul.menu-popup .menu-sep {
@ -1276,7 +1276,7 @@ transition: all 0.2s ease-in-out;
padding-top: 10px;
}
.tread-wrapper a{
color: #996d73;
color: #D02B55;
}
/*marker*/
@ -1811,7 +1811,7 @@ transition: all 0.2s ease-in-out;
cursor: pointer;
}
.button.creation2 {
background-color: #996d73;
background-color: #D02B55;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;
@ -1945,7 +1945,7 @@ ul.tabs li {
margin-left: 5px;
}
ul.tabs li .active {
background-color: #996d73;
background-color: #D02B55;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;

View file

@ -440,7 +440,7 @@ a:hover {
clear: both;
}
.fakelink {
color: #996d73;
color: #D02B55;
/* color: #3e3e8c; */
text-decoration: none;
cursor: pointer;
@ -806,7 +806,7 @@ ul.menu-popup a {
text-decoration: none;
}
ul.menu-popup a:hover {
background-color: #996d73; /*bdcdd4;*/
background-color: #D02B55; /*bdcdd4;*/
color: #fff;
}
ul.menu-popup .menu-sep {
@ -1270,7 +1270,7 @@ transition: all 0.2s ease-in-out;
padding-top: 10px;
}
.tread-wrapper a{
color: #996d73;
color: #D02B55;
}
.wall-item-decor {
@ -1801,7 +1801,7 @@ transition: all 0.2s ease-in-out;
cursor: pointer;
}
.button.creation2 {
background-color: #996d73;
background-color: #D02B55;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;
@ -1933,7 +1933,7 @@ ul.tabs li {
margin-left: 5px;
}
ul.tabs li .active {
background-color: #996d73;
background-color: #D02B55;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;

View file

@ -21,6 +21,7 @@
.admin.linklist {
border: 0px; padding: 0px;
list-style: none;
}
.admin.link {
@ -476,7 +477,7 @@ a:hover {
clear: both;
}
.fakelink {
color: #996d73;
color: #D02B55;
/* color: #3e3e8c; */
text-decoration: none;
cursor: pointer;
@ -614,7 +615,7 @@ header #banner #logo-text {
}
/* messages */
#message-new {
background: #996d73;
background: #D02B55;
border: 1px solid #333;
width: 150px;
}
@ -943,7 +944,7 @@ ul.menu-popup a {
text-decoration: none;
}
ul.menu-popup a:hover {
background-color: #996d73; /*bdcdd4;*/
background-color: #D02B55; /*bdcdd4;*/
color: #fff;
}
ul.menu-popup .menu-sep {
@ -991,7 +992,7 @@ ul.menu-popup .empty {
background-color: #bdcdd4;
}
#nav-notifications-menu {
width: 400px;
width: 425px !important;
max-height: 550px;
overflow: auto;
}
@ -1185,7 +1186,7 @@ aside #side-peoplefind-url {
height: auto;
}
aside #likes a, a:visited, a:link {
color: #996d73;
color: #D02B55;
text-decoration: none;
cursor: pointer;
@ -1220,7 +1221,7 @@ aside #likes a:hover{
margin-right: 20px;
}
#login-submit-wrapper{
padding-top: 120px;
margin-bottom: 12px;
}
aside #login-submit-button{
@ -1422,7 +1423,7 @@ body .pageheader{
padding-top: 10px;
}
.tread-wrapper a{
color: #996d73;
color: #D02B55;
}
/*marker*/
@ -2073,7 +2074,7 @@ body .pageheader{
cursor: pointer;
}
.button.creation2 {
background-color: #996d73;
background-color: #D02B55;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;
@ -2207,7 +2208,7 @@ ul.tabs li {
margin-left: 5px;
}
ul.tabs li .active {
background-color: #996d73;
background-color: #D02B55;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;
@ -2225,7 +2226,7 @@ ul.rs_tabs li {
clear: both;
}
ul.rs_tabs li .selected {
background-color: #996d73;
background-color: #D02B55;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;

View file

@ -21,6 +21,7 @@
.admin.linklist {
border: 0px; padding: 0px;
list-style: none;
}
.admin.link {
@ -477,7 +478,7 @@ a:hover {
}
/*color*/
.fakelink {
color: #996d73;
color: #D02B55;
/* color: #3e3e8c; */
text-decoration: none;
cursor: pointer;
@ -550,7 +551,7 @@ code {
}
/*color*/
.tool a {
color: #996d73;
color: #D02B55;
}
.tool a:hover {
text-decoration: none;
@ -617,7 +618,7 @@ header #banner #logo-text {
/* messages */
/*color*/
#message-new {
background: #996d73;
background: #D02B55;
border: 1px solid #333;
width: 150px;
}
@ -946,7 +947,7 @@ ul.menu-popup a {
}
/*color*/
ul.menu-popup a:hover {
background-color: #996d73; /*bdcdd4;*/
background-color: #D02B55; /*bdcdd4;*/
color: #fff;
}
ul.menu-popup .menu-sep {
@ -994,7 +995,7 @@ ul.menu-popup .empty {
background-color: #bdcdd4;
}
#nav-notifications-menu {
width: 400px;
width: 425px !important;
max-height: 550px;
overflow: auto;
}
@ -1189,7 +1190,7 @@ aside #side-peoplefind-url {
}
/*color*/
aside #likes a, a:visited, a:link {
color: #996d73;
color: #D02B55;
text-decoration: none;
cursor: pointer;
@ -1224,7 +1225,7 @@ aside #likes a:hover{
margin-right: 20px;
}
#login-submit-wrapper{
padding-top: 120px;
margin-bottom: 12px;
}
aside #login-submit-button{
@ -1425,7 +1426,7 @@ body .pageheader{
}
/*color*/
.tread-wrapper a{
color: #996d73;
color: #D02B55;
}
.wall-item-decor {
position: absolute;
@ -2071,7 +2072,7 @@ body .pageheader{
}
/*color*/
.button.creation2 {
background-color: #996d73;
background-color: #D02B55;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;
@ -2204,7 +2205,7 @@ ul.tabs li {
}
/*color*/
ul.tabs li .active {
background-color: #996d73;
background-color: #D02B55;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;
@ -2223,7 +2224,7 @@ ul.rs_tabs li {
}
/*color*/
ul.rs_tabs li .selected {
background-color: #996d73;
background-color: #D02B55;
border: 1px solid #777777;
color: white;
border-radius: 3px 3px 3px 3px;

View file

@ -21,6 +21,7 @@
.admin.linklist {
border: 0px; padding: 0px;
list-style: none;
}
.admin.link {
@ -1013,7 +1014,7 @@ ul.menu-popup .empty {
background-color: #bdcdd4;
}
#nav-notifications-menu {
width: 400px;
width: 425px !important;
max-height: 550px;
overflow: auto;
}
@ -1232,7 +1233,7 @@ aside #side-peoplefind-url {
margin-right: 20px;
}
#login-submit-wrapper{
padding-top: 120px;
margin-bottom: 12px;
}
aside #login-submit-button{

View file

@ -21,6 +21,7 @@
.admin.linklist {
border: 0px; padding: 0px;
list-style: none;
}
.admin.link {
@ -1012,7 +1013,7 @@ ul.menu-popup .empty {
background-color: #bdcdd4;
}
#nav-notifications-menu {
width: 400px;
width: 425px !important;
max-height: 550px;
overflow: auto;
}
@ -1230,7 +1231,7 @@ aside #side-peoplefind-url {
margin-right: 20px;
}
#login-submit-wrapper{
padding-top: 120px;
margin-bottom: 12px;
}
aside #login-submit-button{

View file

@ -1,4 +1,3 @@
<div style="display: table-cell"></div>
<div style="border-top: 1px solid #D2D2D2; width: 100%;margin-top: 30px;">
<div id="footerbox" style="display:none">
<a style="float:right; color:#333;margin-right:10px;display: table;margin-top: 5px;" href="friendica" title="Site Info / Impressum" >Info / Impressum</a>
</div>

View file

@ -136,7 +136,7 @@
</nav>
<div id="scrollup" style="position: fixed; bottom: 5px; right: 10px;"><a id="down" onclick="scrolldown()" ><img id="scroll_top_bottom" src="view/theme/diabook/icons/scroll_bottom.png" style="display:cursor !important;" alt="back to top" title="Back to top"></a></div>
<div id="scrollup" style="position: fixed; bottom: 5px; right: 10px;z-index: 97;"><a id="down" onclick="scrolldown()" ><img id="scroll_top_bottom" src="view/theme/diabook/icons/scroll_bottom.png" style="display:cursor !important;" alt="back to top" title="Back to top"></a></div>
<div style="position: fixed; bottom: 3px; left: 25px;">$langselector</div>
<div style="position: fixed; bottom: 23px; left: 5px;"><a href="http://pad.toktan.org/p/diabook" target="blank" ><img src="view/theme/diabook/icons/bluebug.png" title="report bugs for the theme diabook"/></a></div>

View file

@ -21,6 +21,7 @@
.admin.linklist {
border: 0px; padding: 0px;
list-style: none;
}
.admin.link {
@ -974,7 +975,7 @@ ul.menu-popup .empty {
background-color: #bdcdd4;
}
#nav-notifications-menu {
width: 400px;
width: 425px !important;
max-height: 550px;
overflow: auto;
}
@ -1195,7 +1196,7 @@ aside #side-peoplefind-url {
margin-right: 20px;
}
#login-submit-wrapper{
padding-top: 120px;
margin-bottom: 12px;
}
aside #login-submit-button{

View file

@ -21,6 +21,7 @@
.admin.linklist {
border: 0px; padding: 0px;
list-style: none;
}
.admin.link {
@ -974,7 +975,7 @@ ul.menu-popup .empty {
background-color: #bdcdd4;
}
#nav-notifications-menu {
width: 400px;
width: 425px !important;
max-height: 550px;
overflow: auto;
}
@ -1198,7 +1199,7 @@ aside #side-peoplefind-url {
margin-right: 20px;
}
#login-submit-wrapper{
padding-top: 120px;
margin-bottom: 12px;
}
aside #login-submit-button{

View file

@ -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>';