/[cvs]/nfo/php/libs/org.netfrag.app/WebExplorer/Module/Chooser.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.app/WebExplorer/Module/Chooser.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by joko, Sat Apr 5 20:33:39 2003 UTC revision 1.4 by jonen, Fri Apr 18 14:40:57 2003 UTC
# Line 4  Line 4 
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
16    ##    fixed arguments/parameters to propagate into the url
17    ##
18  ##    Revision 1.1  2003/04/05 20:33:39  joko  ##    Revision 1.1  2003/04/05 20:33:39  joko
19  ##    initial commit  ##    initial commit
20  ##  ##
# Line 17  class WebExplorer_Module_Chooser extends Line 28  class WebExplorer_Module_Chooser extends
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&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";
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    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed