Files
gallery3/core/views/admin_graphics.html.php

29 lines
837 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<script type="text/javascript">
$(document).ready(function() {
select_toolkit = function(el) {
if (!$(this).hasClass("gUnavailable")) {
window.location = '<?= url::site("admin/graphics/choose/__TK__?csrf=" . access::csrf_token()) ?>'
.replace("__TK__", $(this).attr("id"));
}
};
$("#gAvailableToolkits .gBlock").click(select_toolkit);
});
</script>
<div id="gAdminGraphics">
<h1> <?= t("Graphics Settings") ?> </h1>
<p>
<?= t("Gallery needs a graphics toolkit in order to manipulate your photos. Please choose one from the list below.") ?>
</p>
<h2> <?= t("Active Toolkit") ?> </h2>
<?= $active ?>
<div class="gAvailable">
<h2> <?= t("Available Toolkits") ?> </h2>
<?= $available ?>
</div>
</div>