diff options
author | Chad Kieffer <chad@2tbsp.com> | 2009-05-06 03:47:58 +0000 |
---|---|---|
committer | Chad Kieffer <chad@2tbsp.com> | 2009-05-06 03:47:58 +0000 |
commit | 812cb94b1e7d9a58df3ba94cbe78bef537152c6d (patch) | |
tree | b7112203f3e3bcc633573fc6f4b78e2a81031ee7 | |
parent | 2846e0df8b73987ee244e3307c7a871eb468a889 (diff) |
Usability update: include an "Activate Toolkit Name" button with available toolkits
-rw-r--r-- | core/views/admin_graphics_gd.html.php | 3 | ||||
-rw-r--r-- | core/views/admin_graphics_graphicsmagick.html.php | 3 | ||||
-rw-r--r-- | core/views/admin_graphics_imagemagick.html.php | 3 | ||||
-rw-r--r-- | themes/admin_default/css/screen.css | 10 |
4 files changed, 18 insertions, 1 deletions
diff --git a/core/views/admin_graphics_gd.html.php b/core/views/admin_graphics_gd.html.php index 76933861..84eb6d75 100644 --- a/core/views/admin_graphics_gd.html.php +++ b/core/views/admin_graphics_gd.html.php @@ -10,6 +10,9 @@ <p class="gSuccess"> <?= t("You have GD version %version.", array("version" => $tk->gd["GD Version"])) ?> </p> + <p> + <a class="gButtonLink ui-state-default ui-corner-all"><?= t("Activate GD") ?></a> + </p> <? elseif ($tk->gd["GD Version"]): ?> <p class="gWarning"> <?= t("You have GD version %version, but it lacks image rotation.", diff --git a/core/views/admin_graphics_graphicsmagick.html.php b/core/views/admin_graphics_graphicsmagick.html.php index 2f4ce95c..720a9459 100644 --- a/core/views/admin_graphics_graphicsmagick.html.php +++ b/core/views/admin_graphics_graphicsmagick.html.php @@ -10,6 +10,9 @@ <p class="gSuccess"> <?= t("GraphicsMagick is available in %path", array("path" => $tk->graphicsmagick)) ?> </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.") ?> diff --git a/core/views/admin_graphics_imagemagick.html.php b/core/views/admin_graphics_imagemagick.html.php index 4f77a794..c7468eed 100644 --- a/core/views/admin_graphics_imagemagick.html.php +++ b/core/views/admin_graphics_imagemagick.html.php @@ -10,6 +10,9 @@ <p class="gSuccess"> <?= t("ImageMagick is available in %path", array("path" => $tk->imagemagick)) ?> </p> + <p> + <a class="gButtonLink ui-state-default ui-corner-all"><?= t("Activate ImageMagick") ?></a> + </p> <? else: ?> <p class="gInfo"> <?= t("ImageMagick is not available on your system.") ?> diff --git a/themes/admin_default/css/screen.css b/themes/admin_default/css/screen.css index cd68674c..b67264eb 100644 --- a/themes/admin_default/css/screen.css +++ b/themes/admin_default/css/screen.css @@ -45,6 +45,14 @@ background: #eee; } +.gAvailable .gButtonLink { + width: 96%; +} + +.gSelected .gButtonLink { + display: none; +} + .gUnavailable { border-color: #999; opacity: 0.4; @@ -166,7 +174,7 @@ #gAdminGraphics .gAvailable .gBlock { clear: none; float: left; - height: 200px; + height: 16em; margin-right: 1em; width: 30%; } |