summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-10 21:32:27 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-10 21:32:27 +0000
commitb8d3478b954a695974fccfc94a7db3aef71b3083 (patch)
treeea29fad283b6a15b2cef816a7700a63ffebb9341
parentc14194ab2d75927d46852e83c695f590f644ecc7 (diff)
Beautify the error message.
-rw-r--r--core/views/simple_uploader.html.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/core/views/simple_uploader.html.php b/core/views/simple_uploader.html.php
index 36257761..b6725c31 100644
--- a/core/views/simple_uploader.html.php
+++ b/core/views/simple_uploader.html.php
@@ -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>