summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_graphics_imagemagick.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/views/admin_graphics_imagemagick.html.php')
-rw-r--r--modules/gallery/views/admin_graphics_imagemagick.html.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/gallery/views/admin_graphics_imagemagick.html.php b/modules/gallery/views/admin_graphics_imagemagick.html.php
new file mode 100644
index 0000000..9c1a990
--- /dev/null
+++ b/modules/gallery/views/admin_graphics_imagemagick.html.php
@@ -0,0 +1,21 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<div id="imagemagick" class="g-block<?= $is_active ? " g-selected" : "" ?><?= $tk->installed ? " g-installed-toolkit" : " g-unavailable" ?>">
+ <img class="logo" width="114" height="118" src="<?= url::file("modules/gallery/images/imagemagick.jpg"); ?>" alt="<? t("Visit the ImageMagick project site") ?>" />
+ <h3> <?= t("ImageMagick") ?> </h3>
+ <p>
+ <?= t("ImageMagick is a standalone graphics program available on most Linux systems. Please refer to the <a href=\"%url\">ImageMagick website</a> for more information.",
+ array("url" => "http://www.imagemagick.org")) ?>
+ </p>
+ <? if ($tk->installed): ?>
+ <div class="g-module-status g-info">
+ <?= t("ImageMagick version %version is available in %dir", array("version" => $tk->version, "dir" => $tk->dir)) ?>
+ </div>
+ <p>
+ <a class="g-button ui-state-default ui-corner-all"><?= t("Activate ImageMagick") ?></a>
+ </p>
+ <? elseif ($tk->error): ?>
+ <div class="g-module-status g-warning">
+ <?= $tk->error ?>
+ </div>
+ <? endif ?>
+</div>