diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-08-08 20:56:06 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-08-08 20:56:06 -0700 |
| commit | 7aac471b828d4405b3fb0d736a06a5b92875883e (patch) | |
| tree | 165286e8e6a015e406aae76d2a7e14d508b3a634 /modules/gallery/views/admin_graphics_graphicsmagick.html.php | |
| parent | 3a8f1f426294737aac145d15462caa808aef14b1 (diff) | |
| parent | c9f5000e65f66b3342f2cc6e2e9623eac72ff223 (diff) | |
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_branch
Conflicts:
modules/gallery/js/quick.js
Diffstat (limited to 'modules/gallery/views/admin_graphics_graphicsmagick.html.php')
| -rw-r--r-- | modules/gallery/views/admin_graphics_graphicsmagick.html.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/gallery/views/admin_graphics_graphicsmagick.html.php b/modules/gallery/views/admin_graphics_graphicsmagick.html.php index e2cd0777..bf3ad339 100644 --- a/modules/gallery/views/admin_graphics_graphicsmagick.html.php +++ b/modules/gallery/views/admin_graphics_graphicsmagick.html.php @@ -1,21 +1,21 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> -<div id="graphicsmagick" class="gBlock<?= $is_active ? " gSelected" : "" ?><?= $tk->graphicsmagick ? " gInstalledToolkit" : " gUnavailable" ?>"> +<div id="graphicsmagick" class="gBlock<?= $is_active ? " gSelected" : "" ?><?= $tk->installed ? " gInstalledToolkit" : " gUnavailable" ?>"> <h3> <?= t("GraphicsMagick") ?> </h3> <img class="logo" width="107" height="76" src="<?= url::file("modules/gallery/images/graphicsmagick.png"); ?>" alt="<? t("Visit the GraphicsMagick project site") ?>" /> <p> <?= t("GraphicsMagick is a standalone graphics program available on most Linux systems. Please refer to the <a href=\"%url\">GraphicsMagick website</a> for more information.", array("url" => "http://www.graphicsmagick.org")) ?> </p> - <? if ($tk->graphicsmagick): ?> + <? if ($tk->installed): ?> <p class="gSuccess"> - <?= t("GraphicsMagick is available in %path", array("path" => $tk->graphicsmagick)) ?> + <?= t("GraphicsMagick version %version is available in %dir", array("version" => $tk->version, "dir" => $tk->dir)) ?> </p> <p> <a class="gButtonLink ui-state-default ui-corner-all"><?= t("Activate Graphics Magic") ?></a> </p> <? else: ?> - <p class="gInfo"> - <?= t("GraphicsMagick is not available on your system.") ?> + <p class="gWarning"> + <?= $tk->error ?> </p> <? endif ?> </div> |
