Skip to content
Snippets Groups Projects
Commit d980675e authored by Pavel Vyskočil's avatar Pavel Vyskočil Committed by Pavel Vyskočil
Browse files

Use style in perunauthorize_403.php from *.css file

parent c7a6ed78
No related branches found
No related tags found
1 merge request!10WIP: Changes in access forbidden pages
......@@ -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
......
......@@ -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>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment