[29783] trunk/www

source_changes at macosforge.org source_changes at macosforge.org
Tue Oct 9 20:59:49 PDT 2007


Revision: 29783
          http://trac.macosforge.org/projects/macports/changeset/29783
Author:   jmpp at macports.org
Date:     2007-10-09 20:59:49 -0700 (Tue, 09 Oct 2007)

Log Message:
-----------

 * Add template for a new "Contact Us" page ('contact.php');
 * Rework the sidebar a bit:
  * move the blog link to the main section,
  * rename the Downloads link to "Available Downloads",
  * remove comments about the need to link to the new ticketing guidelines (Mac OS Forge admin personnel assured me we could certainly rework the trac 'newticket' page to link to them),
  * include the new "Contact Us" page (which is at this moment is still just a template in need of content);
 * Add a comment to 'install.php' about needing to link to 'contact.php';
 * Cleanup some unneeded php quoting in 'install.php';
 * Include h2 "subhdr" class in a 'ports.php' h2 tag;
 * Add some comments to 'index.php' on my ideas of what the new page content should be (or, at least, look like);
 * Cleanup some unneeded php quoting in 'index.php';
 * Use the $guide_url variable in 'index.php' rather than the explicit link (which is bound to change).

Modified Paths:
--------------
    trunk/www/includes/header.inc
    trunk/www/index.php
    trunk/www/install.php
    trunk/www/ports.php

Added Paths:
-----------
    trunk/www/contact.php

Added: trunk/www/contact.php
===================================================================
--- trunk/www/contact.php	                        (rev 0)
+++ trunk/www/contact.php	2007-10-10 03:59:49 UTC (rev 29783)
@@ -0,0 +1,31 @@
+<?php
+    /* -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 */
+    /* $Id$ */
+    $MPWEB = $_SERVER['DOCUMENT_ROOT'] . dirname($_SERVER['SCRIPT_NAME']);
+    include_once("$MPWEB/includes/common.inc");
+    print_header('MacPorts -- Contact Us', 'utf-8');
+?>
+
+<div id="content">
+
+    <h2 class="hdr">Getting in Touch With Us</h2>
+
+    <p></p>
+
+    <h3 class="subhdr">Mailing Lists</h3>
+
+    <p></p>
+
+    <h3 class="subhdr">Trac</h3>
+
+    <p></p>
+
+    <h3 class="subhdr">IRC</h3>
+
+    <p></p>
+
+</div>
+
+<?php
+    print_footer();
+?>


Property changes on: trunk/www/contact.php
___________________________________________________________________
Name: svn:mime-type
   + text/x-php
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Modified: trunk/www/includes/header.inc
===================================================================
--- trunk/www/includes/header.inc	2007-10-10 01:28:07 UTC (rev 29782)
+++ trunk/www/includes/header.inc	2007-10-10 03:59:49 UTC (rev 29783)
@@ -29,7 +29,8 @@
                     'Installing MacPorts' => 'install.php',
                     'Available Ports' => 'ports.php',
                     'Documentation' => $guide_url,
-                    'Support &amp; Development' => $trac_url
+                    'Support &amp; Development' => $trac_url,
+                    'Blog' => 'blog/'
                 );
                 foreach ($pages as $title => $url) {
                     if (basename($PHP_SELF) == $url) {
@@ -46,15 +47,12 @@
             <ul>
 <?php
                 $shortcuts = array (
-                    'Downloads' => $downloads,
+                    'Available Downloads' => $downloads,
                     'MacPorts FAQ' => $trac_url . 'wiki/FAQ',
-                    // We should either link to the new ticketing guidelines below, while at the same
-                    // time including a link to trac's 'newticket' handler page on the former, or link
-                    // to them off some kind of banner on the latter.
                     'Report a Bug' => $trac_url . 'newticket',
-                    'Blog' => 'blog/',
                     'Subversion Repository' => $svn_url,
                     'MacPorts Team' => $trac_url . 'wiki/MacPortsDevelopers',
+                    'Contact Us' => 'contact.php',
                     'Becoming a Member' => $guide_url . '#project.membership'
                 );
                 foreach ($shortcuts as $title => $url) {

Modified: trunk/www/index.php
===================================================================
--- trunk/www/index.php	2007-10-10 01:28:07 UTC (rev 29782)
+++ trunk/www/index.php	2007-10-10 03:59:49 UTC (rev 29783)
@@ -7,6 +7,18 @@
     print_header('MacPorts -- Home', 'utf-8');
 ?>
 
+<!--
+Things we should address when rewriting this page:
+ *) project description (general information, including project license & latest available release);
+ *) mission goals;
+ *) brief ports tree description (monolithic, no 'stable' and 'unstable' trees, for instance) and total number of available ports, cue to 'ports.php';
+ *) system requirements, cue to 'install.php';
+ *) FAQ reference as a cue to "Support & Development" section & project guide;
+ *) how to contribute and/or join, cue to 'contact.php';
+ *) News section, linking to wordpress blog;
+ *) something else?
+-->
+
 <div id="content">
 
     <h2 class="hdr">Introduction to MacPorts</h2>
@@ -18,25 +30,27 @@
     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="install.php">installing MacPorts</a>
-    section of this site. Also be sure to check out the <a href="http://geeklair.net/new_macports_guide/">documentation</a>,
+    <p>For more information on obtaining and installing MacPorts, please see the <a href="install.php">installing
+    MacPorts</a> section of this site. Also be sure to check out the <a href="<?php print $guide_url; ?>">documentation</a>,
     and if and if you have questions or run into problems, you can get help at our <a href="help.php">help section</a>.
     The <a href="<?php print $trac_url . 'wiki'; ?>">MacPorts Wiki</a> is also a good resource for general and
     miscellaneous help, specially the ongoing <a href="<?php print $trac_url . 'wiki/FAQ'; ?>">FAQ</a>
     effort.</p>
 
     <p>Bug reports, feature requests, and new ports should be submitted as <a href="<?php print $trac_url . 'newticket'; ?>">
-    new tickets</a> into our Trac system. Please consult the <a href="http://geeklair.net/new_macports_guide/#project.tickets">
+    new tickets</a> into our Trac system. Please consult the <a href="<?php print $guide_url . '#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>
+    <p>For information on becoming an official member of the MacPorts project with write access to our subversion
+    repository, please consult the <a href="<?php print $guide_url . '#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="install.php">release</a>: <?php print "$mp_version_latest"; ?></b></p>
+    <p><b>Current MacPorts <a href="install.php">release</a>: <?php print $mp_version_latest; ?></b></p>
 
     <div id="news">
+
         <h2 class="hdr">Project News</h2>
+
 <?php
         print_headlines();
 ?>

Modified: trunk/www/install.php
===================================================================
--- trunk/www/install.php	2007-10-10 01:28:07 UTC (rev 29782)
+++ trunk/www/install.php	2007-10-10 03:59:49 UTC (rev 29783)
@@ -6,11 +6,15 @@
     print_header('MacPorts -- Download &amp; Installation', 'utf-8');
 ?>
 
+<!--
+ *) Amend "help" section with references to 'contact.php';
+-->
+
 <div id="content">
 
     <h2 class="hdr">Installing MacPorts</h2>
 
-    <p>MacPorts version <?php print "$mp_version_major"; ?> is available in binary form as dmg disk images for <a
+    <p>MacPorts version <?php print $mp_version_major; ?> is available in binary form as dmg disk images for <a
     href="<?php print $tiger_dmg; ?>"> Tiger (Universal)</a> and <a href="<?php print $panther_dmg; ?>"> Panther (PowerPC)</a>,
     both containing a pkg installer, or in source form as either a <a href="<?php print $bz2_tarball ?>">tar.bz2</a>
     package or a <a href="<?php print $gz_tarball; ?>">tar.gz</a> one. Checksums for all these are contained in the
@@ -52,8 +56,8 @@
     <p>If on the other hand you decide to install MacPorts from source, there are still a couple of things you will need to
     do once you've downloaded the tarball before you can start installing ports, namely compiling
     and installing MacPorts itself. &ldquo;<kbd>cd</kbd>&rdquo; into the directory where you downloaded the package
-    and run &ldquo;<kbd>tar xjvf <a href="<?php print $bz2_tarball; ?>">MacPorts-<?php print "$mp_version_major"; ?>.tar.bz2
-    </a></kbd>&rdquo; or &ldquo;<kbd>tar xzvf <a href="<?php print $gz_tarball; ?>">MacPorts-<?php print "$mp_version_major";
+    and run &ldquo;<kbd>tar xjvf <a href="<?php print $bz2_tarball; ?>">MacPorts-<?php print $mp_version_major; ?>.tar.bz2
+    </a></kbd>&rdquo; or &ldquo;<kbd>tar xzvf <a href="<?php print $gz_tarball; ?>">MacPorts-<?php print $mp_version_major;
     ?>.tar.gz</a></kbd>&rdquo;, depending on whether you downloaded the bz2 tarball or the gz one, respectively.
     This will unpack the MacPorts sources that you will proceed to build and install. To do so, execute the following:</p>
 
@@ -67,7 +71,7 @@
 
     <p>These steps need to be perfomed from an administrator account, for which &ldquo;<kbd>sudo</kbd>&rdquo;
     will ask the password upon installation. This procedure will install a pristine MacPorts system and, if the
-    optional steps are taken, remove the as of now unnecessary MacPorts-<?php print "$mp_version_major"; ?> source
+    optional steps are taken, remove the as of now unnecessary MacPorts-<?php print $mp_version_major; ?> source
     directory and corresponding tarball. To customize your installation you should read the output of
     &ldquo;<kbd>./configure --help | more</kbd>&rdquo; and pass the appropriate options for the settings you wish to
     tweak to the configuration script in the steps detailed above.</p>

Modified: trunk/www/ports.php
===================================================================
--- trunk/www/ports.php	2007-10-10 01:28:07 UTC (rev 29782)
+++ trunk/www/ports.php	2007-10-10 03:59:49 UTC (rev 29783)
@@ -10,7 +10,7 @@
 ?>
 
 <div id="content">
-    <h2>MacPorts Portfiles</h2>
+    <h2 class="hdr">MacPorts Portfiles</h2>
 
     <p>
         This form allows you to search the current index of MacPorts software. <br />

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071009/12f94ae8/attachment-0001.html


More information about the macports-changes mailing list