art-web r518 - branches/art-hub/templates



Author: thos
Date: Sun Jun 15 21:52:00 2008
New Revision: 518
URL: http://svn.gnome.org/viewvc/art-web?rev=518&view=rev

Log:
* Add header and footer templates


Added:
   branches/art-hub/templates/
   branches/art-hub/templates/footer.php
   branches/art-hub/templates/header.php

Added: branches/art-hub/templates/footer.php
==============================================================================
--- (empty file)
+++ branches/art-hub/templates/footer.php	Sun Jun 15 21:52:00 2008
@@ -0,0 +1,10 @@
+
+</div> <!-- end of div#content -->
+
+  <div id="footer">
+    Copyright &copy; 2005-2008 <a href="http://www.gnome.org/";>The GNOME Project</a>.<br>
+    <a href="http://validator.w3.org/check/referer";>Optimised</a> for <a href="http://www.w3.org/";>standards</a>. Hosted by <a href="http://www.redhat.com/";>Red Hat</a>.
+  </div>
+
+  </div> <!-- end of div#body -->
+</body></html>

Added: branches/art-hub/templates/header.php
==============================================================================
--- (empty file)
+++ branches/art-hub/templates/header.php	Sun Jun 15 21:52:00 2008
@@ -0,0 +1,60 @@
+<?php
+function tab ($tab, $page)
+{
+  if ($tab == $page) echo ' class="selected"';
+}
+?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>
+<html><head>
+
+
+  <link href="/css/layout.css" rel="stylesheet" type="text/css" media="screen">
+  <link href="/css/style.css" rel="stylesheet" type="text/css" media="all">
+  <link rel="icon" type="image/png" href="http://www.gnome.org/img/logo/foot-16.png";>
+  <link rel="SHORTCUT ICON" type="image/png" href="http://www.gnome.org/img/logo/foot-16.png";>
+  <title>GNOME: The Free Software Desktop Project</title>
+
+
+<link rel="stylesheet" type="text/css" href="css/frontpage.css"></head><body>
+  <!-- site header -->
+  <div id="page">
+    <ul id="general">
+      <li id="siteaction-gnome_home" class="home">
+        <a href="http://www.gnome.org/"; title="Home">Home</a>
+      </li>
+      <li id="siteaction-gnome_news">
+        <a href="http://news.gnome.org/"; title="News">News</a>
+      </li>
+      <li id="siteaction-gnome_projects">
+        <a href="http://www.gnome.org/projects/"; title="Projects">Projects</a>
+      </li>
+      <li id="siteaction-gnome_art">
+        <a href="http://art.gnome.org/"; title="Art">Art</a>
+      </li>
+      <li id="siteaction-gnome_support">
+        <a href="http://www.gnome.org/support/"; title="Support">Support</a>
+      </li>
+      <li id="siteaction-gnome_development">
+        <a href="http://developer.gnome.org/"; title="Development">Development</a>
+      </li>
+      <li id="siteaction-gnome_community">
+        <a href="http://www.gnome.org/community/"; title="Community">Community</a>
+      </li>
+    </ul>
+    <div id="header">
+      <h1>GNOME Art</h1>
+      <div id="tabs">
+        <ul id="portal-globalnav">
+          <li<?php tab('art', $page)?>><a href="/"><span>Art</span></a></li>
+          <li<?php tab('themes', $page)?>><a href="/themes"><span>Themes</span></a></li>
+          <li<?php tab('backgrounds', $page)?>><a href="/backgrounds"><span>Backgrounds</span></a></li>
+          <li<?php tab('faq', $page)?>><a href="/faq"><span>FAQ</span></a></li>
+        </ul>
+      </div> <!-- end of #tabs -->
+    </div> <!-- end of #header -->
+  </div>
+<!-- end site header -->
+
+<div id="body">
+<div id="content">
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]