[med-svn] r640 - trunk/community/website/inc
hanska-guest at alioth.debian.org
hanska-guest at alioth.debian.org
Sat Oct 6 09:41:45 UTC 2007
Author: hanska-guest
Date: 2007-10-06 09:41:44 +0000 (Sat, 06 Oct 2007)
New Revision: 640
Modified:
trunk/community/website/inc/header.inc.php
trunk/community/website/inc/style.css
Log:
Fixing localization warning
Modified: trunk/community/website/inc/header.inc.php
===================================================================
--- trunk/community/website/inc/header.inc.php 2007-10-06 09:32:12 UTC (rev 639)
+++ trunk/community/website/inc/header.inc.php 2007-10-06 09:41:44 UTC (rev 640)
@@ -39,12 +39,14 @@
?>
</div>
<?php
- if ($show_locale_warning && $_SERVER["PHP_SELF"] != "locale.php") {
+ if ($show_locale_warning && $_SERVER["PHP_SELF"] != "http://debian-med.alioth.debian.org/locales.php") {
?>
<div class="row">
<span class="error">
<p class="error">
- <img src="/img/warning.png" style="position:relative;" />
+ <div class="floatLeft">
+ <img src="/img/warning.png" />
+ </div>
<?=_("You're using a low priority locale.<br />Please ask the site administrators to add your locale, or provide one yourself :).")?><br />
<?=str_replace(array("%1", "%2"), array('<a href="/locales.php">', "</a>"), _("Visit the %1Localization page%2."))?>
</p>
Modified: trunk/community/website/inc/style.css
===================================================================
--- trunk/community/website/inc/style.css 2007-10-06 09:32:12 UTC (rev 639)
+++ trunk/community/website/inc/style.css 2007-10-06 09:41:44 UTC (rev 640)
@@ -384,6 +384,30 @@
padding:0em;
}
+div.floatLeft{
+ float: left;
+ clear: left;
+ position: relative;
+ margin: 0 .5em .5em 0;
+ border: 0;
+}
+
+div.floatLeft p{
+ font-style: italic;
+}
+
+div.floatRight{
+ float: right;
+ clear: right;
+ position: relative;
+ margin: 0 0 .5em .5em;
+ border: 0;
+}
+
+div.floatRight p{
+ font-style: italic;
+}
+
#search{
display:none;
background:#f0f0f0;
More information about the debian-med-commit
mailing list