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 |
* |
* |
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 |
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 |
} |
} |
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; |
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."; |