summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/views/admin_graphics_gd.html.php3
-rw-r--r--core/views/admin_graphics_graphicsmagick.html.php3
-rw-r--r--core/views/admin_graphics_imagemagick.html.php3
-rw-r--r--themes/admin_default/css/screen.css10
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%;
}