diff options
author | tommy tomson <thomas.bierey@gmx.de> | 2012-03-25 19:43:42 +0200 |
---|---|---|
committer | tommy tomson <thomas.bierey@gmx.de> | 2012-03-25 19:43:42 +0200 |
commit | baeb7353153924489d8d79a36d9b21c28c5f2ac4 (patch) | |
tree | d1f8a808d45f16c5f9b4eb016a2276eb797850f3 /view/theme/diabook/theme.php | |
parent | 873a55e9186cdf3d92b2793cd366debf237c8cda (diff) | |
download | volse-hubzilla-baeb7353153924489d8d79a36d9b21c28c5f2ac4.tar.gz volse-hubzilla-baeb7353153924489d8d79a36d9b21c28c5f2ac4.tar.bz2 volse-hubzilla-baeb7353153924489d8d79a36d9b21c28c5f2ac4.zip |
small fixes
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-x | view/theme/diabook/theme.php | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 29cc64c18..5b87e3142 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -36,7 +36,7 @@ function diabook_community_info(){ FROM `profile` LEFT JOIN `user` ON `user`.`uid` = `profile`.`uid` WHERE `is-default` = 1 $publish AND `user`.`blocked` = 0 $sql_extra $order LIMIT %d , %d ", 0, - 12 + 9 ); $tpl = file_get_contents( dirname(__file__).'/directory_item.tpl'); if(count($r)) { @@ -64,7 +64,7 @@ function diabook_community_info(){ WHERE `T1`.`liker-link` LIKE '%s%%' OR `item`.`author-link` LIKE '%s%%' GROUP BY `uri` ORDER BY `T1`.`created` DESC - LIMIT 0,10", + LIMIT 0,5", $a->get_baseurl(),$a->get_baseurl() ); @@ -112,7 +112,7 @@ function diabook_community_info(){ AND `user`.`blockwall`=0 AND `user`.`hidewall`=0 ORDER BY `photo`.`edited` DESC - LIMIT 0, 12", + LIMIT 0, 9", dbesc(t('Contact Photos')), dbesc(t('Profile Photos')) ); @@ -189,7 +189,7 @@ function diabook_community_info(){ //profile_side at networkpages -if ($a->argv[0] === "network"){ +if ($a->argv[0] === "network" && local_user()){ // USER MENU if(local_user()) { @@ -251,6 +251,14 @@ $a->page['htmlhead'] .= <<< EOT $(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> EOT; |