diff --git a/application/views/system/templatetextList.php b/application/views/system/templatetextList.php old mode 100644 new mode 100755 index 65069c54d..7492f6937 --- a/application/views/system/templatetextList.php +++ b/application/views/system/templatetextList.php @@ -33,7 +33,7 @@ version; ?> oe_kurzbz; ?> - berechtigung; ?> + berechtigung); ?> anmerkung_vorlagestudiengang; ?> aktiv; ?> Edit Text diff --git a/application/widgets/mimetype_widget.php b/application/widgets/mimetype_widget.php old mode 100644 new mode 100755 index 069ac1219..82fd394fb --- a/application/widgets/mimetype_widget.php +++ b/application/widgets/mimetype_widget.php @@ -3,16 +3,16 @@ /* * MimeType widget */ -class mimetype_widget extends Widget +class mimetype_widget extends Widget { - public function display($data) + public function display($data) { if (is_null($data['mimetype'])) $data['mimetype'] = ''; $this->load->model('system/Vorlage_model'); $res = $this->Vorlage_model->getMimeTypes(); //var_dump($res); - foreach ($res->retval->result() as $obj) + foreach ($res->retval as $obj) { $item = array('name' => $obj->mimetype, 'value' => $obj->mimetype); if (isset($data['mimetype']) && $obj->mimetype == $data['mimetype']) @@ -23,5 +23,5 @@ class mimetype_widget extends Widget } $this->view('widgets/mimetype', $data); } - + }