diff --git a/cis/public/bewerbung.php b/cis/public/bewerbung.php index 827d9c9a2..0efb8c039 100755 --- a/cis/public/bewerbung.php +++ b/cis/public/bewerbung.php @@ -63,6 +63,9 @@ if(!$person->load($person_id)) $message = ' '; +$vollstaendig = 'vollständig '; +$unvollstaendig = 'unvollständig '; + if($method=='delete') { $akte= new akte(); @@ -408,30 +411,30 @@ if(isset($_POST['btn_zgv'])) // Abfrage ob ein Punkt schon vollständig ist - if($person->vorname != '' && $person->nachname != '' && $person->gebdatum != '' && $person->staatsbuergerschaft != '' && $person->geschlecht != '') + if($person->vorname && $person->nachname && $person->gebdatum && $person->staatsbuergerschaft && $person->geschlecht) { $status_person = true; - $status_person_text = 'vollständig'; + $status_person_text = $vollstaendig; } else { $status_person = false; - $status_person_text = 'unvollständig'; + $status_person_text = $unvollstaendig; } $kontakt = new kontakt(); $kontakt->load_persKontakttyp($person->person_id, 'email'); $adresse = new adresse(); $adresse->load_pers($person->person_id); -if(count($kontakt->result)>0 && count($adresse->result)>0) +if(count($kontakt->result) && count($adresse->result)) { $status_kontakt = true; - $status_kontakt_text = 'vollständig'; + $status_kontakt_text = $vollstaendig; } else { $status_kontakt = false; - $status_kontakt_text = 'unvollständig'; + $status_kontakt_text = $unvollstaendig; } $prestudent = new prestudent(); @@ -448,15 +451,15 @@ foreach($prestudent->result as $pre) } -if(!$zgv_auswahl) +if($zgv_auswahl) { - $status_zgv = false; - $status_zgv_text = 'unvollständig'; + $status_zgv = true; + $status_zgv_text = $vollstaendig; } else { - $status_zgv = true; - $status_zgv_text = 'vollständig'; + $status_zgv = false; + $status_zgv_text = $unvollstaendig; } $dokument_help = new dokument(); @@ -483,31 +486,31 @@ foreach($dokument_help->result as $dok) if($missing) { $status_dokumente = false; - $status_dokumente_text = 'unvollständig'; + $status_dokumente_text = $unvollstaendig; } else { $status_dokumente = true; - $status_dokumente_text = 'vollständig'; + $status_dokumente_text = $vollstaendig; } $konto = new konto(); if($konto->checkKontostand($person_id)) { $status_zahlungen = true; - $status_zahlungen_text = 'vollständig'; + $status_zahlungen_text = $vollstaendig; } else { if($konto->errormsg=='') { $status_zahlungen = false; - $status_zahlungen_text = 'unvollständig'; + $status_zahlungen_text = $unvollstaendig; } else { $status_zahlungen = false; - $status_zahlungen_text = 'Fehler: '.$konto->errormsg.''; + $status_zahlungen_text = $unvollstaendig . $konto->errormsg; } } @@ -516,14 +519,14 @@ if(!$prestudent->getPrestudenten($person_id)) die('Konnte Prestudenten nicht laden'); $status_aufnahmeverfahren = false; -$status_aufnahmeverfahren_text = 'unvollständig'; +$status_aufnahmeverfahren_text = $unvollstaendig; foreach($prestudent->result as $row) { if($row->reihungstest_id != '') { $status_aufnahmeverfahren = true; - $status_aufnahmeverfahren_text = 'vollständig'; + $status_aufnahmeverfahren_text = $vollstaendig; } } diff --git a/include/fonts/glyphicons-halflings-regular.eot b/include/fonts/glyphicons-halflings-regular.eot new file mode 100644 index 000000000..4a4ca865d Binary files /dev/null and b/include/fonts/glyphicons-halflings-regular.eot differ diff --git a/include/fonts/glyphicons-halflings-regular.svg b/include/fonts/glyphicons-halflings-regular.svg new file mode 100644 index 000000000..25691af8f --- /dev/null +++ b/include/fonts/glyphicons-halflings-regular.svg @@ -0,0 +1,229 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/include/fonts/glyphicons-halflings-regular.ttf b/include/fonts/glyphicons-halflings-regular.ttf new file mode 100644 index 000000000..67fa00bf8 Binary files /dev/null and b/include/fonts/glyphicons-halflings-regular.ttf differ diff --git a/include/fonts/glyphicons-halflings-regular.woff b/include/fonts/glyphicons-halflings-regular.woff new file mode 100644 index 000000000..8c54182aa Binary files /dev/null and b/include/fonts/glyphicons-halflings-regular.woff differ