Update of /cvsroot/fink/web In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13972
Modified Files: header.inc Log Message: revert to rev 1.95 Index: header.inc =================================================================== RCS file: /cvsroot/fink/web/header.inc,v retrieving revision 1.96 retrieving revision 1.97 diff -u -d -r1.96 -r1.97 --- header.inc 24 Feb 2006 05:48:10 -0000 1.96 +++ header.inc 25 Feb 2006 07:00:49 -0000 1.97 @@ -57,7 +57,6 @@ define (FINK_SECTION_FAQ, 'F.A.Q.'); define (FINK_SECTION_DOCUMENTATION, 'Documentation'); define (FINK_SECTION_MAILING_LISTS, 'Mailing Lists'); -define (FINK_SECTION_LANG_SPECIFIC, 'Language Specific'); /* The Home Subsections. Used in Menu Navigation Bar */ define (FINK_SECTION_HOME_INDEX, 'Index'); @@ -99,17 +98,14 @@ 'mailing-lists' => FINK_SECTION_MAILING_LISTS ); -// Set the default $root -if (!$root) $root='./'; - $section_files = array( - 'home' => $root . 'index.php', - 'download' => $root . 'download/index.php', - 'packages' => 'http://pdb.finkproject.org/pdb/index.php', - 'help' => $root . 'help/index.php', - 'faq' => $root . 'faq/index.php', - 'documentation' => $root . 'doc/index.php', - 'mailing-lists' => $root . 'lists/index.php' + 'home' => 'http://fink.sourceforge.net/index.php?phpLang='. $lang_code, + 'download' => 'http://fink.sourceforge.net/download/index.php?phpLang='. $lang_code, + 'packages' => 'http://pdb.finkproject.org/pdb/index.php?phpLang='. $lang_code, + 'help' => 'http://fink.sourceforge.net/help/index.php?phpLang='. $lang_code, + 'faq' => 'http://fink.sourceforge.net/faq/index.php?phpLang='. $lang_code, + 'documentation' => 'http://fink.sourceforge.net/doc/index.php?phpLang='. $lang_code, + 'mailing-lists' => 'http://fink.sourceforge.net/lists/index.php?phpLang='. $lang_code ); if (!$section) $section = "home"; @@ -117,11 +113,11 @@ // main navigation box if (!is_array($navbox) && $nonav != 1) { $navbox = array( - 'index.php', FINK_SECTION_HOME_INDEX, - 'news/index.php', FINK_SECTION_HOME_NEWS, - 'about.php', FINK_SECTION_HOME_ABOUT, - 'people.php', FINK_SECTION_HOME_CONTRIBUTORS, - 'links.php', FINK_SECTION_HOME_LINKS + 'index.php?phpLang='. $lang_code, FINK_SECTION_HOME_INDEX, + 'news/index.php?phpLang='. $lang_code, FINK_SECTION_HOME_NEWS, + 'about.php?phpLang='. $lang_code, FINK_SECTION_HOME_ABOUT, + 'people.php?phpLang='. $lang_code, FINK_SECTION_HOME_CONTRIBUTORS, + 'links.php?phpLang='. $lang_code, FINK_SECTION_HOME_LINKS ); } ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits