[28818] trunk/www

source_changes at macosforge.org source_changes at macosforge.org
Sun Sep 9 08:15:03 PDT 2007


Revision: 28818
          http://trac.macosforge.org/projects/macports/changeset/28818
Author:   sfiera at macports.org
Date:     2007-09-09 08:15:03 -0700 (Sun, 09 Sep 2007)

Log Message:
-----------
Standardize indentation on the front-page

Modified Paths:
--------------
    trunk/www/includes/common.inc
    trunk/www/includes/footer.inc
    trunk/www/includes/header.inc
    trunk/www/includes/news.inc
    trunk/www/index.php

Modified: trunk/www/includes/common.inc
===================================================================
--- trunk/www/includes/common.inc	2007-09-09 15:09:35 UTC (rev 28817)
+++ trunk/www/includes/common.inc	2007-09-09 15:15:03 UTC (rev 28818)
@@ -44,7 +44,7 @@
     <script type="text/javascript" src="language.js"></script>
   </head>
   <body>
-  <?php
+<?php
     include("$DOCUMENT_ROOT/macports/includes/header.inc");
     check_referer();
 }

Modified: trunk/www/includes/footer.inc
===================================================================
--- trunk/www/includes/footer.inc	2007-09-09 15:09:35 UTC (rev 28817)
+++ trunk/www/includes/footer.inc	2007-09-09 15:15:03 UTC (rev 28818)
@@ -3,10 +3,12 @@
 ?>
     </div>
     <div id="footer">
-    <p>
-    <a href="http://validator.w3.org/check?uri=referer"><img
-        src="/macports/img/valid-xhtml11-blue.png"
-        alt="Valid XHTML 1.1" height="31" width="88" /></a>
-  </p>
-        Copyright &copy; 2002&ndash;<?php print date("Y"); ?>, <a href="http://www.macports.org/">MacPorts</a>. Hosted by <a href="http://www.macosforge.org">Mac OS Forge</a>. All rights reserved.
+      <p>
+      <a href="http://validator.w3.org/check?uri=referer"><img
+          src="/macports/img/valid-xhtml11-blue.png"
+          alt="Valid XHTML 1.1" height="31" width="88" /></a>
+      </p>
+      Copyright &copy; 2002&ndash;<?php print date("Y"); ?>,
+      <a href="http://www.macports.org/">MacPorts</a>. Hosted by
+      <a href="http://www.macosforge.org">Mac OS Forge</a>. All rights reserved.
     </div>

Modified: trunk/www/includes/header.inc
===================================================================
--- trunk/www/includes/header.inc	2007-09-09 15:09:35 UTC (rev 28817)
+++ trunk/www/includes/header.inc	2007-09-09 15:15:03 UTC (rev 28818)
@@ -58,5 +58,8 @@
       </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
-      <a href="http://www.macports.org">http://www.macports.org</a> as always.</p>
+      <p class="warning">
+        Warning: This is just a test installation of a new design for the
+        MacPorts project page, official site is located at
+        <a href="http://www.macports.org">http://www.macports.org</a> as always.
+      </p>

Modified: trunk/www/includes/news.inc
===================================================================
--- trunk/www/includes/news.inc	2007-09-09 15:09:35 UTC (rev 28817)
+++ trunk/www/includes/news.inc	2007-09-09 15:15:03 UTC (rev 28818)
@@ -94,7 +94,7 @@
     }
   }
   else {
-    echo "<p>No headlines are available at this time.</p>\n";
+    echo "        <p>No headlines are available at this time.</p>\n";
   }
 }
 

Modified: trunk/www/index.php
===================================================================
--- trunk/www/index.php	2007-09-09 15:09:35 UTC (rev 28817)
+++ trunk/www/index.php	2007-09-09 15:15:03 UTC (rev 28818)
@@ -5,49 +5,56 @@
   include_once("$DOCUMENT_ROOT/macports/includes/news.inc");
   print_header('MacPorts -- Home', 'utf-8');
 ?>
-    <h2 class="hdr">Introduction to MacPorts</h2>
-
-    <p>The MacPorts Project's main goal is to provide an easy way to
-	install various open-source software products on the <a
-      href="http://www.apple.com/macosx/">Mac OS X</a> operating system.</p>
-
-    <p>There are currently about <?php echo ports_count(); ?> completed and usable
-	<a href="/macports/ports.php">ports</a>, with more being added on a regular basis.
-	You can track recently added ports by subscribing to the <a
-	href="http://lists.macosforge.org/mailman/listinfo/macports-changes">macports-changes</a>
-	mailing list.</p>
-	
-    <p>For more information on obtaining and installing MacPorts,
-	please see the <a href="/macports/getmp.php">Get MacPorts</a> section of this
-	site.Also be sure to check out the <a href="http://geeklair.net/new_macports_guide/">documentation</a>,
-	and if you have questions or run into problems, you can get help at our <a
-	href="/macports/help.php">help section</a>. The <a href="http://trac.macports.org/projects/macports/wiki">MacPorts Wiki</a>
-	is also a good resource for general and miscellaneous help, specially the 
-	ongoing <a href="http://trac.macports.org/projects/macports/wiki/FAQ">FAQ</a> effort.</p>
-
-    <p>Bug reports, feature requests, and new ports should be submitted as
-	<a href="http://trac.macports.org/projects/macports/newticket">new tickets</a> into our Trac system. Please consult
-  the <a href="http://geeklair.net/new_macports_guide/#project.tickets"> documentation</a>
-  to improve the processing of your ticket(s).</p>
-
-  <p>For information on becoming an official member of the MacPorts project
-  with write access to our subversion repository, please consult the
-  <a href="http://geeklair.net/new_macports_guide/#project.membership">relevant documentation</a>
-  detailing our membership requirements and resulting duties &amp; benefits
-  from holding a MacPorts account.</p>
-
-  <p><b>Current MacPorts <a href="/macports/getmp.php">release</a>: <?php print "$mp_version"; ?></b></p>
-
-    <div id="news">
-	<h2 class="hdr">Project News</h2>
-
+      <h2 class="hdr">Introduction to MacPorts</h2>
+      <p>
+        The MacPorts Project's main goal is to provide an easy way to
+        install various open-source software products on the <a
+        href="http://www.apple.com/macosx/">Mac OS X</a> operating system.
+      </p>
+      <p>
+        There are currently about <?php echo ports_count(); ?> completed and
+        usable <a href="/macports/ports.php">ports</a>, with more being added on
+        a regular basis. You can track recently added ports by subscribing to
+        the <a href="http://lists.macosforge.org/mailman/listinfo/macports-changes">macports-changes</a>
+        mailing list.
+      </p>
+      <p>
+        For more information on obtaining and installing MacPorts, please see
+        the <a href="/macports/getmp.php">Get MacPorts</a> section of this site.
+        Also be sure to check out the <a
+        href="http://geeklair.net/new_macports_guide/">documentation</a>, and if
+        and if you have questions or run into problems, you can get help at our
+        <a href="/macports/help.php">help section</a>. The
+        <a href="http://trac.macports.org/projects/macports/wiki">MacPorts
+        Wiki</a>is also a good resource for general and miscellaneous help,
+        specially the ongoing <a
+        href="http://trac.macports.org/projects/macports/wiki/FAQ">FAQ</a>
+        effort.
+      </p>
+      <p>
+        Bug reports, feature requests, and new ports should be submitted as
+        <a href="http://trac.macports.org/projects/macports/newticket">new
+        tickets</a> into our Trac system. Please consult the <a
+        href="http://geeklair.net/new_macports_guide/#project.tickets">documentation</a>
+        to improve the processing of your ticket(s).
+      </p>
+      <p>
+        For information on becoming an official member of the MacPorts project
+        with write access to our subversion repository, please consult the
+        <a href="http://geeklair.net/new_macports_guide/#project.membership">relevant
+        documentation</a> detailing our membership requirements and resulting
+        duties &amp; benefits from holding a MacPorts account.
+      </p>
+      <p>
+        <b>Current MacPorts <a href="/macports/getmp.php">release</a>: <?php print "$mp_version"; ?></b>
+      </p>
+      <div id="news">
+        <h2 class="hdr">Project News</h2>
 <?php
   print_headlines();
 ?>
-
-		<p>You can also browse our <a href="/macports/archives.php">news archives</a>.</p>
-	
-    </div>
+        <p>You can also browse our <a href="/macports/archives.php">news archives</a>.</p>
+      </div>
 <?php
   print_footer();
 ?>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070909/e52b9faf/attachment.html


More information about the macports-changes mailing list