- checksystem auf 3.4 umgebaut

- vilesci raumtypen inaktive raumtypen werden markiert
- tempus karteireiter ort zeigt nur aktive raumtypen an
- raumsuche auf aktive raumtypen eingeschraenkt
This commit is contained in:
ma0048
2023-03-01 10:44:47 +01:00
parent 37364d9775
commit 7bb340a415
8 changed files with 43 additions and 26 deletions
+6 -1
View File
@@ -402,7 +402,12 @@
$selected='selected';
else
$selected='';
$htmlstr .= '<option value="'.$row->raumtyp_kurzbz.'" '.$selected.'>'.$row->raumtyp_kurzbz.'</option>';
$inaktiv = '';
if (!$db->db_parse_bool($row->aktiv))
$inaktiv = 'disabled';
$htmlstr .= '<option value="'.$row->raumtyp_kurzbz.'" '.$selected.' '. $inaktiv . '>'.$row->raumtyp_kurzbz.'</option>';
}
}//#'.$lv->farbe.'
$htmlstr .= '</select></td>
+5 -1
View File
@@ -251,7 +251,11 @@
$raumtyp->getAll();
foreach($raumtyp->result as $row)
{
$htmlstr.= '<OPTION value="'.$row->raumtyp_kurzbz.'">'.$row->beschreibung.' ('.$row->raumtyp_kurzbz.')</OPTION>';
$inaktiv = '';
if (!$db->db_parse_bool($row->aktiv))
$inaktiv = 'disabled';
$htmlstr.= '<OPTION value="'.$row->raumtyp_kurzbz.'" '. $inaktiv .'>'.$row->beschreibung.' ('.$row->raumtyp_kurzbz.')</OPTION>';
}
$htmlstr.='</SELECT>
Hierarchie: <input type="text" name="hierarchie" size="1" value="'.($hierarchiemax+1).'">