[ Index ] |
|
Code source de Phorum 5.1.25 |
1 <table id="post" cellspacing="0" border="0"> 2 3 {! A submit button that will be used to catch users pressing enter } 4 <script type="text/javascript"> 5 document.write('<input type="submit" name="ignore" style="display:none">'); 6 </script> 7 8 {! Author =================================================================== } 9 10 <tr> 11 <td style="white-space: nowrap">{LANG->YourName}: </td> 12 <td width="100%"> 13 {! Editing a message } 14 {IF POST->message_id} 15 {IF POST->user_id} 16 {POST->author} 17 {ELSE} 18 {IF MODERATOR} 19 <input type="text" name="author" size="30" value="{POST->author}" /> 20 {ELSE} 21 <?php print $PHORUM["user"]["username"] ?> 22 {/IF} 23 {/IF} 24 {! Writing a new message } 25 {ELSE} 26 {IF LOGGEDIN} 27 <?php print $PHORUM["user"]["username"] ?> 28 {ELSE} 29 <input type="text" name="author" size="30" value="{POST->author}" /> 30 {/IF} 31 {/IF} 32 </td> 33 </tr> 34 35 {! Subject ================================================================== } 36 37 <tr> 38 <td style="white-space: nowrap">{LANG->Subject}: </td> 39 <td> 40 <input type="text" name="subject" id="phorum_subject" size="50" value="{POST->subject}" /> 41 </td> 42 </tr> 43 44 {HOOK tpl_editor_after_subject} 45 46 {IF POST->user_id} 47 <tr> 48 <td></td> 49 <td> 50 {IF SHOW_THREADOPTIONS}{IF OPTION_ALLOWED->allow_reply} 51 <input type="checkbox" name="allow_reply" value="1" {IF POST->allow_reply} checked="checked"{/IF}> {LANG->AllowReplies}<br/> 52 {/IF}{/IF} 53 <input type="checkbox" name="email_notify" value="1" {IF POST->email_notify} checked="checked"{/IF} /> {LANG->EmailReplies}<br/> 54 <input type="checkbox" name="show_signature" value="1" {IF POST->show_signature} checked="checked"{/IF} /> {LANG->AddSig} 55 </td> 56 </tr> 57 {/IF} 58 59 </table> 60 61 </div> 62 63 {! Attachments ============================================================== } 64 65 {IF ATTACHMENTS} 66 {include posting_attachments} 67 {/IF} 68 69 70 {! Body ===================================================================== } 71 72 73 {HOOK tpl_editor_before_textarea} 74 75 <textarea name="body" id="phorum_textarea" rows="15" cols="50">{POST->body}</textarea> 76
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 12:22:27 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |