Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
cba9f6ee
Commit
cba9f6ee
authored
May 24, 2013
by
Bertrand Gauthier
Browse files
Amélioration page de connexion.
parent
8a0759a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
view/zfc-user/user/login.phtml
View file @
cba9f6ee
<h1>
<?php
echo
$this
->
translate
(
"Sign In"
);
?>
</h1>
<div
class=
"page-header"
>
<h1>
<?php
echo
$this
->
translate
(
"Sign In"
);
?>
</h1>
</div>
<?php
$form
=
$this
->
loginForm
;
...
...
@@ -9,21 +11,27 @@ $form->setAttribute('method', 'post');
<?php
echo
$this
->
form
()
->
openTag
(
$form
)
?>
<dl
class=
"zend_form"
>
<?php
echo
$this
->
formElementErrors
(
$form
->
get
(
'identity'
))
?>
<?php
if
((
$errors
=
$this
->
formErrors
(
$this
->
loginForm
)))
:
?>
<p>
<?php
echo
$errors
?>
</p>
<?php
endif
?>
<dt>
<?php
echo
$this
->
formLabel
(
$form
->
get
(
'identity'
))
?>
</dt>
<dd>
<?php
echo
$this
->
formInput
(
$form
->
get
(
'identity'
))
?>
</dd>
<p>
<?php
echo
$this
->
formLabel
(
$form
->
get
(
$name
=
'identity'
)
->
setAttribute
(
'id'
,
$name
))
?>
<?php
echo
$this
->
formInput
(
$form
->
get
(
$name
))
?>
<dt>
<?php
echo
$this
->
formLabel
(
$form
->
get
(
'credential'
)
)
?>
</dt
>
<dd>
<?php
echo
$this
->
formInput
(
$form
->
get
(
'credential'
))
?>
</dd
>
<?php
echo
$this
->
formLabel
(
$form
->
get
(
$name
=
'credential'
)
->
setAttribute
(
'id'
,
$name
))
?
>
<?php
echo
$this
->
formInput
(
$form
->
get
(
$name
))
?
>
<?php
if
(
$this
->
redirect
)
:
?>
<input
type=
"hidden"
name=
"redirect"
value=
"
<?php
echo
$this
->
redirect
?>
"
/>
<?php
endif
?>
<?php
if
(
$this
->
redirect
)
:
?>
<input
type=
"hidden"
name=
"redirect"
value=
"
<?php
echo
$this
->
redirect
?>
"
/>
<?php
endif
?>
</p>
<dd>
<?php
echo
$this
->
formButton
(
$form
->
get
(
'submit'
))
?>
</dd>
</dl>
<p>
<?php
echo
$this
->
formButton
(
$form
->
get
(
'submit'
)
->
setAttribute
(
'class'
,
'btn btn-primary'
))
?>
</p>
<?php
echo
$this
->
form
()
->
closeTag
()
?>
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment