summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMhonarc archives guy2012-01-04 11:43:26 +0000
committerAlvaro Herrera2012-01-16 20:42:37 +0000
commit7377b73cd486264ee48a85be53a51a7092ed2c5b (patch)
tree2f762949bafac55f73380fcdf004c44169b8d5e2
parentb7a7afd048eaf15d4429bb9acb74db2ae125aac4 (diff)
Use HTML template in bottom_config.php
This removes a duplicate in footers, which means we will no longer forget to update one copy of our copyright declaration etc.
-rw-r--r--archives/html/includes/bottom_config.php19
1 files changed, 8 insertions, 11 deletions
diff --git a/archives/html/includes/bottom_config.php b/archives/html/includes/bottom_config.php
index b779e5c4..10e9d7c7 100644
--- a/archives/html/includes/bottom_config.php
+++ b/archives/html/includes/bottom_config.php
@@ -1,14 +1,11 @@
-</div></div>
+<?php
-<br class="pgClearBoth" />
+$tmpldir = $_SERVER['DOCUMENT_ROOT'] . "/../templates";
+$tpl =& new HTML_Template_Sigma($tmpldir."/html");
+$tpl->loadTemplateFile('bottom_config.html');
- </div>
- <div id="pgFooter">
- <a href="http://www.postgresql.org/about/privacypolicy" class="navFooter">Privacy Policy</a> | PostgreSQL Archives hosted by <a href="http://www.commandprompt.com/">Command Prompt, Inc.</a> | Designed by <a href="http://www.tinysofa.com/">tinysofa</a><br />
- Copyright &copy; 1996 &ndash; 2008 PostgreSQL Global Development Group
- </div>
- </div>
- </div>
- </body>
-</html>
+$tpl->parse();
+$tpl->show();
+
+?>