Disable java for now

This commit is contained in:
Miles Lott 2001-03-29 09:08:08 +00:00
parent 50be1bbeb5
commit c6b541291b
2 changed files with 3 additions and 2 deletions

View File

@ -38,6 +38,7 @@
global $phpgw_info;
if ($java) {
$jselect = " onChange=\"this.form.submit();\"";
$name='cat_id';
//$jsubopen = "<noscript>";
//$jsubclose = "</noscript>";
}
@ -263,7 +264,7 @@
$cat_id = $fields["cat_id"];
}
$cats_link = cat_option($cat_id,'ncat_id',True);
$cats_link = cat_option($cat_id,'ncat_id',True,False);
if ($access == 'private') {
$access_check = ' checked';

View File

@ -186,7 +186,7 @@
$t->set_var(cats,lang('Category'));
$t->set_var(cats_url,$phpgw->link("/addressbook/index.php",
"sort=$sort&order=$order&filter=$filter&start=$start&query=$query&cat_id=$cat_id"));
$t->set_var(cats_link,cat_option($cat_id,'cat_id'));
$t->set_var(cats_link,cat_option($cat_id,'cat_id',False,False));
$t->set_var(lang_cats,lang('Select'));
$t->set_var("lang_addressbook",lang("Address book"));
$t->set_var("th_bg",$phpgw_info["theme"]["th_bg"]);