1
0
This repository has been archived on 2021-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
gallery3-contrib/themes/3nids_theme/3nids/views/image_block_block.html.php

18 lines
843 B
PHP
Raw Normal View History

2009-09-23 06:43:11 +00:00
<?php defined("SYSPATH") or die("No direct script access.") ?>
<? $fancymodule = ""; ?>
<? if (module::is_active("exif")){$fancymodule .= "exif::" . url::site("exif/show/{$item->id}") . ";;";} ?>
<? if (module::is_active("comment") && module::is_active("comment_3nids")){$fancymodule .= "comment::" . url::site("comments_3nids?item_id={$item->id}") . ";;comment_count::" . comment_3nids::count($item) . ";;" ;} ?>
2009-10-19 07:21:48 +00:00
<div class="g-image-block">
2009-09-23 06:43:11 +00:00
<a href="<?= $item->file_url() ?>" class="fancyclass" title="<?= $item->parent()->title ?>, <?=$item->parent()->description?>" name="<?=$fancymodule?>">
2009-10-19 07:21:48 +00:00
<?= $item->thumb_img(array("class" => "g-thumbnail")) ?>
2009-09-23 06:43:11 +00:00
</a>
2009-10-19 07:21:48 +00:00
<div class="g-parent-album">
2009-09-23 06:43:11 +00:00
<a href="<?= $item->parent()->url() ?>?show=<?= $item->id?>"><h4><span></span><?= $item->parent()->title ?></h4></a>
</div>
</div>