Changeset 50246 in spip-zone
- Timestamp:
- Aug 4, 2011, 2:10:50 PM (10 years ago)
- Location:
- _plugins_/comments/comments-200
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/comments/comments-200/comments_options.php
r36940 r50246 2 2 3 3 // Limiter la longueur des messages 4 define('_FORUM_LONGUEUR_MAXI', 1500); 4 if(function_exists('lire_config')){ 5 define('_FORUM_LONGUEUR_MAXI', lire_config('comments/forum_longueur_maxi',1500)); 6 }else{ 7 define('_FORUM_LONGUEUR_MAXI', 1500); 8 } 5 9 6 10 ?> -
_plugins_/comments/comments-200/formulaires/configurer_comments.html
r46288 r50246 45 45 <label for="forum_longueur_mini"><:comments:cfg_forum_longueur_mini:><br /><b class='erreur'>SANS EFFET !</b></label>[ 46 46 <span class='erreur'>(#ENV**{erreurs}|table_valeur{forum_longueur_mini})</span> 47 ]<input type="text" class="text" name="forum_longueur_mini"[ value="(#ENV{forum_longueur_mini}|sinon{10})"] id="forum_longueur_mini" style="width: 4em;" disabled="disabled" />47 ]<input type="text" class="text" name="forum_longueur_mini"[ value="(#ENV{forum_longueur_mini}|sinon{10})"] id="forum_longueur_mini" style="width: 4em;" maxlength="4" disabled="disabled" /> 48 48 <p class="explication">La longueur minimale des messages n'est pas encore paramètrable dans SPIP qui nécessite des messages d'au moins 10 caractères.</p> 49 49 </li> 50 50 <li class="comments_forum_longueur_maxi[ (#ENV**{erreurs}|table_valeur{forum_longueur_maxi}|oui)erreur]"> 51 <label for="forum_longueur_maxi"><:comments:cfg_forum_longueur_maxi:>< br /><b>SANS EFFET !</b></label>[51 <label for="forum_longueur_maxi"><:comments:cfg_forum_longueur_maxi:></label>[ 52 52 <span class='erreur'>(#ENV**{erreurs}|table_valeur{forum_longueur_maxi})</span> 53 ]<input type="text" class="text" name="forum_longueur_maxi"[ value="(#ENV{forum_longueur_maxi}|sinon{1500})"] id="forum_longueur_maxi" style="width: 4em;" disabled="disabled" />53 ]<input type="text" class="text" name="forum_longueur_maxi"[ value="(#ENV{forum_longueur_maxi}|sinon{1500})"] id="forum_longueur_maxi" style="width: 4em;" maxlength="4" /> 54 54 </li> 55 55 </ul> -
_plugins_/comments/comments-200/plugin.xml
r48541 r50246 10 10 <chemin dir="" /> 11 11 <chemin dir="feed/" /> 12 <options>comments_options.php</options> 12 13 <fonctions>comments_pipelines.php</fonctions> 13 14 <pipeline>
Note: See TracChangeset
for help on using the changeset viewer.