diff --git a/include/wochenplan.class.php b/include/wochenplan.class.php index b80b8007c..4dabb6ebe 100644 --- a/include/wochenplan.class.php +++ b/include/wochenplan.class.php @@ -242,7 +242,7 @@ class wochenplan extends basis_db //ortdaten ermitteln if ($this->type=='ort') { - $sql_query="SELECT bezeichnung, ort_kurzbz, planbezeichnung, ausstattung, max_person FROM public.tbl_ort WHERE ort_kurzbz=".$this->db_add_param($this->ort_kurzbz); + $sql_query="SELECT bezeichnung, ort_kurzbz, planbezeichnung, ausstattung, max_person, content_id FROM public.tbl_ort WHERE ort_kurzbz=".$this->db_add_param($this->ort_kurzbz); //echo $sql_query; if (!$this->db_query($sql_query)) { @@ -257,6 +257,7 @@ class wochenplan extends basis_db $this->ort_planbezeichnung = $row->planbezeichnung; $this->ort_ausstattung = $row->ausstattung; $this->ort_max_person = $row->max_person; + $this->ort_content_id = $row->content_id; $this->link.='&ort_kurzbz='.$this->ort_kurzbz; //Link erweitern } else @@ -429,7 +430,7 @@ class wochenplan extends basis_db $this->link.='&stg_kz='.$this->stg_kz.'&sem='.$this->sem.'&ver='.$this->ver.'&grp='.$this->grp; } if ($this->type=='ort') - echo ''.$p->t('lvplan/raum').': '.(1==1 || is_file(RAUMINFO_PATH.trim($this->ort_kurzbz).'.html')?''.$this->ort_kurzbz.'':$this->ort_kurzbz).' - '.$this->ort_bezeichnung.' - '.($this->ort_max_person!=''?'( '.$this->ort_max_person.' Personen )':'').'
'.$this->ort_ausstattung; + echo ''.$p->t('lvplan/raum').': '.$this->ort_kurzbz.' - '.$this->ort_bezeichnung.' - '.($this->ort_max_person!=''?'( '.$this->ort_max_person.' '.$p->t('lvplan/personen').' )':'').($this->ort_content_id!=''?' - '.$p->t('lvplan/rauminformationenAnzeigen').'':'').'
'.$this->ort_ausstattung; echo '

'.$this->crlf; echo ' '; //echo ' '; diff --git a/locale/de-AT/lvplan.php b/locale/de-AT/lvplan.php index fce316d8d..b13ca93d1 100644 --- a/locale/de-AT/lvplan.php +++ b/locale/de-AT/lvplan.php @@ -77,4 +77,6 @@ $this->phrasen['lvplan/semesterplaene']='Semesterübersicht'; $this->phrasen['lvplan/hauptmenue']='Hauptmenü'; $this->phrasen['lvplan/nameEingeben']='Name eingeben'; $this->phrasen['lvplan/aktuelleKW']='Aktuelle Kalenderwoche'; +$this->phrasen['lvplan/rauminformationenAnzeigen']='Rauminformationen anzeigen'; +$this->phrasen['lvplan/personen']='Personen'; ?> \ No newline at end of file diff --git a/locale/en-US/lvplan.php b/locale/en-US/lvplan.php index c8fa4225f..e237113fa 100644 --- a/locale/en-US/lvplan.php +++ b/locale/en-US/lvplan.php @@ -78,4 +78,6 @@ $this->phrasen['lvplan/semesterplaene']='Overview'; $this->phrasen['lvplan/hauptmenue']='Main Menu'; $this->phrasen['lvplan/nameEingeben']='Enter name'; $this->phrasen['lvplan/aktuelleKW']='Current calendar week'; +$this->phrasen['lvplan/rauminformationenAnzeigen']='Show room information'; +$this->phrasen['lvplan/personen']='persons'; ?> \ No newline at end of file
'.$p->t('lvplan/semesterplaene').'