Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp-module-perunauthorize
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
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
Perun
Perun ProxyIdP
v1
simplesamlphp-module-perunauthorize
Commits
d980675e
Commit
d980675e
authored
5 years ago
by
Pavel Vyskočil
Committed by
Pavel Vyskočil
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Use style in perunauthorize_403.php from *.css file
parent
c7a6ed78
No related branches found
No related tags found
1 merge request
!10
WIP: Changes in access forbidden pages
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
templates/perunauthorize_403.php
+2
-6
2 additions, 6 deletions
templates/perunauthorize_403.php
with
3 additions
and
6 deletions
CHANGELOG.md
+
1
−
0
View file @
d980675e
...
...
@@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
#### Changed
-
Double quotes changed to single quotes
-
Using of short array syntax (from array() to [])
-
Use style in perunauthorize_403.php from
*
.css file
## [v2.0.0]
#### Added
...
...
This diff is collapsed.
Click to expand it.
templates/perunauthorize_403.php
+
2
−
6
View file @
d980675e
...
...
@@ -19,6 +19,8 @@
*/
$this
->
data
[
'header'
]
=
''
;
$this
->
data
[
'head'
]
=
'<link rel="stylesheet" media="screen" type="text/css" href="'
.
SimpleSAML\Module
::
getModuleUrl
(
'perunauthorize/res/css/authorize.css'
)
.
'" />'
;
$this
->
data
[
'403_header'
]
=
$this
->
t
(
'{perunauthorize:Perunauthorize:403_header}'
);
$this
->
data
[
'403_text'
]
=
$this
->
t
(
'{perunauthorize:Perunauthorize:403_text}'
);
$this
->
data
[
'403_subject'
]
=
$this
->
t
(
'{perunauthorize:Perunauthorize:403_subject}'
);
...
...
@@ -64,12 +66,6 @@ $this->includeAtTemplateBase('includes/header.php');
?>
<style>
.error_message
{
word-wrap
:
break-word
;
}
</style>
<div
class=
"error_message"
>
<h1>
<?php
echo
$this
->
data
[
'403_header'
];
?>
</h1>
<p>
<?php
echo
$this
->
data
[
'403_text'
]
.
$this
->
data
[
'serviceName'
]
.
'<br>'
;
...
...
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