Skip to content
Snippets Groups Projects
Commit b3cdbf8c authored by Till Glöggler's avatar Till Glöggler
Browse files

convert to utf-8, update manifest

parent a1251515
No related branches found
No related tags found
No related merge requests found
......@@ -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 Glggler <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(_('Verfgbarkeit'), 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'] . ' - ' . _('Verfgbarkeitsplan'));
PageLayout::setTitle($GLOBALS['SessSemName']['header_line'] . ' - ' . _('Verfügbarkeitsplan'));
Navigation::activateItem('/course/members/conflicts');
$template_path = $this->getPluginPath() . '/templates';
......
pluginclassname=AvailSchedule
pluginname=AvailabilitySchedule
origin=elan-ev
version=0.1.4
studipMinVersion=2.4
version=0.2
studipMinVersion=4.0
studipMaxVersion=4.2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment