mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-23 07:15:50 -04:00
Beautify the error message.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user