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

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

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