diff options
-rw-r--r-- | core/views/admin_graphics.html.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/views/admin_graphics.html.php b/core/views/admin_graphics.html.php index 7fb05040..19f80cba 100644 --- a/core/views/admin_graphics.html.php +++ b/core/views/admin_graphics.html.php @@ -23,9 +23,13 @@ <p> <? printf(_("The GD graphics library is an extension to PHP commonly installed most webservers. Please refer to the %sGD website%s for more information."), "<a href=\"http://www.boutell.com/gd/\">", "</a>") ?> </p> - <? if ($tk->gd): ?> + <? if ($tk->gd["GD Version"] && function_exists('imagerotate')): ?> <p class="gSuccess"> - <? printf(_("You have GD version %s."), $tk->gd) ?> + <? printf(_("You have GD version %s."), $tk->gd["GD Version"]) ?> + </p> + <? elseif ($tk->gd["GD Version"]): ?> + <p class="gWarning"> + <? printf(_("You have GD version %s, but it lacks image rotation."), $tk->gd["GD Version"]) ?> </p> <? else: ?> <p class="gInfo"> |