Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CourseHistory
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Uni Vechta
Plugins
CourseHistory
Commits
5c5f4c6b
Commit
5c5f4c6b
authored
5 years ago
by
David Siegfried
Browse files
Options
Downloads
Patches
Plain Diff
prepare for v4.4.99, fixes
#5
parent
4374ed80
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
Coursehistory.class.php
+2
-2
2 additions, 2 deletions
Coursehistory.class.php
controllers/show.php
+0
-27
0 additions, 27 deletions
controllers/show.php
plugin.manifest
+1
-1
1 addition, 1 deletion
plugin.manifest
views/show/index.php
+0
-3
0 additions, 3 deletions
views/show/index.php
with
3 additions
and
33 deletions
Coursehistory.class.php
+
2
−
2
View file @
5c5f4c6b
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
*/
*/
class
Coursehistory
extends
StudIPPlugin
implements
SystemPlugin
,
AdminCourseAction
class
Coursehistory
extends
StudIPPlugin
implements
SystemPlugin
,
AdminCourseAction
{
{
public
function
__construct
()
public
function
__construct
()
{
{
parent
::
__construct
();
parent
::
__construct
();
...
@@ -73,6 +72,7 @@ class Coursehistory extends StudIPPlugin implements SystemPlugin, AdminCourseAct
...
@@ -73,6 +72,7 @@ class Coursehistory extends StudIPPlugin implements SystemPlugin, AdminCourseAct
rtrim
(
PluginEngine
::
getLink
(
$this
,
[],
null
),
'/'
),
rtrim
(
PluginEngine
::
getLink
(
$this
,
[],
null
),
'/'
),
'show'
'show'
);
);
$dispatcher
->
plugin
=
$this
;
$dispatcher
->
plugin
=
$this
;
$dispatcher
->
dispatch
(
$unconsumed_path
);
$dispatcher
->
dispatch
(
$unconsumed_path
);
}
}
...
...
This diff is collapsed.
Click to expand it.
controllers/show.php
+
0
−
27
View file @
5c5f4c6b
...
@@ -31,15 +31,6 @@ class ShowController extends StudipController
...
@@ -31,15 +31,6 @@ class ShowController extends StudipController
$this
->
log_actions
=
$this
->
getLogEvents
();
$this
->
log_actions
=
$this
->
getLogEvents
();
}
}
/**
* Get necessary log actions
* @return array
*/
protected
function
getLogActions
()
{
return
DBManager
::
get
()
->
fetchAll
(
"SELECT `action_id`, `name`, `description` FROM `log_actions` ORDER BY `name`, `description`"
);
}
/**
/**
* Returns all log-events for given course
* Returns all log-events for given course
*/
*/
...
@@ -61,22 +52,4 @@ class ShowController extends StudipController
...
@@ -61,22 +52,4 @@ class ShowController extends StudipController
});
});
return
$results
;
return
$results
;
}
}
/**
* Custom url for
* @param string $to
* @return a
*/
public
function
url_for
(
$to
=
''
)
{
$args
=
func_get_args
();
$params
=
[];
if
(
is_array
(
end
(
$args
)))
{
$params
=
array_pop
(
$args
);
}
$args
=
array_map
(
'urlencode'
,
$args
);
$args
[
0
]
=
$to
;
return
PluginEngine
::
getURL
(
$this
->
dispatcher
->
plugin
,
$params
,
join
(
' / '
,
$args
));
}
}
}
This diff is collapsed.
Click to expand it.
plugin.manifest
+
1
−
1
View file @
5c5f4c6b
...
@@ -3,4 +3,4 @@ pluginclassname=Coursehistory
...
@@ -3,4 +3,4 @@ pluginclassname=Coursehistory
origin=Vec
origin=Vec
version=3.2
version=3.2
studipMinVersion=4.3
studipMinVersion=4.3
studipMaxVersion=4.
3
.99
studipMaxVersion=4.
4
.99
This diff is collapsed.
Click to expand it.
views/show/index.php
+
0
−
3
View file @
5c5f4c6b
<?
if
(
!
empty
(
$log_actions
))
:
?>
<?
if
(
!
empty
(
$log_actions
))
:
?>
<table
class=
"default collapsable"
>
<table
class=
"default collapsable"
>
<caption>
<?=
_
(
'Änderungsverlauf'
)
?>
</caption>
<colgroup>
<colgroup>
<col
style=
"width: 150px"
>
<col
style=
"width: 150px"
>
<col>
<col>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment