Modified: trunk/www/includes/warnings.inc (31626 => 31627)
--- trunk/www/includes/warnings.inc 2007-11-30 23:25:39 UTC (rev 31626)
+++ trunk/www/includes/warnings.inc 2007-12-01 01:00:32 UTC (rev 31627)
@@ -5,13 +5,13 @@
?>
-<div id="warnings">
-
<?php
# Warning against darwinports.com leech!
if (isset($_SERVER['HTTP_REFERER']) && strpos($_SERVER['HTTP_REFERER'], 'darwinports.com') !== false) {
?>
+ <div class="warnings">
+
<p>You have arrived at the <b>Official MacPorts Web Site</b> from <i>darwinports.com</i>.</p>
<p><i>darwinports.com</i> <b>is not the official MacPorts Web Site</b>, nor is it a mirror of the <i>Official MacPorts Web
@@ -20,6 +20,8 @@
<p>The information you may have been presented with on <i>darwinports.com</i> may be incorrect or outdated and is not endorsed
in any way by <i>The MacPorts Project</i>. For the most accurate information about MacPorts, please bookmark this site,
<a href="http://www.macports.org">http://www.macports.org</a>.</p>
+
+ </div>
<?php
}
@@ -28,11 +30,13 @@
if (isset($_SERVER['HTTP_HOST']) && !preg_match('%(^|\.)macports\.org$%', $_SERVER['HTTP_HOST'])) {
?>
+ <div class="warnings">
+
<p>Warning: This is a temporary installation of the new & re-designed website for The MacPorts Project. Official site
is located at <a href="http://www.macports.org">http://www.macports.org</a> as always.</p>
+
+ </div>
<?php
}
?>
-
-</div>
Modified: trunk/www/macports.css (31626 => 31627)
--- trunk/www/macports.css 2007-11-30 23:25:39 UTC (rev 31626)
+++ trunk/www/macports.css 2007-12-01 01:00:32 UTC (rev 31627)
@@ -168,11 +168,11 @@
max-width: 670px;
}
-#warnings p {
+.warnings p {
margin: 1em 0 0 0;
}
-#warnings p:first-child {
+.warnings p:first-child {
margin: 0;
}