source: trunk/www/index.php @ 28994

Last change on this file since 28994 was 28994, checked in by jmpp@…, 13 years ago
  • Rework the $mp_version* variables into $mp_version_major & $mp_version_latest, use them appropriately;
  • Abstract commonly used links in includes/ and use them throughout all the files, but mainly in getmp.php;
  • Point the help section referenced in getmp.php to our trac portal;

NOTE: "Help" section and "SVN sources" in getmp.php still need to be rewritten.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-php
File size: 2.7 KB
2  /* $Id: index.php 28994 2007-09-12 22:33:44Z $ */
[28820]3  $MPWEB = $_SERVER['DOCUMENT_ROOT'] . dirname($_SERVER['SCRIPT_NAME']);
4  include_once("$MPWEB/includes/");
5  include_once("$MPWEB/includes/");
[28649]6  print_header('MacPorts -- Home', 'utf-8');
[28897]8    <div id="content">
[28818]9      <h2 class="hdr">Introduction to MacPorts</h2>
10      <p>
11        The MacPorts Project's main goal is to provide an easy way to
12        install various open-source software products on the <a
13        href="">Mac OS X</a> operating system.
14      </p>
15      <p>
16        There are currently about <?php echo ports_count(); ?> completed and
17        usable <a href="/macports/ports.php">ports</a>, with more being added on
18        a regular basis. You can track recently added ports by subscribing to
19        the <a href="">macports-changes</a>
20        mailing list.
21      </p>
22      <p>
23        For more information on obtaining and installing MacPorts, please see
24        the <a href="/macports/getmp.php">Get MacPorts</a> section of this site.
25        Also be sure to check out the <a
26        href="">documentation</a>, and if
27        and if you have questions or run into problems, you can get help at our
28        <a href="/macports/help.php">help section</a>. The
29        <a href="">MacPorts
30        Wiki</a>is also a good resource for general and miscellaneous help,
31        specially the ongoing <a
32        href="">FAQ</a>
33        effort.
34      </p>
35      <p>
36        Bug reports, feature requests, and new ports should be submitted as
37        <a href="">new
38        tickets</a> into our Trac system. Please consult the <a
39        href="">documentation</a>
40        to improve the processing of your ticket(s).
41      </p>
42      <p>
43        For information on becoming an official member of the MacPorts project
44        with write access to our subversion repository, please consult the
45        <a href="">relevant
46        documentation</a> detailing our membership requirements and resulting
47        duties &amp; benefits from holding a MacPorts account.
48      </p>
49      <p>
[28994]50        <b>Current MacPorts <a href="/macports/getmp.php">release</a>: <?php print "$mp_version_latest"; ?></b>
[28818]51      </p>
52      <div id="news">
53        <h2 class="hdr">Project News</h2>
55  print_headlines();
[28818]57        <p>You can also browse our <a href="/macports/archives.php">news archives</a>.</p>
58      </div>
[28897]59    </div>
61  print_footer();
Note: See TracBrowser for help on using the repository browser.