/[cvs]/nfo/php/libs/org.netfrag.patches/phphtmllib/widgets/FlexibleNegotiation.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.patches/phphtmllib/widgets/FlexibleNegotiation.php

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

revision 1.1 by joko, Fri Apr 11 00:40:31 2003 UTC revision 1.3 by joko, Fri Apr 11 01:34:46 2003 UTC
# Line 14  Line 14 
14   * $Id$   * $Id$
15   *   *
16   * $Log$   * $Log$
17     * Revision 1.3  2003/04/11 01:34:46  joko
18     * don't show any form content on this negotation (does delete only by now)
19     *
20     * Revision 1.2  2003/04/11 00:59:10  joko
21     * minor update regarding function rename
22     *
23   * Revision 1.1  2003/04/11 00:40:31  joko   * Revision 1.1  2003/04/11 00:40:31  joko
24   * initial commit   * initial commit
25   *   *
# Line 44  class FlexibleNegotiation extends EditDa Line 50  class FlexibleNegotiation extends EditDa
50       *       *
51       */       */
52    function FlexibleNegotiation($title, $options = array(), $negotiation_options = array()) {    function FlexibleNegotiation($title, $options = array(), $negotiation_options = array()) {
53        
54      $this->_negotiation_options = $negotiation_options;      $this->_negotiation_options = $negotiation_options;
55            
56      // change phpHtmlLib default behavior to change      // change phpHtmlLib default behavior to change
# Line 57  class FlexibleNegotiation extends EditDa Line 63  class FlexibleNegotiation extends EditDa
63      $this->EditDataItem($title, $options);      $this->EditDataItem($title, $options);
64      //$this->StandardFormContent($title, $PHP_SELF, 600);      //$this->StandardFormContent($title, $PHP_SELF, 600);
65            
66        // disable any form content (we just need buttons)
67        $this->_datasource = null;
68    
69      // debug      // debug
70      //print "options: " . Dumper($this->_options);      //print "options: " . Dumper($this->_options);
71    }    }
# Line 78  class FlexibleNegotiation extends EditDa Line 87  class FlexibleNegotiation extends EditDa
87            "nowrap"            "nowrap"
88          ),          ),
89          //form_submit('ecdfc', "Back")          //form_submit('ecdfc', "Back")
90          link::plain( url::viewrpcdatanode($this->_options[data_locator_meta][nodename]), 'Back' )          link::plain( url::viewdatanode($this->_options[data_locator_meta][nodename]), 'Back' )
91          //'abc'          //'abc'
92        );        );
93        return $div;        return $div;
# Line 143  class FlexibleNegotiation extends EditDa Line 152  class FlexibleNegotiation extends EditDa
152        $this->_options['data_locator_meta']['action'] = "delete";        $this->_options['data_locator_meta']['action'] = "delete";
153        $error = $this->data_prefetch();        $error = $this->data_prefetch();
154                
155          // disable any form content (we just need buttons)
156        $this->_datasource = null;        $this->_datasource = null;
157                
158        $msg = "Action confirmed! Changes may take a while to propagate through all parts of the system.";        $msg = "Action confirmed! Changes may take a while to propagate through all parts of the system.";

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