[28897] trunk/www
source_changes at macosforge.org
source_changes at macosforge.org
Mon Sep 10 23:11:48 PDT 2007
Revision: 28897
http://trac.macosforge.org/projects/macports/changeset/28897
Author: jmpp at macports.org
Date: 2007-09-10 23:11:47 -0700 (Mon, 10 Sep 2007)
Log Message:
-----------
Provide each file with its own '<div id="content"> opening and closing tags, removing them from the included header & footer files.
This mis-aligns the warning box, as it takes it out of the content area... so here's hoping Chris can fix it again in his css ;-)
Modified Paths:
--------------
trunk/www/archives.php
trunk/www/downloads.php
trunk/www/getmp.php
trunk/www/includes/footer.inc
trunk/www/includes/header.inc
trunk/www/index.php
trunk/www/ports.php
Modified: trunk/www/archives.php
===================================================================
--- trunk/www/archives.php 2007-09-11 06:11:25 UTC (rev 28896)
+++ trunk/www/archives.php 2007-09-11 06:11:47 UTC (rev 28897)
@@ -6,6 +6,7 @@
print_header('MacPorts -- News Archive', 'utf-8');
?>
+ <div id="content">
<h2 class="hdr">News Archive</h2>
<?php
if (isset($_GET['id'])) {
@@ -16,7 +17,7 @@
?>
-
+ </div>
<?php
print_footer();
?>
Modified: trunk/www/downloads.php
===================================================================
--- trunk/www/downloads.php 2007-09-11 06:11:25 UTC (rev 28896)
+++ trunk/www/downloads.php 2007-09-11 06:11:47 UTC (rev 28897)
@@ -5,6 +5,7 @@
print_header('MacPorts -- Downloads', 'utf-8');
?>
+ <div id="content">
<h2 class="hdr">Available Downloads</h2>
<table>
<?php
@@ -36,7 +37,7 @@
}
?>
</table>
-
+ </div>
<?php
print_footer();
?>
Modified: trunk/www/getmp.php
===================================================================
--- trunk/www/getmp.php 2007-09-11 06:11:25 UTC (rev 28896)
+++ trunk/www/getmp.php 2007-09-11 06:11:47 UTC (rev 28897)
@@ -4,6 +4,8 @@
include_once("$MPWEB/includes/common.inc");
print_header('MacPorts -- Download & Installation', 'utf-8');
?>
+
+ <div id="content">
<h2 class="hdr">Get MacPorts</h2>
<p>MacPorts version <?php print "$mp_version_dmg"; ?> is available in binary form as a
dmg disk image for <a href="/macports/downloads/MacPorts-<?php print "$mp_version_dmg"; ?>-10.4.dmg">
@@ -114,6 +116,7 @@
<p>If you'd simply like to view the SVN repository without checking it
out, you can do so via the <a href="http://trac.macports.org/projects/macports/browser">
Trac browser</a>.</p>
+ </div>
<?php
print_footer();
Modified: trunk/www/includes/footer.inc
===================================================================
--- trunk/www/includes/footer.inc 2007-09-11 06:11:25 UTC (rev 28896)
+++ trunk/www/includes/footer.inc 2007-09-11 06:11:47 UTC (rev 28897)
@@ -1,7 +1,6 @@
<?php
// $Id$
?>
- </div>
<div id="footer">
<p>
<a href="http://validator.w3.org/check?uri=referer"><img
Modified: trunk/www/includes/header.inc
===================================================================
--- trunk/www/includes/header.inc 2007-09-11 06:11:25 UTC (rev 28896)
+++ trunk/www/includes/header.inc 2007-09-11 06:11:47 UTC (rev 28897)
@@ -57,7 +57,6 @@
</dd>
</dl>
</div>
- <div id="content">
<p class="warning">
Warning: This is just a test installation of a new design for the
MacPorts project page, official site is located at
Modified: trunk/www/index.php
===================================================================
--- trunk/www/index.php 2007-09-11 06:11:25 UTC (rev 28896)
+++ trunk/www/index.php 2007-09-11 06:11:47 UTC (rev 28897)
@@ -5,6 +5,8 @@
include_once("$MPWEB/includes/news.inc");
print_header('MacPorts -- Home', 'utf-8');
?>
+
+ <div id="content">
<h2 class="hdr">Introduction to MacPorts</h2>
<p>
The MacPorts Project's main goal is to provide an easy way to
@@ -55,6 +57,7 @@
?>
<p>You can also browse our <a href="/macports/archives.php">news archives</a>.</p>
</div>
+ </div>
<?php
print_footer();
?>
Modified: trunk/www/ports.php
===================================================================
--- trunk/www/ports.php 2007-09-11 06:11:25 UTC (rev 28896)
+++ trunk/www/ports.php 2007-09-11 06:11:47 UTC (rev 28897)
@@ -7,6 +7,8 @@
$by = isset($_GET['by']) ? $_GET['by'] : '';
$substr = isset($_GET['substr']) ? $_GET['substr'] : '';
?>
+
+ <div id="content">
<h2>MacPorts Portfiles</h2>
<p>
@@ -68,6 +70,7 @@
?>
</table>
</form>
+ </div>
<?php
if ($by && ($substr || $by == "all")) {
@@ -209,6 +212,7 @@
}
?>
</dl>
+ </div>
<?php
}
print_footer();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070910/2ba33f07/attachment.html
More information about the macports-changes
mailing list