summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.php13
-rw-r--r--themes/mageia/page_footer.php10
2 files changed, 13 insertions, 10 deletions
diff --git a/index.php b/index.php
index 8f92329..1df967f 100644
--- a/index.php
+++ b/index.php
@@ -328,13 +328,6 @@ else
</ul>
<script src="js/jquery.js"></script>
<script src="js/pkgsubmit.js"></script>
- <script src="//nav.mageia.org/js/"></script>
- <div class="clear"></div>
- <hr />
- <footer>
- <p>Generated at <?php echo $date_gen; ?>.
- Code for this page is in <a rel="nofollow" href="http://svnweb.mageia.org/soft/build_system/web/">http://svnweb.mageia.org/soft/build_system/web/</a>.</p>
- </footer>
- </article>
-</body>
-</html>
+<?php
+require __DIR__ . '/themes/mageia/page_footer.php';
+?>
diff --git a/themes/mageia/page_footer.php b/themes/mageia/page_footer.php
new file mode 100644
index 0000000..64f6a5b
--- /dev/null
+++ b/themes/mageia/page_footer.php
@@ -0,0 +1,10 @@
+ <script src="//nav.mageia.org/js/"></script>
+ <div class="clear"></div>
+ <hr />
+ <footer>
+ <p>Generated at <?php echo $date_gen; ?>.
+ Code for this page is in <a rel="nofollow" href="http://svnweb.mageia.org/soft/build_system/web/">http://svnweb.mageia.org/soft/build_system/web/</a>.</p>
+ </footer>
+ </article>
+</body>
+</html>