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

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

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

revision 1.1.2.2 by eastcn, Tue Mar 10 02:18:59 2009 UTC revision 1.1.2.3 by eastcn, Sun Mar 22 18:53:55 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: photos.album.inc,v 1.1.2.1 2009/03/06 08:22:41 eastcn Exp $  // $Id: photos.album.inc,v 1.1.2.2 2009/03/10 02:18:59 eastcn Exp $
3    
4  //相册展示界面。  //相册展示界面。
5  //tpl.php: photos_albumview.tpl.php  //tpl.php: photos_albumview.tpl.php
# Line 140  function _photos_slide($node){ Line 140  function _photos_slide($node){
140    }    }
141    $type =  $node->type == 'photos' ? 'album' : 'sub_album';    $type =  $node->type == 'photos' ? 'album' : 'sub_album';
142    
143    return dfgallery_html(array('url' => url("photos/data/$type/$node->nid", array('absolute' => true, 'query' => array('type' => 'json.json'))), 'width' => $width, 'height' => $height));    return dfgallery_html(array('url' => url("photos/data/$type/$node->nid/json.json", array('absolute' => true)), 'width' => $width, 'height' => $height));
144  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.3