[Gnucash-changes] r13186 - mail-search/trunk/mail-search - new
mail-search locator
Neil Williams
codehelp at cvs.gnucash.org
Thu Feb 9 18:05:12 EST 2006
Author: codehelp
Date: 2006-02-09 18:05:12 -0500 (Thu, 09 Feb 2006)
New Revision: 13186
Trac: http://svn.gnucash.org/trac/changeset/13186
Modified:
mail-search/trunk/mail-search/search-tips.php
mail-search/trunk/mail-search/search.php
Log:
new mail-search locator
Modified: mail-search/trunk/mail-search/search-tips.php
===================================================================
--- mail-search/trunk/mail-search/search-tips.php 2006-02-09 23:04:28 UTC (rev 13185)
+++ mail-search/trunk/mail-search/search-tips.php 2006-02-09 23:05:12 UTC (rev 13186)
@@ -1,10 +1,5 @@
<?php
$title="Mailing List Archive Search";
-# search does not use GLOBALS.
-$fullname = $_SERVER["PHP_SELF"];
-$topdir= dirname($fullname)."/";
-$toppath= getcwd();
-unset($fullname);
# the search script needs the list archives on the
# same machine. The rest of the site can be mirrored
# but the search page only operates properly on
@@ -16,8 +11,8 @@
else {
$home = "";
}
-include($toppath."/externals/en/header.phtml");
-include($toppath."/externals/en/menu-main-help.phtml");
+include("externals/header.phtml");
+include("externals/menu-main-documentation.phtml");
?>
<div id="content">
@@ -61,4 +56,4 @@
<code>https://lists.gnucash.org/search/search.php?terms=test</code></li></ol>
<p><a href="search.php">Back to search</a> </p>
</div>
-<?php include($toppath."/externals/en/footer.phtml"); ?>
+<?php include("externals/footer.phtml"); ?>
Modified: mail-search/trunk/mail-search/search.php
===================================================================
--- mail-search/trunk/mail-search/search.php 2006-02-09 23:04:28 UTC (rev 13185)
+++ mail-search/trunk/mail-search/search.php 2006-02-09 23:05:12 UTC (rev 13186)
@@ -1,10 +1,5 @@
<?php
$title="Mailing List Archive Search";
-# search does not use GLOBALS.
-$fullname = $_SERVER["PHP_SELF"];
-$topdir= dirname($fullname)."/";
-$toppath= getcwd();
-unset($fullname);
# the search script needs the list archives on the
# same machine. The rest of the site can be mirrored
# but the search page only operates properly on
@@ -16,8 +11,8 @@
else {
$home = "";
}
-include($toppath."/externals/en/header.phtml");
-include($toppath."/externals/en/menu-main-help.phtml");
+include("externals/header.phtml");
+include("externals/menu-main-documentation.phtml");
?>
<div id="content">
@@ -274,7 +269,7 @@
</div></form>
</div>
<?php
- include($toppath."/externals/en/footer.phtml");
+ include("externals/footer.phtml");
exit;
}
@@ -400,7 +395,7 @@
</div>
<?php
- include($toppath."/externals/en/footer.phtml");
+ include("externals/footer.phtml");
closedir($dp);
exit;
@@ -558,5 +553,5 @@
?>
</div>
-<?php include($toppath."/externals/en/footer.phtml"); ?>
+<?php include("externals/footer.phtml"); ?>
More information about the gnucash-changes
mailing list