root/homepage/trunk/func.php

Revision 974, 1.1 kB (checked in by arjanmol, 2 years ago)

new logo

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 <?php
2
3 if ($topdir == "")
4     $topdir = ".";
5
6 function head()
7 {
8 global $topdir;
9 print '
10   <title>Gaphor Homepage on SourceForge</title>
11   <link rel="shortcut icon" href="'.$topdir.'/images/favicon.png" type="image/png"/>
12   <meta name="Author" content="Arjan J. Molenaar"/>
13   <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
14   <meta name="Keywords" content="UML, Unified Modeling Language, modeling, tool"/>
15   <style type="text/css" media="all" title="Default">
16   @import url('.$topdir.'/gaphor.css);
17   </style>
18   <style type="text/css" media="print">
19   @import url('.$topdir.'/print.css);
20   </style>';
21 }
22
23 function nav()
24 {
25 global $topdir;
26 print '
27   <div id="header">
28     <h1>Gaphor</h1>
29   </div>
30
31   <div id="nav">
32     <ul>
33       <li><a href="'.$topdir.'/index.php">Home</a></li>
34       <li><a href="'.$topdir.'/features.php">Features</a></li>
35       <li><a href="'.$topdir.'/screenshots.php">Screenshots</a></li>
36       <li><a href="'.$topdir.'/documentation.php">Documentation</a></li>
37       <li><a href="'.$topdir.'/download.php">Download</a></li>
38       <li><a href="http://sourceforge.net/projects/gaphor">Project page</a></li>
39     </ul>
40   </div>';
41 }
42
43 ?>
44
Note: See TracBrowser for help on using the browser.