Allow the site admin to upload watermark images. Can't do much with them yet.

This commit is contained in:
Bharat Mediratta
2008-12-23 01:29:17 +00:00
parent f476e2169e
commit ddcf10dfce
6 changed files with 81 additions and 24 deletions

View File

@@ -0,0 +1,10 @@
<? defined("SYSPATH") or die("No direct script access."); ?>
<ul class="gWatermarks">
<? foreach ($watermarks as $watermark): ?>
<li>
<img <?= photo::img_dimensions($watermark->width, $watermark->height, 72) ?> src="<?= url::file("var/modules/watermark/$watermark->name") ?>">
</li>
<? endforeach ?>
</ul>
<?= $form ?>