Files
gallery3/core/views/admin_themes.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

18 lines
615 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="gThemes">
<h1><?= t("Theme Administration") ?></h1>
<p>
<?= t("These are the themes in your system") ?>
</p>
<form method="post" action="<?= url::site("admin/themes/save") ?>">
<?= access::csrf_form_field() ?>
<? foreach ($themes as $theme): ?>
<input type="radio" name="theme" value="<?= $theme ?>"
<? if ($theme == $active): ?> checked="checked" <? endif ?>
/>
<?= $theme ?>
<? endforeach ?>
<input type="submit" value="<?= t("Save") ?>"/>
</form>
</div>