mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
applied again a patch [ #416612 ] catagory item all not in option tags
Thanks to Tony Puglisi (tony-devel)
This commit is contained in:
parent
cc5cffded5
commit
bfc67191a7
@ -37,16 +37,16 @@
|
||||
function cat_option($cat_id='',$notall=False,$java=True) {
|
||||
global $phpgw_info;
|
||||
if ($java) {
|
||||
$jselect = " onChange=\"this.form.submit();\"";
|
||||
$jselect = ' onChange="this.form.submit();"';
|
||||
}
|
||||
// Setup all and none first
|
||||
$cats_link = "\n<select name=\"cat_id\"$jselect>\n";
|
||||
$cats_link = "\n" .'<select name="cat_id"' .$jselect .">\n";
|
||||
if (!$notall) {
|
||||
$cats_link .= "<option value=\"\"";
|
||||
$cats_link .= '<option value=""';
|
||||
if ($cat_id=="all") {
|
||||
$cats_link .= " selected";
|
||||
$cats_link .= ' selected';
|
||||
}
|
||||
$cats_link .= "></option>".lang("all")."\n";
|
||||
$cats_link .= '>'.lang("all").'</option>'."\n";
|
||||
}
|
||||
|
||||
// Get global and app-specific category listings
|
||||
|
Loading…
Reference in New Issue
Block a user