diff options
| author | Peter Thienel <thienel@data-quest.de> | 2023-12-19 13:38:32 +0000 |
|---|---|---|
| committer | Peter Thienel <thienel@data-quest.de> | 2023-12-19 13:38:32 +0000 |
| commit | b2656cae6be78e9cf45571c7e88a2370cd12d67f (patch) | |
| tree | 68c32cf8e9db320908989ba0438bc3d126c2ea84 /public | |
| parent | fb9b5159ee97e82cd9ec808757b1fb464fb4dc6c (diff) | |
StEP 1800 closes #1800
Closes #1800
Merge request studip/studip!1185
Diffstat (limited to 'public')
| -rw-r--r-- | public/admin_extern.php | 65 | ||||
| -rw-r--r-- | public/extern.php | 48 |
2 files changed, 0 insertions, 113 deletions
diff --git a/public/admin_extern.php b/public/admin_extern.php deleted file mode 100644 index 7520584..0000000 --- a/public/admin_extern.php +++ /dev/null @@ -1,65 +0,0 @@ -<? -# Lifter002: TODO -# Lifter007: TODO -# Lifter003: TODO -# Lifter010: TODO -/** -* admin_extern.php -* -* Extern-admin-pages-mainfile. Calls the submodules. -* -* @author Peter Thienel <pthienel@data.quest.de> -* @access public -* @modulegroup extern_modules -* @module extern -* @package Extern -*/ - -// +---------------------------------------------------------------------------+ -// This file is part of Stud.IP -// admin_extern.php -// -// Copyright (c) 2003 Peter Tienel <pthienel@data-quest.de> -// Suchi & Berg GmbH <info@data-quest.de> -// +---------------------------------------------------------------------------+ -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or any later version. -// +---------------------------------------------------------------------------+ -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// +---------------------------------------------------------------------------+ - - - -require '../lib/bootstrap.php'; - -page_open(["sess" => "Seminar_Session", "auth" => "Seminar_Auth", - "perm" => "Seminar_Perm", "user" => "Seminar_User"]); -$perm->check("admin"); - -PageLayout::setHelpKeyword("Basis.EinrichtungenVerwaltenExterneSeiten"); -PageLayout::setTitle(_("Verwaltung externer Seiten")); - -if (Config::get()->EXTERN_ENABLE) { - include "lib/extern/admin_extern.inc.php"; -} else { - ob_start(); - // Start of Output - PageLayout::postError(_('Die Verwaltung externer Seiten ist nicht eingebunden. Bitte aktivieren Sie diese in den Systemeinstellungen, oder wenden Sie sich an die Systemadministration.'), - [_("Modul \"externe Seiten\" nicht eingebunden")]); - $template = $GLOBALS['template_factory']->open('layouts/base.php'); - $template->content_for_layout = ob_get_clean(); - $template->infobox = $infobox ? ['content' => $infobox] : null; - echo $template->render(); - - page_close(); -} - -?> diff --git a/public/extern.php b/public/extern.php deleted file mode 100644 index 174038b..0000000 --- a/public/extern.php +++ /dev/null @@ -1,48 +0,0 @@ -<? -# Lifter002: TODO -# Lifter007: TODO -# Lifter003: TODO -# Lifter010: TODO -/** -* Extern-Pages-mainfile. Calls the submodules. -* -* -* -* @author Peter Thienel <pthienel@data.quest.de> -* @access public -* @modulegroup extern_modules -* @module extern -* @package Extern -*/ - -// +---------------------------------------------------------------------------+ -// This file is part of Stud.IP -// extern.php -// -// Copyright (c) 2003 Peter Tienel <pthienel@data-quest.de> -// Suchi & Berg GmbH <info@data-quest.de> -// +---------------------------------------------------------------------------+ -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or any later version. -// +---------------------------------------------------------------------------+ -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// +---------------------------------------------------------------------------+ - - -require '../lib/bootstrap.php'; - -if (!Config::get()->EXTERN_ENABLE) { - echo "<br><br><br><blockquote><b>This page is not available!<br>The module \"extern\""; - echo " is not enabled in this Stud.IP-installation.</b></blockquote>"; - exit; -} - -include "lib/extern/extern.inc.php"; |
