Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NextcloudPlugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stud.IP
Plugins
NextcloudPlugin
Commits
d063b929
Commit
d063b929
authored
7 months ago
by
Moritz Strohm
Browse files
Options
Downloads
Patches
Plain Diff
made plugin compatible with Stud.IP 5.5 and PHP 8
parent
84adb71a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1
made plugin compatible with Stud.IP 5.5 and PHP 8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
controllers/file.php
+2
-2
2 additions, 2 deletions
controllers/file.php
plugin.manifest
+2
-2
2 additions, 2 deletions
plugin.manifest
views/file/edit.php
+1
-1
1 addition, 1 deletion
views/file/edit.php
views/file/update.php
+1
-1
1 addition, 1 deletion
views/file/update.php
with
6 additions
and
6 deletions
controllers/file.php
+
2
−
2
View file @
d063b929
...
...
@@ -114,7 +114,7 @@ class FileController extends PluginController
PageLayout
::
postError
(
sprintf
(
dgettext
(
'NextcloudPlugin'
,
'Ein Fehler trat auf beim Aktualisieren der Datei „%s“.'
),
htmlReady
(
$this
->
file
_ref
->
name
)
htmlReady
(
$this
->
file
->
getFile
name
()
)
),
$this
->
errors
);
...
...
@@ -122,7 +122,7 @@ class FileController extends PluginController
PageLayout
::
postSuccess
(
sprintf
(
dgettext
(
'NextcloudPlugin'
,
'Die Datei „%s“ wurde aktualisiert!'
),
htmlReady
(
$this
->
file
_ref
->
name
)
htmlReady
(
$this
->
file
->
getFile
name
()
)
)
);
}
...
...
This diff is collapsed.
Click to expand it.
plugin.manifest
+
2
−
2
View file @
d063b929
pluginname=NextcloudPlugin
pluginclassname=NextcloudPlugin
version=3.
0.1
version=3.
1.0
origin=data-quest
studipMinVersion=5.0
studipMaxVersion=5.
4
.99
studipMaxVersion=5.
5
.99
This diff is collapsed.
Click to expand it.
views/file/edit.php
+
1
−
1
View file @
d063b929
...
...
@@ -2,7 +2,7 @@
<?=
$aside_template
->
render
()
?>
<div
id=
"file_management_forms"
>
<form
method=
"post"
data-dialog
class=
"default"
action=
"
<?=
$controller
->
link_for
(
'
/edit/'
.
$file
->
getId
())
?>
"
>
action=
"
<?=
PluginEngine
::
getURL
(
NextcloudPlugin
::
class
,
[],
'file
/edit/'
.
$file
->
getId
())
?>
"
>
<?=
CSRFProtection
::
tokenTag
()
?>
<fieldset>
<legend>
<?=
dgettext
(
'NextcloudPlugin'
,
'Datei bearbeiten'
)
?>
</legend>
...
...
This diff is collapsed.
Click to expand it.
views/file/update.php
+
1
−
1
View file @
d063b929
<form
action=
"
<?=
$controller
->
link_for
(
'file/update/'
.
$file
->
getId
(),
[
'from_plugin'
=>
$from_plugin
]
)
?>
"
<form
action=
"
<?=
PluginEngine
::
getURL
(
NextcloudPlugin
::
class
,
[
'from_plugin'
=>
$from_plugin
],
'file/update/'
.
$file
->
getId
()
)
?>
"
enctype=
"multipart/form-data"
method=
"post"
class=
"default"
>
<?=
CSRFProtection
::
tokenTag
()
?>
<fieldset>
...
...
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