[Gnucash-changes] r12862 - mail-search/trunk/mail-search - using
externals in the search front page - more to do
Neil Williams
codehelp at cvs.gnucash.org
Wed Jan 18 19:39:54 EST 2006
Author: codehelp
Date: 2006-01-18 19:39:53 -0500 (Wed, 18 Jan 2006)
New Revision: 12862
Trac: http://svn.gnucash.org/trac/changeset/12862
Modified:
mail-search/trunk/mail-search/search.php
Log:
using externals in the search front page - more to do
Modified: mail-search/trunk/mail-search/search.php
===================================================================
--- mail-search/trunk/mail-search/search.php 2006-01-19 00:39:05 UTC (rev 12861)
+++ mail-search/trunk/mail-search/search.php 2006-01-19 00:39:53 UTC (rev 12862)
@@ -1,17 +1,11 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
-<html>
-<head>
-<link rel="stylesheet" href="en/gnucash.css" type="text/css">
-<link rel="stylesheet" href="search.css" type="text/css">
-<link rel="icon" href="favicon.ico" type="image/x-icon">
-<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
-<meta name="author" content="Neil Williams">
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.gnucash.org/en/rss-feed.phtml">
-<title>GnuCash - Mailing List Archive Search</title>
-</head>
-<body>
-<?php include "links.html"; ?>
+<?php $title="Mailing List Archive Search"; ?>
+<?php if (!ini_get('register_globals')) {
+ include("emulate_globals_on.php");
+}
+?>
+<?php include($GLOBALS['DOCUMENT_ROOT']."/externals/en/header.phtml"); ?>
+<?php include($GLOBALS['DOCUMENT_ROOT']."/externals/en/menu-main-help.phtml"); ?>
+
<div id="content">
<?php
@@ -28,7 +22,7 @@
# changes February 2004
*/
# OMIT the final / from $base!
-$base = "/var/lib/mailman/archives/public";
+$base = "/var/mailman/archives/public";
$default_list = "gnucash-user";
$default_length = 2; /* default time period to search */
$max_length = 10; /* maximum number of archives to search */
@@ -265,16 +259,8 @@
<input type="submit" value="Search!"> <input type="reset">
</div></form>
</div>
-<div style="clear:both;float:none;"> </div>
-<div id="tail">
-<p style="float:right;padding-right:1em;"><a href='http://validator.w3.org/check/referer'>Validate</a> </p>
-<p style="text-align:center;"><b>Copyright © 2001-2005 The GnuCash Project</b></p>
-<p style="text-align:center;">Search problem reports to:
-<a href="mailto:linux at codehelp.co.uk"><b>Neil Williams <linux at codehelp.co.uk></b></a></p>
-</div>
-</body>
-</html>
<?php
+ include($GLOBALS['DOCUMENT_ROOT']."/externals/en/footer.phtml");
exit;
}
@@ -398,16 +384,10 @@
print "<p>Please try another <a href=\"$self\">search</a> </p>\n";
?>
</div>
-<div style="clear:both;float:none;"> </div>
-<div id="tail">
-<p style="float:right;padding-right:1em;"><a href='http://validator.w3.org/check/referer'>Validate</a> </p>
-<p style="text-align:center;"><b>Copyright © 2001-2005 The GnuCash Project</b></p>
-<p style="text-align:center;">Search problem reports to:
-<a href="mailto:linux at codehelp.co.uk"><b>Neil Williams <linux at codehelp.co.uk></b></a></p>
-</div>
-</body>
-</html>
-<?php
+<?php
+
+ include($GLOBALS['DOCUMENT_ROOT']."/externals/en/footer.phtml");
+
closedir($dp);
exit;
}
@@ -563,12 +543,6 @@
print "</ol></div>\n";
?>
</div>
-<div style="clear:both;float:none;"> </div>
-<div id="tail">
-<p style="float:right;padding-right:1em;"><a href='http://validator.w3.org/check/referer'>Validate</a> </p>
-<p style="text-align:center;"><b>Copyright © 2001-2005 The GnuCash Project</b></p>
-<p style="text-align:center;">Search problem reports to:
-<a href="mailto:linux at codehelp.co.uk"><b>Neil Williams <linux at codehelp.co.uk></b></a></p>
-</div>
-</body>
-</html>
+
+<?php include($GLOBALS['DOCUMENT_ROOT']."/externals/en/footer.phtml"); ?>
+
More information about the gnucash-changes
mailing list