Make the admin/graphics UI mimic admin/themes with a single selected

toolkit above, and other available ones below.
This commit is contained in:
Bharat Mediratta
2009-01-13 04:56:29 +00:00
parent ac59df2395
commit 16bebdca06
6 changed files with 113 additions and 94 deletions

View File

@@ -0,0 +1,17 @@
<div id="imagemagick" class="gBlock <?= $tk->imagemagick ? "" : "unavailable" ?>">
<h3> <?= t("ImageMagick") ?> </h3>
<img class="logo" width="114" height="118" src="http://www.imagemagick.org/image/logo.jpg" alt="<? t("Visit the ImageMagick project site") ?>" />
<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->imagemagick): ?>
<p class="gSuccess">
<?= t("ImageMagick is available in {{path}}", array("path" => $tk->imagemagick)) ?>
</p>
<? else: ?>
<p class="gInfo">
<?= t("ImageMagick is not available on your system.") ?>
</p>
<? endif ?>
</div>