Si vous souhaitez utiliser sur votre propre forum PHPBB le thème DesertStorm (thème en démo sur ce site), je vous propose de corriger une anomalie mineure de la partie admin.
La fenêtre de contrôle de banissement n'est pas conforme et ne permet pas de bannir un membre.
Les modifications à effectuer sont les suivantes :
- Code: Tout sélectionner
--Ouvrir--
admin\user_ban_body.tpl
--Chercher--
<form method="post" action="{S_BANLIST_ACTION}">
-- Ajouter après method="post" --
name="post"
Cela doit donner : <form method="post" name="post" action="{S_BANLIST_ACTION}">
-- Chercher --
<tr>
<th class="thHead" colspan="2">{L_BAN_USER}</th>
</tr>
<tr>
<td class="row1">{L_USERNAME}: <br /><span class="gensmall">{L_BAN_USER_EXPLAIN}</span></td>
<td class="row2">{S_BAN_USERLIST_SELECT}</td>
</tr>
-- Remplacer par --
<tr>
<th class="thHead" colspan="2">{L_BAN_USER}</th>
</tr>
<tr>
<td class="row1">{L_USERNAME}:</td>
<td class="row2"><input type="text" class="post" name="username" maxlength="50" size="20" /> <input type="hidden" name="mode" value="edit" />{S_HIDDEN_FIELDS} <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onclick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /></td>
</tr>
-- Fermer et sauvegarder le fichier --
Le thème (non corrigé) est en téléchargement ICI