This repository has been archived on 2021-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
gallery3-debian/modules/gallery/views/admin_graphics_gd.html.php

31 lines
1.2 KiB
PHP
Raw Normal View History

2013-04-04 09:26:00 +00:00
<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="gd" class="g-block<?= $is_active ? " g-selected" : "" ?><?= $tk->installed ? " g-installed-toolkit" : " g-unavailable" ?>">
<img class="logo" width="170" height="110" src="<?= url::file("modules/gallery/images/gd.png"); ?>" alt="<? t("Visit the GD lib project site") ?>" />
<h3> <?= t("GD") ?> </h3>
<p>
<?= t("The GD graphics library is an extension to PHP commonly installed most webservers. Please refer to the <a href=\"%url\">GD website</a> for more information.",
array("url" => "http://www.boutell.com/gd")) ?>
</p>
<? if ($tk->installed && $tk->rotate): ?>
<div class="g-module-status g-info">
<?= t("You have GD version %version.", array("version" => $tk->version)) ?>
</div>
<p>
<a class="g-button ui-state-default ui-corner-all"><?= t("Activate GD") ?></a>
</p>
<? elseif ($tk->installed): ?>
<? if ($tk->error): ?>
<p class="g-module-status g-warning">
<?= $tk->error ?>
</p>
<? endif ?>
<p>
<a class="g-button ui-state-default ui-corner-all"><?= t("Activate GD") ?></a>
</p>
<? else: ?>
<div class="g-module-status g-info">
<?= t("You do not have GD installed.") ?>
</div>
<? endif ?>
</div>