[ Index ]
 

Code source de e107 0.7.8

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/e107_themes/lamb/ -> forum_post_template.php (source)

   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/lamb/forum_post_template.php,v $
  14  |     $Revision: 1.12 $
  15  |     $Date: 2006/12/24 13:55:37 $
  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  $FORUMPOST = "
  64  <div style='text-align:center'>
  65  {FORMSTART}
  66  <table style='width:100%' class='fborder'>
  67  <tr>
  68  <td colspan='2' class='nforumcaption'>{BACKLINK}
  69  </td>
  70  </tr>
  71  {USERBOX}
  72  {SUBJECTBOX}
  73  <tr>
  74  <td class='forumheader2' style='width:20%'>{POSTTYPE}</td>
  75  <td class='forumheader2' style='width:80%'>
  76  {POSTBOX}<br />{EMAILNOTIFY}<br />{POSTTHREADAS}
  77  </td>
  78  </tr>
  79  
  80  {POLL}
  81  
  82  {FILEATTACH}
  83  
  84  <tr style='vertical-align:top'>
  85  <td colspan='2' class='forumheader' style='text-align:center'>
  86  {BUTTONS}
  87  </table>
  88  {FORMEND}
  89  </div>
  90  {FORUMJUMP}
  91  ";
  92  
  93  $FORUMTHREADPOSTED = "
  94  <table style='width:100%' class='fborder'>
  95  <tr>
  96  <td class='nforumcaption2' colspan='2'>".LAN_133."</td>
  97  </tr><tr>
  98  <td style='text-align:right; vertical-align:middle; width:20%' class='forumheader2'>".IMAGE_e."&nbsp;</td>
  99  <td style='vertical-align:middle; width:80%' class='forumheader2'>
 100  <br />".LAN_324."<br />
 101  <span class='defaulttext'><a href='".e_PLUGIN."forum/forum_viewtopic.php?".$thread_id."'>".LAN_325."</a><br />
 102  <a href='".e_PLUGIN."forum/forum_viewforum.php?".$forum_id."'>".LAN_326."</a></span><br /><br />
 103  </td></tr></table>";
 104  
 105  
 106  $FORUMREPLYPOSTED = "
 107  <table style='width:100%' class='fborder'>
 108  <tr>
 109  <td class='fcaption' colspan='2'>".LAN_133."</td>
 110  </tr><tr>
 111  <td style='text-align:right; vertical-align:middle; width:20%' class='forumheader2'>".IMAGE_e."&nbsp;</td>
 112  <td style='vertical-align:middle; width:80%' class='forumheader2'>
 113  <br />".LAN_324."<br />
 114  <span class='defaulttext'><a href='".e_PLUGIN."forum/forum_viewtopic.php?{$iid}.last'>".LAN_325."</a><br />
 115  <a href='".e_PLUGIN."forum/forum_viewforum.php?".$forum_id."'>".LAN_326."</a></span><br /><br />
 116  </td></tr></table>";
 117  
 118  
 119  
 120  ?>


Généré le : Sun Apr 1 01:23:32 2007 par Balluche grâce à PHPXref 0.7