Skip to content
Snippets Groups Projects
Commit 4374ed80 authored by David Siegfried's avatar David Siegfried
Browse files

prepare for v4.3, re #5

parent ab3d862a
Branches
No related tags found
No related merge requests found
<?php
require_once 'vendor/trails/trails.php';
require_once 'app/controllers/studip_controller.php';
/**
* Coursehistory.class.php
*
* @author David Siegfried <david.siegfried@uni-vechta.de>
* @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 or later
* @category Stud.IP
* @since 3.3
* @version 3.0
* @license GPL2 or any later version
*/
class Coursehistory extends StudIPPlugin implements SystemPlugin, AdminCourseAction
{
......@@ -22,7 +14,7 @@ class Coursehistory extends StudIPPlugin implements SystemPlugin, AdminCourseAct
if ($GLOBALS['perm']->have_perm('admin') && $this->course) {
if (Navigation::hasItem('/course/main')) {
$navigation = new Navigation($this->getPluginName());
$navigation->setURL(PluginEngine::GetURL($this, [], 'show'));
$navigation->setURL(PluginEngine::getURL($this, [], 'show'));
Navigation::addItem('/course/main/coursehistory', $navigation);
}
}
......
<?php
/**
* ShowController.php
* @author David Siegfried <david.siegfried@uni-vechta.de>
* @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 or later
* @category Stud.IP
* @since 3.3
* @version 3.0
* @license GPL2 or any later version
*/
class ShowController extends StudipController
{
......
pluginname=CourseHistory
pluginclassname=Coursehistory
origin=Vec
version=3.1
version=3.2
studipMinVersion=4.3
studipMaxVersion=4.3.99
......@@ -4,7 +4,7 @@
<?= _('Änderungsverlauf') ?>
</caption>
<colgroup>
<col width="150px">
<col style="width: 150px">
<col>
</colgroup>
<? $counter = 0 ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment