blob: c5e32320429b02f68868b846a3c1e9ea92545ebc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
<script type="text/javascript">
$(document).ready(function() {
select_toolkit = function(el) {
if (!$(this).hasClass("unavailable")) {
window.location = '<?= url::site("admin/graphics/choose/__TK__?csrf=" . access::csrf_token()) ?>'
.replace("__TK__", $(this).attr("id"));
}
};
$("#gAvailableToolkits div.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>
<div id="gSelectedToolkit">
<h2> <?= t("Active Toolkit") ?> </h2>
<?= $active ?>
</div>
<div id="gAvailableToolkits">
<h2> <?= t("Available Toolkits") ?> </h2>
<?= $available ?>
</div>
</div>
|