]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/diabook-blue/theme.php
Merge pull request #161 from tomtom84/master
[friendica.git] / view / theme / diabook-blue / theme.php
index 75abb2fdf1dd46419d5354e32d884e035bc1102d..f9128ea1fd5424ef6a319bf4b394a346fa58c22c 100755 (executable)
@@ -11,9 +11,9 @@ $a->theme_info = array(
   'extends' => 'diabook',
 );
 
-//profile_side
-
+//fancybox: provide $photo.href to photo_top.tpl to img in org. scale
 
+//profile_side
 
 $nav['usermenu']=array();
 $userinfo = null;
@@ -34,7 +34,7 @@ $ps['usermenu'][profile] = Array('profile/' . $a->user['nickname']. '?tab=profil
 $ps['usermenu'][photos] = Array('photos/' . $a->user['nickname'], t('Photos'), "", t('Your photos'));
 $ps['usermenu'][events] = Array('events/', t('Events'), "", t('Your events'));
 $ps['usermenu'][notes] = Array('notes/', t('Personal notes'), "", t('Your personal photos'));
-
+$ps['usermenu'][community] = Array('community/', t('Community'), "", "");
 
 if($is_url = preg_match ("/\bnetwork\b/i", $_SERVER['REQUEST_URI'])) {
 $tpl = get_markup_template('profile_side.tpl');
@@ -110,10 +110,15 @@ $('html').click(function() {
      event.stopPropagation();
  });
  
- $(function() {
-       $('a.lightbox').fancybox(); // Select all links with lightbox class
+
+
+ $(document).ready(function() {
+       $("a.fancy-photo").fancybox(); // Select all links with lightbox class 
+       $("a.fancy-album").fancybox();
 });
 
+
+
  
  </script>
 EOT;