Update of /cvsroot/fink/web/pdb
In directory sc8-pr-cvs17:/tmp/cvs-serv18890

Modified Files:
      Tag: redesign_pdb
        footer.inc header.inc 
Log Message:
merges from head

Index: footer.inc
===================================================================
RCS file: /cvsroot/fink/web/pdb/footer.inc,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -u -d -r1.1 -r1.1.4.1
--- footer.inc  13 Jul 2001 20:26:30 -0000      1.1
+++ footer.inc  10 Sep 2007 19:54:22 -0000      1.1.4.1
@@ -1,4 +1,5 @@
 <?
 /* $Id$ */
+$urchin_account = "UA-305132-1";
 include $fsroot."footer.inc";
 ?>

Index: header.inc
===================================================================
RCS file: /cvsroot/fink/web/pdb/header.inc,v
retrieving revision 1.10.2.5
retrieving revision 1.10.2.6
diff -u -d -r1.10.2.5 -r1.10.2.6
--- header.inc  28 Aug 2007 21:36:16 -0000      1.10.2.5
+++ header.inc  10 Sep 2007 19:54:22 -0000      1.10.2.6
@@ -1,7 +1,8 @@
 <?
 /* $Id$ */
 
-$linkroot = "http://pdb.finkproject.org/";;
+$linkroot = "http://www.finkproject.org/";;
+$localroot = "http://pdb.finkproject.org/";;
 
 $server = $_SERVER['SERVER_NAME'];
 $uri = $_SERVER['REQUEST_URI'];
@@ -12,6 +13,9 @@
   exit();
 }
 
+header("Expires: " . gmdate("D, d M Y H:i:s", time() + 3600) . " GMT");
+header("Cache-Control: max-age=3600, s-maxage=900");
+
 /* check path info */
 $PATH_INFO = $HTTP_SERVER_VARS["PATH_INFO"];
 if ($uses_pathinfo) {
@@ -37,11 +41,11 @@
 /* generate page header and navigation */
 $section = "packages";
 $navbox = array(
-  "pdb/index.php", "Introduction",
-  "pdb/sections.php", "By Section",
-  "pdb/browse.php", "By Package",
-  "pdb/browse.php?nolist=on", "Search",
-  "pdb/help.php", "Help needed"
+  $localroot."pdb/index.php", "Introduction",
+  $localroot."pdb/sections.php", "By Section",
+  $localroot."pdb/browse.php", "By Package",
+  $localroot."pdb/browse.php?nolist=on", "Search",
+  $localroot."pdb/help.php", "Help needed"
 );
 
 $fsroot = "../";


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to