/[drupal]/contributions/modules/photos/tpl/photos_imagehtml.tpl.php
ViewVC logotype

Diff of /contributions/modules/photos/tpl/photos_imagehtml.tpl.php

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, Wed Mar 11 02:38:31 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: photos_imagehtml.tpl.php,v 1.0 2009/2/10 22:51 eastcn Exp $  // $Id: photos_imagehtml.tpl.php,v 1.1.2.1 2009/03/06 08:22:41 eastcn Exp $
3  ?>  ?>
4  <?php  <?php
5    $filename = strip_tags($image['filename']);    $filename = strip_tags($image['filename']);
# Line 8  Line 8 
8  <?php if(!$image['href']){ ?>  <?php if(!$image['href']){ ?>
9  <img src="<?php print _photos_l($imagepath); ?>" alt="<?php print $alt ?>" title="<?php print $filename ?>"/>  <img src="<?php print _photos_l($imagepath); ?>" alt="<?php print $alt ?>" title="<?php print $filename ?>"/>
10  <?php }else{ ?>  <?php }else{ ?>
11  <a href="<?php print _photos_l($image['href']); ?>"><img src="<?php print _photos_l($imagepath); ?>" alt="<?php print $alt ?>" title="<?php print $filename ?>"/></a>    <?php if($image['thickbox']) : ?>
12        <div class="photos_imagehtml">
13      <?php endif; ?>
14        <a href="<?php print url($image['href']); ?>"><img src="<?php print _photos_l($imagepath); ?>" alt="<?php print $alt ?>" title="<?php print $filename ?>"/></a>
15      <?php if($image['thickbox']) : ?>
16          <a class="photos_imagehtml_thickbox thickbox" rel="thickbox_<?php print $image['pid']; ?>" href="<?php print _photos_l($image['thickbox']); ?>" title="<?php print $filename; ?>"></a>
17        </div>
18      <?php endif; ?>
19  <?php } ?>  <?php } ?>

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