function show() { if (!$this->check_right('ExhibitionAdmin')) { return Html::h(2, 'Dazu haben Sie kein Recht!'); } $this->system->backend->tabs = $this->obere_navi(); if ($this->check_folder_rights()) { return $this->check_folder_rights(); } if (preg_match('/Scan$/', SELF)) { $this->return .= $this->scan(); } if (preg_match('/Upload$/', SELF)) { $this->return .= $this->upload(); } if (preg_match('/Rooms$/', SELF)) { include_once INSTALL_PATH . '/Module/RheinaufExhibition/Backend/rooms.php'; $rooms = new rooms($this->scaff, $this->system); $this->return .= $GLOBALS['backchannel']; $this->return .= $rooms->show(); } if (preg_match('/Exhibitions$/', SELF)) { include_once INSTALL_PATH . '/Module/RheinaufExhibition/Backend/exhibitions.php'; $instance = new exhibitions($this->scaff, $this->system); $this->return .= $GLOBALS['backchannel']; $this->return .= $instance->show(); } if (preg_match('/Pictures$/', SELF)) { include_once INSTALL_PATH . '/Module/RheinaufExhibition/Backend/pictures.php'; $instance = new pictures($this->scaff, $this->system); return $this->return .= $instance->show(); } if (preg_match('/Locations$/', SELF)) { include_once INSTALL_PATH . '/Module/RheinaufExhibition/Backend/LocationsBackend.php'; $instance = new LocationsBackend($this->system); return $this->return .= $instance->show(); } if (preg_match('/BildDesMonats$/', SELF)) { include_once INSTALL_PATH . '/Module/RheinaufExhibition/Backend/bdm.php'; $instance = new bdm($this->scaff, $this->system); return $this->return .= $instance->show(); } return $this->return; }