Revision 7911
Added by Aaron Marcuse-Kubitza almost 12 years ago
index.php | ||
---|---|---|
24 | 24 |
if (is_string($url_func)) $url_func = by_prefix($url_func); |
25 | 25 |
|
26 | 26 |
print("<h".$h_level.' id="'.$name.'">'.$alias.'<big><a href="http://'.$alias |
27 |
.$name.'">'.$name."</a></big><i>".$suffix."</i></h".$h_level.">\n"); |
|
28 |
if ($ref === strtolower($name)) # found match, so redirect |
|
27 |
custom_separator if ($ref === strtolower($name)) # found match, so redirect |
|
29 | 28 |
{ |
30 | 29 |
header("Location: ".strip_url($url_func($path->tail))); |
31 | 30 |
ob_end_flush(); |
... | ... | |
97 | 96 |
|
98 | 97 |
function VegBank($url) |
99 | 98 |
{ |
100 |
return function($path) use($url) |
|
101 |
{ |
|
102 |
$path = parse_dot_path($path); |
|
103 |
if ($path->head !== "") $url .= "/vegbank/views/dba_tabledescription_detail.jsp?view=detail&entity=dba_tabledescription&where=where_tablename&wparam=".$path->head."#".$path->tail; |
|
104 |
else $url .= "/get/index/dba_tabledescription"; |
|
105 |
return $url; |
|
106 |
}; |
|
99 |
return custom_separator($url."/vegbank/views/dba_tabledescription_detail.jsp?view=detail&entity=dba_tabledescription&where=where_tablename&wparam=", "#"); |
|
107 | 100 |
} |
108 | 101 |
|
109 | 102 |
ob_start(); // delay output in case there is a redirect |
Also available in: Unified diff
web/vegpath/index.php: VegBank(): Use new custom_separator()