non sauvergarde des options (chekbox), non affichage du texte à modifier sous..
php5 et ixprim Ixprim 1.3 rc2 (XForum 3.5.2-ix)
ajout ligne 56 :
CODE PHP:$bbcodeoff = $_POST['bbcodeoff'];
$smileyoff = $_POST['smileyoff'];
$emailnotify = $_POST['emailnotify'];
on remplace :
CODE PHP: <td align="left" width="100%"><textarea class="xftextarea" rows="<?php echo $xfConfig['textarearows']; ?>" cols="<?php echo $xfConfig['textareacols']; ?>" id="message" name="message"><?=$postinfo->message?></textarea></td>
par :
CODE PHP:<?php
echo '<td align="left" width="100%"><textarea class="xftextarea" rows="
'. $xfConfig['textarearows']. '
" cols="'. $xfConfig['textareacols']. '" id="message" name="message">
'. $postinfo-> message. '</textarea></td>';
?>
on remplace :
CODE PHP: <?=_TEXTHTMLIS?> <?=$allowhtml_text?>
<?=_TEXTSMILIESARE?> <?=$allowsmilies_text?>
<?=_TEXTBBCODEIS?> <?=$allowbbcode_text?>
<?=_TEXTIMGCODEIS?> <?=$allowimgcode_text?>
par :
CODE PHP:<?php
echo '<td class="xf_postsombre" valign="top"><b>'._TEXTRIGHTS. '</b>
<span class="xf_forumlink_small"> '._TEXTHTMLIS. ' '. $allowhtml_text. '
'._TEXTSMILIESARE. ' '. $allowsmilies_text. '
'._TEXTBBCODEIS. ' '. $allowbbcode_text. '
'._TEXTIMGCODEIS. ' '. $allowimgcode_text ;
?>
on remplace :
CODE PHP: <input class= "xf_postclair" type= "checkbox" name= "smileyoff" value= "1" <?= $offcheck2?> /> <?=_TEXTDISSMILEYS?>
<input class= "xf_postclair" type= "checkbox" name= "usesig" value= "1" <?= $offcheck3?> /> <?=_TEXTUSESIG?>
<input class= "xf_postclair" type= "checkbox" name= "bbcodeoff" value= "1" <?= $offcheck1?> /><?=_BBCODEOFF?>
<input class= "xf_postclair" type= "checkbox" name= "emailnotify" value= "1" <?= $notifycheck?> /> <?=_EMAILNOTIFYTOREPLIES?>
<?php echo $checkboxDelete; ?>
par :
CODE PHP:<?php
echo '<input class="xf_postclair" type="checkbox" name="smileyoff" value="1" '. $offcheck2. '/> '._TEXTDISSMILEYS. '
<input class="xf_postclair" type="checkbox" name="usesig" value="1" '. $offcheck3. ' /> '._TEXTUSESIG. '
<input class="xf_postclair" type="checkbox" name="bbcodeoff" value="1" '. $offcheck1. ' />'._BBCODEOFF. '
<input class="xf_postclair" type="checkbox" name="emailnotify" value="1" '. $notifycheck. ' /> '._EMAILNOTIFYTOREPLIES. '
'. $checkboxDelete;
?>
|