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/3.0/modules/fotomotorw/views/fotomotorw_photo_block.html.php

16 lines
785 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<center>
<? if (count($details) > 0): ?>
<a href="javascript:void(0);" onclick="showFotomotoDialog(<?=$details[0][0]; ?>);" style="font-weight: bold; font-size: 14px;"><?=$details[0][1]; ?></a>
<? for ($i = 1; $i < count($details); $i++): ?>
<span style="font-weight: bold; font-size: 14px;"> | </span>
<a href="javascript:void(0);" onclick="showFotomotoDialog(<?=$details[$i][0]; ?>);" style="font-weight: bold; font-size: 14px;"><?=$details[$i][1]; ?></a>
<? endfor ?>
<? endif; ?>
</center>
<script>
function showFotomotoDialog(window_type) {
FOTOMOTO.API.showWindow(window_type, "<?= url::abs_site("fotomotorw/resize/" . md5($item->created) . "/{$item->id}"); ?>");
}
</script>