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 '
| '.$p->t('lvplan/semesterplaene').' |