72 |
* |
* |
73 |
*/ |
*/ |
74 |
var $_default_checked_items = array(); |
var $_default_checked_items = array(); |
75 |
|
|
76 |
|
|
77 |
|
/** |
78 |
|
* This array holds the list of |
79 |
|
* hidden items. |
80 |
|
* |
81 |
|
*/ |
82 |
|
var $_hidden_items = array(); |
83 |
|
|
84 |
|
|
85 |
/** |
/** |
91 |
* This variable tells us whether to display select all checkbox |
* This variable tells us whether to display select all checkbox |
92 |
*/ |
*/ |
93 |
var $_allow_select_all = TRUE; |
var $_allow_select_all = TRUE; |
94 |
|
|
|
|
|
95 |
/** |
/** |
96 |
* This function sets a prefix for all |
* This function sets a prefix for all |
97 |
* variables that are used in the item list |
* variables that are used in the item list |
328 |
if ($obj == '') { |
if ($obj == '') { |
329 |
$obj = " "; |
$obj = " "; |
330 |
} |
} |
331 |
|
|
332 |
//make sure we don't put a right border on the last |
//make sure we don't put a right border on the last |
333 |
//column we are working on. |
//column we are working on. |
334 |
//$style = "padding-left: 3px;padding-right:3px;border-top: 1px solid #dddddd;"; |
//$style = "padding-left: 3px;padding-right:3px;border-top: 1px solid #dddddd;"; |
449 |
$container->push(form_hidden($this->_vars["search_fieldVar"], $field)); |
$container->push(form_hidden($this->_vars["search_fieldVar"], $field)); |
450 |
} |
} |
451 |
|
|
452 |
|
if(is_array($this->hidden_items)) { |
453 |
|
foreach($this->hidden_items as $key => $value) { |
454 |
|
$container->push(form_hidden($key, $value)); |
455 |
|
} |
456 |
|
} |
457 |
|
$container->push(form_close() ); |
458 |
return $container; |
return $container; |
459 |
} |
} |
460 |
|
|
778 |
$td->set_tag_attribute("align", "left"); |
$td->set_tag_attribute("align", "left"); |
779 |
if ($this->_has_action_column("FIRST") && |
if ($this->_has_action_column("FIRST") && |
780 |
$this->_datasource->get_total_rows()) { |
$this->_datasource->get_total_rows()) { |
781 |
$td->push(html_img("/phphtmllib/images/widgets/arrow_right.gif")); |
$td->push(html_img("img/widgets/arrow_right.gif")); |
782 |
} |
} |
783 |
else { |
else { |
784 |
$td->push(" "); |
$td->push(" "); |
788 |
$td->set_tag_attribute("align", "right"); |
$td->set_tag_attribute("align", "right"); |
789 |
if ($this->_has_action_column("LAST") && |
if ($this->_has_action_column("LAST") && |
790 |
$this->_datasource->get_total_rows()) { |
$this->_datasource->get_total_rows()) { |
791 |
$td->push(html_img("/phphtmllib/images/widgets/arrow_left.gif")); |
$td->push(html_img("img/widgets/arrow_left.gif")); |
792 |
} |
} |
793 |
else { |
else { |
794 |
$td->push(" "); |
$td->push(" "); |
914 |
return $script; |
return $script; |
915 |
} |
} |
916 |
|
|
917 |
|
function add_hidden_item($label, $value) { |
918 |
|
$this->_hidden_items[$label] = $value; |
919 |
|
} |
920 |
|
|
921 |
} |
} |
922 |
|
|