Ignore:
Timestamp:
Sep 13, 2007, 5:41:18 AM (13 years ago)
Author:
jmpp@…
Message:

Rework the URL abstraction variables and extend their usage to the remaining pages.
Also correct some href's to reflect the flat directory layout we now have for all
our pages (that is, no more hardcoded 'macports' dir).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/includes/header.inc

    r28994 r29011  
    11<?php
    22/* $Id$ */
    3 global $mp_version_major, $trac_url;
     3global $mp_version_major, $trac_url, $svn_url, $downloads;
    44?>
    55
     
    4545        <dd>
    4646            <ul>
    47                 <li><a href="http://svn.macports.org/repository/macports/downloads/MacPorts-<?php print "$mp_version_major"; ?>">MacPorts Downloads</a></li>
    48                 <li><a href="http://svn.macports.org/repository/macports/">Subversion Repository</a></li>
    49                 <li><a href="http://trac.macports.org/projects/macports/wiki/FAQ">MacPorts FAQ</a></li>
    50                 <li><a href="http://trac.macports.org/projects/macports/newticket">Report a Bug</a></li>
     47                <li><a href="<?php print $downloads; ?>">MacPorts Downloads</a></li>
     48                <li><a href="<?php print $svn_url; ?>">Subversion Repository</a></li>
     49                <li><a href="<?php print $trac_url . 'wiki/FAQ'; ?>">MacPorts FAQ</a></li>
     50                <li><a href="<?php print $trac_url . 'newticket'; ?>">Report a Bug</a></li>
    5151            </ul>
    5252        </dd>
Note: See TracChangeset for help on using the changeset viewer.