summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorJohan "Papa" Cwiklinski <trasher@odysseus.(none)>2010-05-25 01:05:25 +0200
committerJohan "Papa" Cwiklinski <trasher@odysseus.(none)>2010-05-25 01:05:25 +0200
commitb76086add9ffb0cbd9ddf54955df51db436ed07a (patch)
tree3f28f0d4653579150915b8e26406d3ae63bfb368 /index.php
parent423564807cbf345a16840acf31ef4bad3a527092 (diff)
Move common header and footer HTML code into separate (and reusable) files, change RPM page layout and validate xhtml 1.0 strict
Diffstat (limited to 'index.php')
-rw-r--r--index.php28
1 files changed, 6 insertions, 22 deletions
diff --git a/index.php b/index.php
index 863ccdb..c9136f4 100644
--- a/index.php
+++ b/index.php
@@ -11,21 +11,9 @@
<body>
<div id="wrapper">
- <div id="header">
- <h1>
- <a href="http://fedoraproject.org"><img src="images/fedora-logo.png" alt="Fedora Project"/></a>
- </h1>
- <div id="headsearch">
- <form action='zoom.php' method='get'>
- <div>
- <label for="rpm">Package&nbsp;: </label>
- <input type="text" name="rpm" id="rpm" size="20" />
- <input type="submit" value="Search" />
- </div>
- </form>
- </div>
- </div>
-
+<?php
+include '_header.php';
+?>
<!-- content BEGIN -->
<div id="fedora-content">
<div id="ariane">
@@ -88,13 +76,9 @@ try {
<p>You can retrieve the current application sources from my GIT repository on github.com: <a href='http://github.com/remicollet/rpmphp'>http://github.com/remicollet/rpmphp</a>.</p>
<p>Feedbacks, RFE and patches are welcome.</p>
</div><!-- /fedora-content -->
- <div id="footer">
- <p class="disclaimer">The Fedora Project is maintained and driven by the community and sponsored by Red Hat. This is a community maintained site. Red Hat is not responsible for content.</p>
- <ul>
- <li><a href="http://fedoraproject.org/wiki/Legal:Main">Legal</a></li>
- <li><a href="http://fedoraproject.org/wiki/Legal:Trademark_guidelines">Trademark Guidelines</a></li>
- </ul>
- </div><!-- /footer -->
+<?php
+include '_footer.php';
+?>
</div>
</body>
</html>