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
3a42de22
Commit
3a42de22
authored
Mar 26, 2013
by
Bertrand Gauthier
Browse files
Focus auto sur le 1er champ vide.
parent
6fa486a5
Changes
1
Show whitespace changes
Inline
Side-by-side
view/zfc-user/user/login.phtml
View file @
3a42de22
...
...
@@ -30,3 +30,8 @@ $form->setAttribute('method', 'post');
<?php
if
(
$this
->
enableRegistration
)
:
?>
<?php
echo
$this
->
translate
(
"Not registered?"
);
?>
<a
href=
"
<?php
echo
$this
->
url
(
'zfcuser/register'
)
.
(
$this
->
redirect
?
'?redirect='
.
$this
->
redirect
:
''
)
?>
"
>
<?php
echo
$this
->
translate
(
"Sign up!"
);
?>
</a>
<?php
endif
;
?>
<script
type=
"text/javascript"
>
// focus sur le 1er champ vide
$
(
"
input
"
).
filter
(
function
()
{
return
this
.
value
==
""
;
}).
get
(
0
).
focus
();
</script>
\ No newline at end of file
Write
Preview
Supports
Markdown
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