mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 13:39:23 +01:00
me against php and svn :-(...
or make buttons work with php5.1.x
This commit is contained in:
parent
f7c9c18bb8
commit
3f168a0c60
@ -158,7 +158,8 @@
|
|||||||
{
|
{
|
||||||
$GLOBALS['egw_info']['etemplate']['advanced_search'] = true;
|
$GLOBALS['egw_info']['etemplate']['advanced_search'] = true;
|
||||||
$tpl->add_child($tpl, $search_template = $tpl->empty_cell('template',$extension_data['input_template']));
|
$tpl->add_child($tpl, $search_template = $tpl->empty_cell('template',$extension_data['input_template']));
|
||||||
$tpl->add_child($tpl, $button_box =& $tpl->empty_cell('hbox','button_box'));
|
$button_box = $tpl->empty_cell('hbox','button_box');
|
||||||
|
$tpl->add_child($tpl, $button_box);
|
||||||
$tpl->add_child($button_box, $op_select = $tpl->empty_cell('select','opt_select',array(
|
$tpl->add_child($button_box, $op_select = $tpl->empty_cell('select','opt_select',array(
|
||||||
'sel_options' => array(
|
'sel_options' => array(
|
||||||
'OR' => 'OR',
|
'OR' => 'OR',
|
||||||
@ -167,8 +168,7 @@
|
|||||||
'label' => 'Operator',
|
'label' => 'Operator',
|
||||||
'no_lang' => true,
|
'no_lang' => true,
|
||||||
)));
|
)));
|
||||||
// _debug_array($button_box);
|
$tpl->add_child($button_box, $meth_select = $tpl->empty_cell('select','meth_select',array(
|
||||||
$tpl->add_child($button_box, $meth_select = $tpl->empty_cell('select','meth_select',array(
|
|
||||||
'sel_options' => array(
|
'sel_options' => array(
|
||||||
'%' => lang('contains'),
|
'%' => lang('contains'),
|
||||||
false => lang('exact'),
|
false => lang('exact'),
|
||||||
@ -180,8 +180,6 @@ $tpl->add_child($button_box, $meth_select = $tpl->empty_cell('select','meth_sele
|
|||||||
'label' => 'Search',
|
'label' => 'Search',
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
_debug_array($tpl);
|
|
||||||
|
|
||||||
$cell['size'] = $cell['name'];
|
$cell['size'] = $cell['name'];
|
||||||
$cell['type'] = 'template';
|
$cell['type'] = 'template';
|
||||||
$cell['name'] = $tpl->name;
|
$cell['name'] = $tpl->name;
|
||||||
@ -189,7 +187,6 @@ _debug_array($tpl);
|
|||||||
|
|
||||||
// keep the editor away from the generated tmpls
|
// keep the editor away from the generated tmpls
|
||||||
$tpl->no_onclick = true;
|
$tpl->no_onclick = true;
|
||||||
//_debug_array($tpl);
|
|
||||||
return True;
|
return True;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user