| 1 |
<?php
|
| 2 |
// $Id: photos_imageblock.tpl.php,v 1.5 2008/10/08 09:29:10 eastcn Exp $
|
| 3 |
?>
|
| 4 |
<div class="photo_info_top"><?php print t('Uploaded by: ');?></div>
|
| 5 |
<div class="photo_info_bottom">
|
| 6 |
<?php print $image['user_name'];?>
|
| 7 |
<a href="<?php print $image['user_url'];?>"><?php print t('View all images');?></a>
|
| 8 |
</div>
|
| 9 |
<div class="photo_info_top"><?php print t('Time of upload: ');?></div>
|
| 10 |
<div class="photo_info_bottom"><?php print $image['album']['time'];?></div>
|
| 11 |
<div class="photo_info_top"><?php print t('Belongs to album:');?></div>
|
| 12 |
<div class="photo_info_bottom">
|
| 13 |
<a href="<?php print $image['album']['albumurl'];?>"><?php print $image['album']['ptitle'];?>(<?php print $image['album']['albumnum'];?>)</a>
|
| 14 |
<?php if($image['album']['flash']) { ?>
|
| 15 |
<a href="<?php print $image['album']['flash'];?>"><?php print t('View all images');?></a>
|
| 16 |
<?php }?>
|
| 17 |
</div>
|
| 18 |
<?php if($image['album']['nodeurl']){ ?>
|
| 19 |
<div class="photo_info_top"><?php print t('Belongs to node:');?></div>
|
| 20 |
<div class="photo_info_bottom">
|
| 21 |
<a href="<?php print $image['album']['nodeurl'];?>"><?php print $image['album']['title'];?></a>
|
| 22 |
(<?php print $image['album']['nodenum'];?>)
|
| 23 |
</div>
|
| 24 |
<?php }?>
|
| 25 |
<table id="photos_block_pager">
|
| 26 |
<tr class="photos-prev">
|
| 27 |
<?php if($image['pager']['prev_url']) { ?>
|
| 28 |
<td>
|
| 29 |
<a href="<?php print $image['pager']['prev_url'];?>#image-load"><img src="<?php print $image['pager']['prev_view'];?>" /></a>
|
| 30 |
<div><a href="<?php print $image['pager']['prev_url'];?>#image-load"><?php print t('previous');?></a></div>
|
| 31 |
</td>
|
| 32 |
<?php } ?>
|
| 33 |
<?php if($image['pager']['current_url']) { ?>
|
| 34 |
<td>
|
| 35 |
<img src="<?php print $image['pager']['current_view'];?>"/>
|
| 36 |
<div>▲</div>
|
| 37 |
</td>
|
| 38 |
<?php } ?>
|
| 39 |
<?php if($image['pager']['next_url']) { ?>
|
| 40 |
<td>
|
| 41 |
<a href="<?php print $image['pager']['next_url'];?>#image-load"><img src="<?php print $image['pager']['next_view'];?>"/></a>
|
| 42 |
<div><a href="<?php print $image['pager']['next_url'];?>#image-load"><?php print t('next');?></a></div>
|
| 43 |
</td>
|
| 44 |
<?php } ?>
|
| 45 |
</tr>
|
| 46 |
</table>
|
| 47 |
<div class="photo_info_top"><?php print t('Photo html: ');?></div>
|
| 48 |
<input size="30" type="text" value='<a title="<?php print $image['album']['des'];?>" href="<?php print $image['link']['href'];?>"><img src="<?php print $image['link']['src'];?>"/></a>' class="image-quote-link">
|
| 49 |
<div class="photo_info_top"><?php print t('Photo link: ');?></div>
|
| 50 |
<input type="text" value="<?php print $image['link']['src'];?>" class="image-quote-link" size="30">
|
| 51 |
<?php print $image['exif'];?>
|