[ Index ] |
|
Code source de e107 0.7.8 |
1 <?php 2 /* 3 + ----------------------------------------------------------------------------+ 4 | e107 website system 5 | 6 | ©Steve Dunstan 2001-2002 7 | http://e107.org 8 | jalist@e107.org 9 | 10 | Released under the terms and conditions of the 11 | GNU General Public License (http://gnu.org). 12 | 13 | $Source: /cvsroot/e107/e107_0.7/e107_themes/khatru/forum_post_template.php,v $ 14 | $Revision: 1.6 $ 15 | $Date: 2006/12/24 13:51:15 $ 16 | $Author: mrpete $ 17 +----------------------------------------------------------------------------+ 18 */ 19 20 if (!defined('e107_INIT')) { exit; } 21 22 // the user box and subject box are not always displayed, therefore we need to define them /in case/ they are, if not they'll be ignored. 23 24 $userbox = "<tr> 25 <td class='forumheader2' style='width:20%'>".LAN_61."</td> 26 <td class='forumheader2' style='width:80%'> 27 <input class='tbox' type='text' name='anonname' size='71' value='".$anonname."' maxlength='20' /> 28 </td> 29 </tr>"; 30 31 $subjectbox = "<tr> 32 <td class='forumheader2' style='width:20%'>".LAN_62."</td> 33 <td class='forumheader2' style='width:80%'> 34 <input class='tbox' type='text' name='subject' size='71' value='".$subject."' maxlength='100' /> 35 </td> 36 </tr>"; 37 38 // the poll is optional, be careful when changing the values here, only change if you know what you're doing ... 39 40 require_once(e_PLUGIN."poll/poll_class.php"); 41 $pollo = new poll; 42 $poll = $pollo -> renderPollForm("forum"); 43 44 // finally, file attach is optional, again only change this if you know what you're doing ... 45 46 $fileattach = "<tr><td colspan='2' class='nforumcaption2'>".($pref['image_post'] ? LAN_390 : LAN_416)."</td></tr> 47 <tr><td style='width:20%' class='forumheader3'>".LAN_392."</td> 48 <td style='width:80%' class='forumheader3'>".LAN_393." | ".$allowed_filetypes." |<br />".LAN_394."<br />".LAN_395.": ".($pref['upload_maxfilesize'] ? $pref['upload_maxfilesize'].LAN_396 : ini_get('upload_max_filesize'))." 49 <br /> 50 51 <div id='fiupsection'> 52 <span id='fiupopt'><input class='tbox' name='file_userfile[]' type='file' size='47' /></span> 53 </div> 54 <input class='button' type='button' name='addoption' value='".LAN_417."' onclick=\"duplicateHTML('fiupopt','fiupsection')\" /> 55 </td> 56 </tr> 57 </td> 58 </tr>"; 59 60 61 // ------------ 62 63 64 $FORUMPOST = " 65 {FORMSTART} 66 ".BOXOPEN."{BACKLINK}".BOXMAIN." 67 68 <div style='text-align:center'> 69 <table style='width:100%' class='fborder'> 70 {USERBOX} 71 {SUBJECTBOX} 72 <tr> 73 <td class='forumheader2' style='width:20%; vertical-align:top;'>{POSTTYPE}</td> 74 <td style='width:80%'> 75 {POSTBOX}<br />{EMAILNOTIFY}<br />{POSTTHREADAS} 76 </td> 77 </tr> 78 {POLL} 79 {FILEATTACH} 80 <tr style='vertical-align:top'> 81 <td colspan='2' class='nforumcaption2' style='text-align:center'> 82 {BUTTONS} 83 </table> 84 {FORMEND} 85 </div> 86 {FORUMJUMP}".BOXCLOSE; 87 88 89 $FORUMTHREADPOSTED = 90 BOXOPEN.LAN_133.BOXMAIN." 91 <table style='width:100%'> 92 <tr> 93 <td style='text-align:right; vertical-align:middle; width:20%' class='forumheader2'>".IMAGE_e." </td> 94 <td style='vertical-align:middle; width:80%' class='forumheader2'> 95 <br />".LAN_324."<br /> 96 <span class='defaulttext'><a href='".e_PLUGIN."forum/forum_viewtopic.php?".$thread_id."'>".LAN_325."</a><br /> 97 <a href='".e_PLUGIN."forum/forum_viewforum.php?".$forum_id."'>".LAN_326."</a></span><br /><br /> 98 </td></tr></table>".BOXCLOSE; 99 100 101 $FORUMREPLYPOSTED = 102 BOXOPEN.LAN_133.BOXMAIN." 103 <table style='width:100%'> 104 <tr> 105 <td style='text-align:right; vertical-align:middle; width:20%' class='forumheader2'>".IMAGE_e." </td> 106 <td style='vertical-align:middle; width:80%' class='forumheader2'> 107 <br />".LAN_324."<br /> 108 <span class='defaulttext'><a href='".e_PLUGIN."forum/forum_viewtopic.php?{$iid}.last'>".LAN_325."</a><br /> 109 <a href='".e_PLUGIN."forum/forum_viewforum.php?".$forum_id."'>".LAN_326."</a></span><br /><br /> 110 </td></tr></table>".BOXCLOSE; 111 112 113 114 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Apr 1 01:23:32 2007 | par Balluche grâce à PHPXref 0.7 |