Files
gallery3/modules/watermark/views/admin_watermarks.html.php
Andy Staudacher a631fe29f3 i18n refactoring: Rename all _() (reserved by gettext) calls to t().
- And refactor printf to our string interpolation / pluralization syntax
- Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
2009-01-08 17:13:06 +00:00

38 lines
1.5 KiB
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="#gWatermarks">
<h1> <?= t("Watermarks") ?> </h1>
<p>
<?= t("You can have one watermark for your Gallery. This watermark will be applied to all thumbnails and resized images, but it will not be applied to your full size images. To make sure that your guests can only see watermarked images, you should restrict access to your full size images.") ?>
</p>
<? if (empty($name)): ?>
<a href="<?= url::site("admin/watermarks/form_add") ?>"
title="<?= t("Upload a watermark") ?>"
class="gDialogLink"><?= t("Upload a watermark") ?></a>
<? else: ?>
<h2> <?= t("Active Watermark") ?> </h2>
<p>
<?= t("Note that changing this watermark will require you to rebuild all of your thumbnails and resized images.") ?>
</p>
<div>
<div class="image">
<img width="<?= $width ?>" height="<?= $height ?>" src="<?= $url ?>"/>
<p>
<?= t("Position: {{position}}", array("position" => watermark::position($position))) ?>
</p>
<p>
<?= t("Transparency: {{transparency}}%", array("transparency" => module::get_var("watermark", "transparency"))) ?>
</p>
</div>
<div class="controls">
<a href="<?= url::site("admin/watermarks/form_edit") ?>"
title="<?= t("Edit Watermark") ?>"
class="gDialogLink"><?= t("edit") ?></a>
<a href="<?= url::site("admin/watermarks/form_delete") ?>"
title="<?= t("Delete Watermark") ?>"
class="gDialogLink"><?= t("delete") ?></a>
</div>
</div>
<? endif ?>
</div>