From b3cdbf8c2e93afa4fb4ab1ee483aeb0d33f21565 Mon Sep 17 00:00:00 2001 From: tgloeggl <tgloeggl@uos.de> Date: Mon, 13 Aug 2018 14:30:27 +0200 Subject: [PATCH] convert to utf-8, update manifest --- AvailSchedule.class.php | 9 +++++---- plugin.manifest | 6 ++++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/AvailSchedule.class.php b/AvailSchedule.class.php index 1e314af..536085e 100755 --- a/AvailSchedule.class.php +++ b/AvailSchedule.class.php @@ -7,7 +7,7 @@ * published by the Free Software Foundation; either version 2 of * the License, or (at your option) any later version. * - * @author Till Glöggler <till.gloeggler@elan-ev.de> + * @author Till Glöggler <till.gloeggler@elan-ev.de> * @copyright 2013 ELAN e.V. <http://www.elan-ev.de> * @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 * @category Stud.IP @@ -32,19 +32,20 @@ class AvailSchedule extends StudipPlugin implements SystemPlugin if (isset($sem_type) && !$GLOBALS['SEM_CLASS'][$GLOBALS['SEM_TYPE'][$sem_type]['class']]['studygroup_mode'] && Navigation::hasItem('/course/members') && $GLOBALS['perm']->have_studip_perm('tutor', $_SESSION['SessSemName'][1])) { $navigation = Navigation::getItem('/course/members'); - $navigation->addSubNavigation('conflicts', new Navigation(_('Verfügbarkeit'), PluginEngine::getLink('availschedule/show'))); + $navigation->addSubNavigation('conflicts', new Navigation(_('Verfügbarkeit'), PluginEngine::getLink('availschedule/show'))); } } - function show_action() { + function show_action() + { $seminar_id = Request::option('cid'); if (!$seminar_id || !$GLOBALS['perm']->have_studip_perm('tutor', $seminar_id)) { die; } - PageLayout::setTitle($GLOBALS['SessSemName']['header_line'] . ' - ' . _('Verfügbarkeitsplan')); + PageLayout::setTitle($GLOBALS['SessSemName']['header_line'] . ' - ' . _('Verfügbarkeitsplan')); Navigation::activateItem('/course/members/conflicts'); $template_path = $this->getPluginPath() . '/templates'; diff --git a/plugin.manifest b/plugin.manifest index 1d304d3..fcf5c08 100755 --- a/plugin.manifest +++ b/plugin.manifest @@ -1,5 +1,7 @@ pluginclassname=AvailSchedule pluginname=AvailabilitySchedule origin=elan-ev -version=0.1.4 -studipMinVersion=2.4 +version=0.2 + +studipMinVersion=4.0 +studipMaxVersion=4.2 -- GitLab