issue #0001636 : Modification emplacement du lien "Identifiants oublies"
This commit is contained in:
parent
799ec45164
commit
d01c794b4d
@ -604,34 +604,37 @@ $(document).ready(function(){
|
|||||||
<input type="password" name="pass" id="password" value="" required />
|
<input type="password" name="pass" id="password" value="" required />
|
||||||
</p>
|
</p>
|
||||||
<!-- <input type="checkbox" name="remember_login" value="1" id="remember_login" /><label for="remember_login">Remember</label> -->
|
<!-- <input type="checkbox" name="remember_login" value="1" id="remember_login" /><label for="remember_login">Remember</label> -->
|
||||||
<script>document.write('<input name="screenSize" type="hidden" value="'+ screen.width +'x'+screen.height + '">');</script>
|
<script>document.write('<input name="screenSize" type="hidden" value="'+ screen.width +'x'+screen.height + '">');</script>
|
||||||
<a class="dlg" title="Identifiants oubliés ?" href="<?=$this->url(array('controller'=>'user', 'action'=>'motpasse'))?>">Identifiants oubliés ?</a>
|
|
||||||
<script>
|
|
||||||
$('a.dlg').on('click', function(e){
|
|
||||||
e.preventDefault();
|
|
||||||
var title = $(this).attr('title');
|
|
||||||
var href = $(this).attr('href');
|
|
||||||
var dlgOpts = {
|
|
||||||
bgiframe: true,
|
|
||||||
title: title,
|
|
||||||
width: 710,
|
|
||||||
height: 530,
|
|
||||||
modal: true,
|
|
||||||
resizable: false,
|
|
||||||
open: function(event, ui) {
|
|
||||||
$(this).html('Chargement...');
|
|
||||||
$(this).load(href);
|
|
||||||
},
|
|
||||||
buttons: {'Fermer': function() { $(this).dialog('close'); }},
|
|
||||||
close: function() { $('#dlg').remove(); }};
|
|
||||||
$('<div id="dlg"></div>').dialog(dlgOpts);
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<input type="submit" id="submit" class="login" value="Connexion" />
|
<input type="submit" id="submit" class="login" value="Connexion" />
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<a class="dlg" title="Identifiants oubliés ?" href="<?=$this->url(array('controller'=>'user', 'action'=>'motpasse'))?>">Identifiants oubliés ?</a>
|
||||||
|
<script>
|
||||||
|
$('a.dlg').on('click', function(e){
|
||||||
|
e.preventDefault();
|
||||||
|
var title = $(this).attr('title');
|
||||||
|
var href = $(this).attr('href');
|
||||||
|
var dlgOpts = {
|
||||||
|
bgiframe: true,
|
||||||
|
title: title,
|
||||||
|
width: 710,
|
||||||
|
height: 530,
|
||||||
|
modal: true,
|
||||||
|
resizable: false,
|
||||||
|
open: function(event, ui) {
|
||||||
|
$(this).html('Chargement...');
|
||||||
|
$(this).load(href);
|
||||||
|
},
|
||||||
|
buttons: {'Fermer': function() { $(this).dialog('close'); }},
|
||||||
|
close: function() { $('#dlg').remove(); }};
|
||||||
|
$('<div id="dlg"></div>').dialog(dlgOpts);
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
|
Loading…
Reference in New Issue
Block a user