Files
gallery3/modules/gallery/views/admin_graphics_gd.html.php
Johan Cwiklinski 6746792bdf Drop short_tags
2018-05-19 17:01:37 +02:00

31 lines
1.2 KiB
PHP

<?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="<?php 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>
<?php 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>
<?php elseif ($tk->installed): ?>
<?php if ($tk->error): ?>
<p class="g-module-status g-warning">
<?= $tk->error ?>
</p>
<?php endif ?>
<p>
<a class="g-button ui-state-default ui-corner-all"><?= t("Activate GD") ?></a>
</p>
<?php else: ?>
<div class="g-module-status g-info">
<?= t("You do not have GD installed.") ?>
</div>
<?php endif ?>
</div>