2009-01-01 00:23:29 +00:00
|
|
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
2009-01-11 22:14:44 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
select_toolkit = function(el) {
|
2009-01-24 20:06:13 +00:00
|
|
|
if (!$(this).hasClass("gUnavailable")) {
|
2009-01-11 22:14:44 +00:00
|
|
|
window.location = '<?= url::site("admin/graphics/choose/__TK__?csrf=" . access::csrf_token()) ?>'
|
|
|
|
|
.replace("__TK__", $(this).attr("id"));
|
|
|
|
|
}
|
|
|
|
|
};
|
2009-01-25 02:09:57 +00:00
|
|
|
$("#gAdminGraphics div.gAvailable .gBlock").click(select_toolkit);
|
2009-01-11 22:14:44 +00:00
|
|
|
});
|
2009-01-12 08:20:39 +00:00
|
|
|
|
2009-01-13 04:56:29 +00:00
|
|
|
</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>
|
2009-01-12 08:20:39 +00:00
|
|
|
|
2009-01-24 20:06:13 +00:00
|
|
|
<h2> <?= t("Active Toolkit") ?> </h2>
|
|
|
|
|
<?= $active ?>
|
2008-12-30 04:14:57 +00:00
|
|
|
|
2009-01-24 20:06:13 +00:00
|
|
|
<div class="gAvailable">
|
2009-01-13 04:56:29 +00:00
|
|
|
<h2> <?= t("Available Toolkits") ?> </h2>
|
|
|
|
|
<?= $available ?>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2008-12-30 04:14:57 +00:00
|
|
|
|