Skip to content
Extraits de code Groupes Projets
Valider 067a0988 rédigé par Fil's avatar Fil
Parcourir les fichiers

petite modif jaja (nicolas krebs)

parent 9062b8a0
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -80,10 +80,9 @@ function forum_abonnement($retour) {
else {
include_local("inc-login.php3");
$message_login = _T('forum_vous_enregistrer').
' <script type="text/javascript"><!--
document.write("<a href=\\"javascript:window.open(\\\'spip_pass.php3\\\', \\\'spip_pass\\\', \\\'scrollbars=yes,resizable=yes,width=480,height=450\\\'); void(0);\\"");
//--></script><noscript><a href=\'spip_pass.php3\' target=\'_blank\'></noscript>'._T('forum_vous_inscrire').'<br>';
$message_login = _T('forum_vous_enregistrer').'<a href="spip_pass.php3" target="spip_pass" onclick="'
."javascript:window.open(this.href, 'spip_pass', 'scrollbars=yes, resizable=yes, width=480, height=450'); return false;\">"
._T('forum_vous_inscrire')."<br>\n";
login('', false, $message_login);
return false;
}
......
......@@ -223,14 +223,14 @@ function login($cible = '', $prive = 'prive', $message_login='') {
$inscriptions_ecrire = (lire_meta("accepter_inscriptions") == "oui");
if ((!$prive AND (lire_meta('accepter_visiteurs') == 'oui') OR (lire_meta('forums_publics') == 'abo')) OR ($prive AND $inscriptions_ecrire)) {
echo '[<a href="spip_pass.php3" target="spip_pass" onclick="'
."javascript:window.open('spip_pass.php3', 'spip_pass', 'scrollbars=yes, resizable=yes, width=480, height=450'); return false;\">"
."javascript:window.open(this.href, 'spip_pass', 'scrollbars=yes, resizable=yes, width=480, height=450'); return false;\">"
._T('login_sinscrire').'</a>]';
}
// Bouton oubli de mot de passe
include_ecrire ("inc_mail.php3");
if (tester_mail()) {
echo ' [<a href="spip_pass.php3?oubli_pass=oui" target="spip_pass" onclick="'
."javascript:window.open('spip_pass.php3?oubli_pass=oui', 'spip_pass', 'scrollbars=yes, resizable=yes, width=480, height=280'); return false;\">"
."javascript:window.open(this.href, 'spip_pass', 'scrollbars=yes, resizable=yes, width=480, height=280'); return false;\">"
._T('login_motpasseoublie').'</a>]';
}
// Bouton retour au site public
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter