1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00
php-e107/e107_themes/templates/comment_template.php

87 lines
2.0 KiB
PHP
Raw Normal View History

2006-12-02 04:36:16 +00:00
<?php
/*
2009-11-12 15:01:36 +00:00
* e107 website system
*
* Copyright (C) 2001-2009 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*
*
* $Source: /cvs_backup/e107_0.8/e107_themes/templates/comment_template.php,v $
* $Revision: 1.2 $
* $Date: 2009-11-12 15:01:35 $
* $Author: marj_nl_fr $
*/
2006-12-02 04:36:16 +00:00
if (!defined('e107_INIT')) { exit; }
2009-11-12 15:01:36 +00:00
if (!defined("USER_WIDTH")){ define("USER_WIDTH", "width:100%"); }
2006-12-02 04:36:16 +00:00
global $sc_style, $comment_shortcodes;
global $pref, $comrow, $row2, $tp, $NEWIMAGE, $USERNAME, $RATING;
$sc_style['SUBJECT']['pre'] = "<b>";
$sc_style['SUBJECT']['post'] = "</b>";
$sc_style['USERNAME']['pre'] = "<b>";
$sc_style['USERNAME']['post'] = "</b>";
$sc_style['TIMEDATE']['pre'] = "";
$sc_style['TIMEDATE']['post'] = "";
$sc_style['REPLY']['pre'] = "";
$sc_style['REPLY']['post'] = "";
$sc_style['AVATAR']['pre'] = "<div class='spacer'>";
$sc_style['AVATAR']['post'] = "</div>";
$sc_style['COMMENTS']['pre'] = "";
$sc_style['COMMENTS']['post'] = "<br />";
$sc_style['JOINED']['pre'] = "";
$sc_style['JOINED']['post'] = "<br />";
$sc_style['COMMENT']['pre'] = "";
$sc_style['COMMENT']['post'] = "<br />";
$sc_style['RATING']['pre'] = "";
$sc_style['RATING']['post'] = "<br />";
$sc_style['IPADDRESS']['pre'] = "";
$sc_style['IPADDRESS']['post'] = "<br />";
$sc_style['LEVEL']['pre'] = "";
$sc_style['LEVEL']['post'] = "<br />";
$sc_style['LOCATION']['pre'] = "";
$sc_style['LOCATION']['post'] = "<br />";
$sc_style['SIGNATURE']['pre'] = "";
$sc_style['SIGNATURE']['post'] = "<br />";
$COMMENTSTYLE = "
<table class='fborder' style='".USER_WIDTH."'>
<tr>
<td colspan='2' class='forumheader'>
{SUBJECT} {USERNAME} {TIMEDATE} {REPLY} {COMMENTEDIT}
</td>
</tr>
<tr>
<td style='width:30%; vertical-align:top;'>
{AVATAR}<span class='smalltext'>{COMMENTS}{JOINED}</span>
</td>
<td style='width:70%; vertical-align:top;'>
{COMMENT}
{RATING}
{IPADDRESS}
{LEVEL}
{LOCATION}
{SIGNATURE}
</td>
</tr>
</table>
<br />";
?>