mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 11:29:24 -04:00
Kohana makes this type of transition fairly straightforward in that all controllers/helpers/etc are still located in the cascading filesystem without any extra effort, except that I've temporarily added a hack to force modules/gallery into the module path. Rename what's left of "core" to be "application" so that it conforms more closely to the Kohana standard (basically, just application/config/config.php which is the minimal thing that you need in the application directory) There's still considerable work left to be done here.
15 lines
458 B
PHP
15 lines
458 B
PHP
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
<ul>
|
|
<? foreach ($photos as $photo): ?>
|
|
<li class="gItem gPhoto">
|
|
<a href="<?= url::site("photos/$photo->id") ?>" title="<?= $photo->title ?>">
|
|
<img <?= photo::img_dimensions($photo->width, $photo->height, 72) ?>
|
|
src="<?= $photo->thumb_url() ?>" alt="<?= $photo->title ?>" />
|
|
</a>
|
|
</li>
|
|
<? endforeach ?>
|
|
</ul>
|
|
<p>
|
|
<?= t("Recent photos added to your Gallery") ?>
|
|
</p>
|