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:
@ -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,
|
||||
|
Reference in New Issue
Block a user