[med-svn] r649 - trunk/community/website
hanska-guest at alioth.debian.org
hanska-guest at alioth.debian.org
Sat Oct 6 09:58:52 UTC 2007
Author: hanska-guest
Date: 2007-10-06 09:58:52 +0000 (Sat, 06 Oct 2007)
New Revision: 649
Modified:
trunk/community/website/index.php
Log:
The locale warning is now in the homepage (David, do easy
things, don't mess everything up!)
Modified: trunk/community/website/index.php
===================================================================
--- trunk/community/website/index.php 2007-10-06 09:52:47 UTC (rev 648)
+++ trunk/community/website/index.php 2007-10-06 09:58:52 UTC (rev 649)
@@ -14,6 +14,25 @@
<div class="row">
<?=_("The Debian-Med project presents packages that are associated with <ul><li>medicine</li><li>pre-clinical research</li><li>life science.</li></ul> Its developments are mostly focused on three areas for the moment: <ul><li>medical practice</li><li>imaging</li><li>bioinformatics.</li></ul>")?>
</div>
+ <?php
+ if ($show_locale_warning) {
+ ?>
+ <div class="row">
+ <p class="error">
+ <p style="text-align: center;">
+ <img src="/img/warning.png" />
+ </p>
+ <?=_("You're using a low priority locale.<br />Please ask the site administrators to add your locale, or provide one yourself :).")?>
+ <br /><br />
+ <?php
+ $msg = _("Visit the %1Localization page%2.");
+ echo str_replace(array("%1", "%2"), array('<a href="/locales.php">', '</a>'), $msg);
+ ?>
+ </p>
+ </div>
+ <?php
+ }
+ ?>
</div>
<span class="section"><?=_("members")?></span>
<div class="section">
More information about the debian-med-commit
mailing list