diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2021-07-22 16:07:19 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2021-07-22 16:19:12 +0200 |
| commit | a3da1483a9e689846179159355badfec8073dbec (patch) | |
| tree | 770dcca6bdf5f6f2a11b0e7fcbbeda6919a3fc52 /lib/admin_search.inc.php | |
current code from svn, revision 62608
Diffstat (limited to 'lib/admin_search.inc.php')
| -rw-r--r-- | lib/admin_search.inc.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/admin_search.inc.php b/lib/admin_search.inc.php new file mode 100644 index 0000000..a6b2260 --- /dev/null +++ b/lib/admin_search.inc.php @@ -0,0 +1,23 @@ +<?php +# Lifter002: TEST +# Lifter007: TEST + +/** + * admin_search_form.inc.php - Suche fuer die Verwaltungsseiten von Stud.IP. + * + * @author Stefan Suchi <suchi@gmx.de> + * @author Ralf Stockmann <rstockm@gwdg.de> + * @author Cornelis Kater <ckater@gwdg.de> + * @copyright 2001 + * @license GPL2 or any later version + */ + +if (!Institute::findCurrent()) { + $template = $GLOBALS['template_factory']->open('admin/institute_search.php'); + $template->set_layout('layouts/base.php'); + $template->institutes = Institute::getMyInstitutes($GLOBALS['user']->id); + echo $template->render(); + + page_close(); + die; +} |
