Beautify the error message.

This commit is contained in:
Bharat Mediratta
2009-05-10 21:32:27 +00:00
parent c14194ab2d
commit b8d3478b95
+7 -5
View File
@@ -11,11 +11,13 @@
<div id="gAddPhotos">
<? if (ini_get("suhosin.session.encrypt")): ?>
<div class="gError">
<?= t("Error: your server is configured to use the <a href=\"%encrypt_url\"><code>suhosin.session.encrypt</code></a> setting from <a href=\"%suhosin_url\">Suhosin</a>. You must disable this setting to upload photos.",
array("encrypt_url" => "http://www.hardened-php.net/suhosin/configuration.html#suhosin.session.encrypt",
"suhosin_url" => "http://www.hardened-php.net/suhosin/")) ?>
</div>
<ul id="gMessage">
<li class="gError">
<?= t("Error: your server is configured to use the <a href=\"%encrypt_url\"><code>suhosin.session.encrypt</code></a> setting from <a href=\"%suhosin_url\">Suhosin</a>. You must disable this setting to upload photos.",
array("encrypt_url" => "http://www.hardened-php.net/suhosin/configuration.html#suhosin.session.encrypt",
"suhosin_url" => "http://www.hardened-php.net/suhosin/")) ?>
</li>
</ul>
<? endif ?>
<p>