Changeset 28303 for trunk/www/admin


Ignore:
Timestamp:
Aug 28, 2007, 1:00:46 AM (13 years ago)
Author:
jmpp@…
Message:

Major but minor commit to the www svn space: reorder the sources a bit to have a cleaner
layout while bringing the content up to speed with current practices and reality, otherwise
sticking to the same website we had back in OpenDarwin days.

The one big thing about this commit, though, is that the old ports.php page is again operational,
as shown in my local server: http://apollo.homeunix.net/macports/ports.php. Woot!

Further discussion of what to do with these sources is needed, however, so I'm not gonna push to
host them anywhere for the time being until we have a clearer map of how we should move forward
wrt our web presence.

Location:
trunk/www/admin
Files:
1 deleted
1 edited
4 copied

Legend:

Unmodified
Added
Removed
  • trunk/www/admin/add.php

    r28240 r28303  
    11  <?php
    22    $DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT'];
    3     include_once("$DOCUMENT_ROOT/includes/common.inc");
    4     include_once("$DOCUMENT_ROOT/includes/functions.inc");
    5     print_header('DarwinPorts | Add news', 'iso-8859-1');
     3    include_once("$DOCUMENT_ROOT/macports/includes/common.inc");
     4    include_once("$DOCUMENT_ROOT/macports/includes/news.inc");
     5    print_header('MacPorts | Add news', 'utf-8');
    66  ?>
    77
  • trunk/www/admin/edit.php

    r28240 r28303  
    11  <?php
    22    $DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT'];
    3     include_once("$DOCUMENT_ROOT/includes/common.inc");
    4     include_once("$DOCUMENT_ROOT/includes/functions.inc");
    5     print_header('DarwinPorts | Edit news', 'iso-8859-1');
     3    include_once("$DOCUMENT_ROOT/macports/includes/common.inc");
     4    include_once("$DOCUMENT_ROOT/macports/includes/news.inc");
     5    print_header('MacPorts | Edit news', 'utf-8');
    66  ?>
    77
  • trunk/www/admin/index.php

    r19376 r28303  
    11  <?php
    22    $DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT'];
    3     include_once("$DOCUMENT_ROOT/includes/common.inc");
    4     include_once("$DOCUMENT_ROOT/includes/functions.inc");
    5     print_header('DarwinPorts Site Administration', 'iso-8859-1');
     3    include_once("$DOCUMENT_ROOT/macports/includes/common.inc");
     4    print_header('MacPorts Site Administration', 'utf-8');
    65  ?>
    76
     
    1312
    1413      <ul>
    15         <li><a href="/admin/headlines/add.php">Add headline</a></li>
    16         <li><a href="/admin/headlines/list.php">List all headlines</a></li>
    17         <li><a href="/admin/headlines/rss.php">Regenerate RSS feed</a></li>
     14        <li><a href="/macports/admin/add.php">Add headline</a></li>
     15        <li><a href="/macports/admin/list.php">List all headlines</a></li>
     16        <li><a href="/macports/admin/rss.php">Regenerate RSS feed</a></li>
    1817      </ul>
    1918
    2019      <p>If you need to edit an already-posted headline, find it in the <a
    21         href="/admin/headlines/list.php">list</a>, and choose edit.</p>
     20        href="/macports/admin/list.php">list</a>, and choose edit.</p>
    2221    </div>
    2322  </div>
  • trunk/www/admin/list.php

    r28240 r28303  
    11  <?php
    22    $DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT'];
    3     include_once("$DOCUMENT_ROOT/includes/common.inc");
    4     include_once("$DOCUMENT_ROOT/includes/functions.inc");
    5     print_header('DarwinPorts | List all news', 'iso-8859-1');
     3    include_once("$DOCUMENT_ROOT/macports/includes/common.inc");
     4    include_once("$DOCUMENT_ROOT/macports/includes/news.inc");
     5    print_header('MacPorts | List all news', 'utf-8');
    66  ?>
    77
  • trunk/www/admin/rss.php

    r28240 r28303  
    11<?php
    22  $DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT'];
    3   include_once("$DOCUMENT_ROOT/includes/functions.inc");
     3  include_once("$DOCUMENT_ROOT/macports/includes/news.inc");
    44  create_rss();
    55?>
Note: See TracChangeset for help on using the changeset viewer.