Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
a10cfe43
Commit
a10cfe43
authored
Jul 04, 2014
by
Bertrand Gauthier
Browse files
Correction bug variable pas bien initialisée.
parent
21f2d84b
Changes
1
Hide whitespace changes
Inline
Side-by-side
view/error/403.phtml
View file @
a10cfe43
...
...
@@ -3,8 +3,9 @@
<div
class=
"jumbotron"
>
<h1>
<?php
echo
$title
?>
</h1>
<?php
$message
=
$this
->
translate
(
"Vous n'êtes pas autorisé(e) à accéder à cette page."
)
?>
<?php
if
(
\
BjyAuthorize\Guard\Controller
::
ERROR
===
$error
||
\
BjyAuthorize\Guard\Route
::
ERROR
===
$error
)
:
?>
<h2
class=
"text-danger"
>
<?php
echo
$message
=
$this
->
translate
(
"Vous n'êtes pas autorisé(e) à accéder à cette page."
)
?>
</h2>
<h2
class=
"text-danger"
>
<?php
echo
$message
?>
</h2>
<?php
elseif
(
$error
==
'error-unauthorized'
)
:
?>
<h2
class=
"text-danger"
>
<?php
echo
$message
?>
</h2>
<h3>
<?php
echo
$this
->
translate
(
$reason
);
?>
</h3>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment