Ignore:
Timestamp:
Sep 6, 2007, 7:04:17 AM (13 years ago)
Author:
sfiera@…
Message:

New clothes!

  • Applies style of my mockup to /trunk/www, at jmpp@'s request
  • Use php long-tags (mostly)
  • Valid XHTML 1.1 (mostly)
File:
1 edited

Legend:

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

    r28382 r28649  
    2727  global $DOCUMENT_ROOT;
    2828?>
    29 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    30   "http://www.w3.org/TR/xhtml/DTD/xhtml1-strict.dtd">
    31 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     29<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
     30                      "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
     31<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    3232  <head>
    3333    <title><?php echo("$title"); ?></title>
    3434    <meta http-equiv="Content-type" content="text/html; charset=<?php echo("$encoding"); ?>" />
    3535    <meta name="author" content="Jim Mock (mij@macports.org)" />
     36    <meta name="author" content="Juan Manuel Palacios (jmpp@macports.org)" />
     37    <meta name="author" content="Chris Pickel (sfiera@macports.org)" />
    3638    <meta name="copyright" content="2003, OpenDarwin" />
    37     <meta name="author" content="Juan Manuel Palacios (jmpp@macports.org)" />
    3839    <meta name="copyright" content="2007, MacPorts Team" />
    3940    <meta name="robots" content="all" />
    4041    <link rel="stylesheet" type="text/css" href="/macports/mp.css" />
    4142    <link rel="alternate" type="application/rss+xml" href="/macports/macports_news.xml" />
     43    <script type="text/javascript" src="mootools.v1.11.js"></script>
     44    <script type="text/javascript" src="language.js"></script>
    4245  </head>
    43 
    4446  <body>
    45 
    46   <?php check_referer(); ?>
    47  
    48   <div id="main">
    49 
    50 <?php
    51   include("$DOCUMENT_ROOT/macports/includes/header.inc");
     47  <?php
     48    include("$DOCUMENT_ROOT/macports/includes/header.inc");
     49    check_referer();
    5250}
    5351
     
    8785        if (preg_match("/darwinports.com/", $_SERVER['HTTP_REFERER'])) {
    8886?>
    89         <div class="referer_box">
    90                 <h1>The Official MacPorts Web Site, home of the project previously known as DarwinPorts</h1>
    91                
     87        <div class="warning">
    9288                <p>You have arrived at the <b>Official MacPorts Web Site</b> from <i>darwinports.com</i>.</p>
    93          
    9489                <p><i>darwinports.com</i> <b>is not the official MacPorts Web Site</b>, nor is it a mirror of
    9590                the <i>Official MacPorts Web Site</i>.  There is <b>no relationship</b> between the <i>MacPorts
Note: See TracChangeset for help on using the changeset viewer.