Les avertissements suivants se sont produits :
Warning [2] Undefined array key 0 - Line: 1640 - File: showthread.php PHP 8.2.18 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 1640 errorHandler->error_callback
/showthread.php 915 buildtree




Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
[Résolu] Personalisation fichier tpl
#1
Citation :#~~~~~ DEBUT BLOC A NE PAS SUPPRIMER ~~~~~
#~ Version du CMS: 1.12.x

#~ Url du site :
#~ Hébergeur / Soft : OVH /90Plan

#~ Informations Système :
#~ Informations d'Installation du CMS
#~ Version du CMS 1.12
#~ Modules installés
#~ CMSPrinting 1.0.5
#~ FileManager 1.4.5
#~ MenuManager 1.8.6
#~ MicroTiny 1.2.9
#~ ModuleManager 1.5.8
#~ News 2.15.1
#~ Search 1.7.12
#~ ThemeManager 1.1.8
#~ CGExtensions 1.49.11
#~ CGJobMgr 1.3.4
#~ CGSimpleSmarty 1.9.1
#~ CMSMailer 5.2.2
#~ Captcha 0.5.2
#~ FrontEndUsers 1.30.6
#~ CustomContent 1.10
#~ SelfRegistration 1.9.3
#~ NMS 2.9.5

#~ Informations PHP
#~ Version PHP actuelle (phpversion) Valable 5.4.45
#~ Fonction md5 (md5_function) Valable On (Vrai)
#~ Version GD (gd_version) Valable 2
#~ Fonction PHP tempnam (tempnam_function) Valable On (Vrai)
#~~~~~ FIN BLOC A NE PAS SUPPRIMER ~~~~~



Bonjour,
J'essaye de personnaliser le fichier "orig_loginform.tpl" du module FEU, mais rien ne change dans l'affichage de la page Login.
Ci-dessous le fichier modifié dans lequel j'ai supprimé le code relatif aux liens: "Mot de passe oublié ?" et "Détails d'identification oubliés ?".

Dans les "Réglages" puis "Authentification intégrée" du module FEU, je vois 2 champs:
1) "Autoriser les utilisateurs à demander leur identifiant:" j'ai coché 'NON'
2) "Autoriser le changement d'identifiant par les membres :", j'ai coché 'NON'

Malgré cela pourquoi les liens "Mot de passe oublié ?" et "Détails d'identification oubliés ?" apparaissent sur la page login ?

Merci d'avance pour votre aide.



===============================================

{* login form template *}
{* this is a sample template, feel free to customize it *}
{if isset($alt_loginform)}
<div class="row" id="altlogin">{$alt_loginform}</div><br/>
{/if}

<fieldset id="loginform">
<legend>{$FrontEndUsers->Lang('prompt_normallogin')}:</legend>
{$startform}

{*
* a simple honeypot captcha....if this field has a value after submit an error will be thrown
* deleting this field will simply disable the honeypot.
* it is important that the field be hidden with CSS rather than using a hidden input field.
*}
<input type="text" name="{$actionid}feu__data" value="" style="display: none;"/>

{if $error}<div class="alert alert-danger">{$error}</div>{/if}
<div class="row">
<p class="col-md-4 text-right"><label for="feu_username">*{$prompt_username}:</label></p>
<p class="col-md-8">
<input type="{if $username_is_email}email{else}text{/if}" id="feu_username" name="{$fldname_username}" value="{$username}" size="{$username_size}" maxlength="{$username_maxlength}" {if !$username_is_email}autocorrect="off" autocapitalize="off"{/if} required/>
</p>
</div>
<div class="row">
<p class="col-md-4 text-right"><label for="feu_password">*{$prompt_password}:</label></p>
<p class="col-md-8">
<input type="password" id="feu_password" name="{$fldname_password}" value="{$password}" size="{$password_size}" maxlength="{$password_maxlength}" required/>
</p>
</div>
{if isset($captcha)}
<div class="row">
<p class="col-md-4 text-right">{$captcha_title}</p>
<div class="col-md-8">{$captcha}
{if $need_captcha_input}
<div class="row">
<input type="text" name="{$actionid}feu_input_captcha" size="10"/>
</div>
{/if}
</div>
</div>
{/if}


{$endform}
</fieldset>
======================================================


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)