[ Index ]
 

Code source de e107 0.7.8

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

title

Body

[fermer]

/e107_themes/templates/ -> comment_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/templates/comment_template.php,v $
  14  |     $Revision: 1.7 $
  15  |     $Date: 2006/07/16 19:40:07 $
  16  |     $Author: e107coders $
  17  +----------------------------------------------------------------------------+
  18  */
  19  
  20  if (!defined('e107_INIT')) { exit; }
  21  if (!defined("USER_WIDTH")){ define("USER_WIDTH","width:100%"); }
  22  
  23  global $sc_style, $comment_shortcodes;
  24  global $pref, $comrow, $row2, $tp, $NEWIMAGE, $USERNAME, $RATING;
  25  
  26  $sc_style['SUBJECT']['pre'] = "<b>";
  27  $sc_style['SUBJECT']['post'] = "</b>";
  28  
  29  $sc_style['USERNAME']['pre'] = "<b>";
  30  $sc_style['USERNAME']['post'] = "</b>";
  31  
  32  $sc_style['TIMEDATE']['pre'] = "";
  33  $sc_style['TIMEDATE']['post'] = "";
  34  
  35  $sc_style['REPLY']['pre'] = "";
  36  $sc_style['REPLY']['post'] = "";
  37  
  38  $sc_style['AVATAR']['pre'] = "<div class='spacer'>";
  39  $sc_style['AVATAR']['post'] = "</div>";
  40  
  41  $sc_style['COMMENTS']['pre'] = "";
  42  $sc_style['COMMENTS']['post'] = "<br />";
  43  
  44  $sc_style['JOINED']['pre'] = "";
  45  $sc_style['JOINED']['post'] = "<br />";
  46  
  47  $sc_style['COMMENT']['pre'] = "";
  48  $sc_style['COMMENT']['post'] = "<br />";
  49  
  50  $sc_style['RATING']['pre'] = "";
  51  $sc_style['RATING']['post'] = "<br />";
  52  
  53  $sc_style['IPADDRESS']['pre'] = "";
  54  $sc_style['IPADDRESS']['post'] = "<br />";
  55  
  56  $sc_style['LEVEL']['pre'] = "";
  57  $sc_style['LEVEL']['post'] = "<br />";
  58  
  59  $sc_style['LOCATION']['pre'] = "";
  60  $sc_style['LOCATION']['post'] = "<br />";
  61  
  62  $sc_style['SIGNATURE']['pre'] = "";
  63  $sc_style['SIGNATURE']['post'] = "<br />";
  64  
  65  
  66  $COMMENTSTYLE = "
  67  <table class='fborder' style='".USER_WIDTH."'>
  68  <tr>
  69      <td colspan='2' class='forumheader'>
  70          {SUBJECT} {USERNAME} {TIMEDATE} {REPLY} {COMMENTEDIT}
  71      </td>
  72  </tr>
  73  <tr>
  74      <td style='width:30%; vertical-align:top;'>
  75          {AVATAR}<span class='smalltext'>{COMMENTS}{JOINED}</span>
  76      </td>
  77      <td style='width:70%; vertical-align:top;'>
  78          {COMMENT}
  79          {RATING}
  80          {IPADDRESS}
  81          {LEVEL}
  82          {LOCATION}
  83          {SIGNATURE}
  84      </td>
  85  </tr>
  86  </table>
  87  <br />";
  88  
  89  
  90  ?>


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