mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-14 11:00:11 -04:00
Allow the site admin to upload watermark images. Can't do much with them yet.
This commit is contained in:
10
modules/watermark/views/admin_watermarks.html.php
Normal file
10
modules/watermark/views/admin_watermarks.html.php
Normal 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 ?>
|
||||
Reference in New Issue
Block a user