summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_graphics.html.php
blob: 08374471e2cb5c611bd4008867667f7aeddaf66f (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
<?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=$csrf") ?>'
          .replace("__TK__", $(this).attr("id"));
      }
    };
    $("#gAdminGraphics div.gAvailable .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>