| 1 |
<?php
|
| 2 |
// $Id: photos_imageview.tpl.php,v 1.5 2008/10/08 09:29:10 eastcn Exp $
|
| 3 |
?>
|
| 4 |
<?php
|
| 5 |
//print_r($info);
|
| 6 |
//print_r($image);
|
| 7 |
?>
|
| 8 |
<div id="image-load" class="image-load">
|
| 9 |
<?php print $image->editform;?>
|
| 10 |
<div class="editdes">
|
| 11 |
<?php print $image->description;?>
|
| 12 |
<?php if($image->links['vote']['count']){ ?>
|
| 13 |
<div class="photos-votes">
|
| 14 |
<?php print $image->links['vote']['up'];?>
|
| 15 |
<?php print $image->links['vote']['count'];?>
|
| 16 |
<?php print $image->links['vote']['down'];?>
|
| 17 |
</div>
|
| 18 |
<?php }?>
|
| 19 |
<div class="photo-rg">
|
| 20 |
<?php if($info['count']) { print t('%cou visits',array('%cou' => $info['count'])); } ?>
|
| 21 |
<?php
|
| 22 |
print $image->links['edit'];
|
| 23 |
print $image->links['comment'];
|
| 24 |
print $image->links['more'];
|
| 25 |
?>
|
| 26 |
</div>
|
| 27 |
</div>
|
| 28 |
<div class="photo_link_pager">
|
| 29 |
<?php if($image->links['pager']['prev_url']) { ?>
|
| 30 |
<div class="photo-pager-left">
|
| 31 |
<a href="<?php print $image->links['pager']['prev_url'];?>#image-load"><?php print t('« previous');?></a>
|
| 32 |
</div>
|
| 33 |
<?php } ?>
|
| 34 |
<?php if($image->links['pager']['next_url']) { ?>
|
| 35 |
<div class="photo-pager-right">
|
| 36 |
<a href="<?php print $image->links['pager']['next_url'];?>#image-load"><?php print t('next »');?></a>
|
| 37 |
</div>
|
| 38 |
<?php } ?>
|
| 39 |
</div>
|
| 40 |
<div class="image-a"><?php print $image->view;?></div>
|
| 41 |
</div>
|
| 42 |
<?php print $image->comment['view'];?>
|
| 43 |
<?php print $image->comment['box'];?>
|