4 |
## $Id$ |
## $Id$ |
5 |
## ----------------------------------------------------------------------------- |
## ----------------------------------------------------------------------------- |
6 |
## $Log$ |
## $Log$ |
7 |
|
## Revision 1.4 2003/04/18 14:40:57 jonen |
8 |
|
## bugfix |
9 |
|
## |
10 |
|
## Revision 1.3 2003/04/18 13:36:17 jonen |
11 |
|
## CHANGE: url is now builded with dynamic link_vars |
12 |
|
## which are now passed by the constructor arguments. |
13 |
|
## (so that the AbstractExplorer could handle these...) |
14 |
|
## |
15 |
## Revision 1.2 2003/04/08 17:59:27 joko |
## Revision 1.2 2003/04/08 17:59:27 joko |
16 |
## fixed arguments/parameters to propagate into the url |
## fixed arguments/parameters to propagate into the url |
17 |
## |
## |
28 |
|
|
29 |
function propagate() { |
function propagate() { |
30 |
|
|
31 |
|
$link_vars = $this->_args['hidden_elements']; |
32 |
|
|
33 |
foreach ($this->result as $value) { |
foreach ($this->result as $value) { |
34 |
$alt_caption = "Zur Datenquelle '$value' wechseln."; |
$alt_caption = "Zur Datenquelle '$value' wechseln."; |
35 |
|
|
36 |
|
// OLD |
37 |
//$url = $_SERVER['PHP_SELF'] . "?" . $this->_control['page_ident_label'] . "=d_list&l_label=" . $value; |
//$url = $_SERVER['PHP_SELF'] . "?" . $this->_control['page_ident_label'] . "=d_list&l_label=" . $value; |
38 |
//$url = $_SERVER['PHP_SELF'] . "?ap=explorer&ecl=content&ecdl=rpc&ecds=$value"; |
//$url = $_SERVER['PHP_SELF'] . "?ap=explorer&ecl=content&ecdl=rpc&ecds=$value"; |
39 |
$url = $_SERVER['PHP_SELF'] . "?ap=explorer&ecl=phase_startup&ecdl=rpc&ecds=$value"; |
//$url = $_SERVER['PHP_SELF'] . "?ap=explorer&ecl=phase_startup&ecdl=rpc&ecds=$value"; |
40 |
|
|
41 |
|
// NEW use helper functions for building url recognizing link_vars(page state) |
42 |
|
$link_vars['ecds'] = $value; |
43 |
|
$url = url::short(null, $link_vars); |
44 |
|
|
45 |
$this->nav->add($url, $value, $alt_caption); |
$this->nav->add($url, $value, $alt_caption); |
46 |
} |
} |
47 |
|
|