1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-29 15:41:13 +03:00

enhanced to remove forcing module names to lower case, and to fix problem

* doc/search.php.inc, doc/search/php: enhanced to remove
  forcing module names to lower case, and to fix problem
  with links between pages in libxml2 directory.
This commit is contained in:
William M. Brack
2004-05-26 02:50:53 +00:00
parent 9c0d16b2f5
commit ba59de1fb1
3 changed files with 26 additions and 12 deletions

View File

@ -171,8 +171,9 @@
$t,$m,$d,$w,$u);
} else {
$id = strtoupper($name);
$m = strtolower($module);
$url = "html/libxml-$m.html#$id";
// $m = strtolower($module);
$m = $module;
$url = "../html/libxml-$m.html#$id";
$results[$name] = array($relevance,$type,
$module, $desc, $name, $url);
}
@ -196,8 +197,9 @@
$t,$m,$d,$w,$u);
} else {
$id = strtoupper($name);
$m = strtolower($module);
$url = "XSLT/html/libxslt-$m.html#$id";
// $m = strtolower($module);
$m = $module;
$url = "html/libxslt-$m.html#$id";
$results[$name] = array($relevance,$type,
$module, $desc, $name, $url);
}
@ -263,7 +265,8 @@
$t,$m,$d,$w,$u);
} else {
$id = strtoupper($name);
$m = strtolower($module);
// $m = strtolower($module);
$m = $module;
$u = str_replace(
"http://mail.gnome.org/archives/xml/", "", $url);
$results[$url] = array($relevance,$type,
@ -289,7 +292,8 @@
$t,$m,$d,$w,$u);
} else {
$id = strtoupper($name);
$m = strtolower($module);
// $m = strtolower($module);
$m = $module;
$u = str_replace(
"http://mail.gnome.org/archives/xslt/", "", $url);
$results[$url] = array($relevance,$type,