/[drupal]/contributions/modules/photos/inc/photos.page.inc
ViewVC logotype

Diff of /contributions/modules/photos/inc/photos.page.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.1 by eastcn, Fri Mar 6 08:22:41 2009 UTC revision 1.1.2.2 by eastcn, Sun Mar 22 18:53:55 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: photos.page.inc,v 1.1.2.25 2008/12/20 05:47:21 eastcn Exp $  // $Id: photos.page.inc,v 1.1.2.1 2009/03/06 08:22:41 eastcn Exp $
3  function photos_page_default(){  function photos_page_default(){
4    global $user;    global $user;
5    if($user->uid && user_access('create photo')){    if($user->uid && user_access('create photo')){
# Line 45  function photos_page_image($ac = false){ Line 45  function photos_page_image($ac = false){
45      $album['links'] = _photos_order_link('photos/image', photos_get_count('site_image'), 0, 1);      $album['links'] = _photos_order_link('photos/image', photos_get_count('site_image'), 0, 1);
46    }    }
47    $com = variable_get('photos_comment', 0);    $com = variable_get('photos_comment', 0);
48    if($ac->uid == $user->uid){    if($user->uid && $ac->uid == $user->uid){
49      $edit = 1;      $edit = 1;
50    }    }
51    $vote = variable_get('photos_vote', 0);    $vote = variable_get('allowed to vote', 0);
52    $label = variable_get('photos_display_list_imagesize', false);    $label = variable_get('photos_display_list_imagesize', false);
53    while($data = db_fetch_array($result)){    while($data = db_fetch_array($result)){
54      $image = photos_get_info(0, $data);      $image = photos_get_info(0, $data);

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

  ViewVC Help
Powered by ViewVC 1.1.3