2006-12-02 04:36:16 +00:00
|
|
|
<?php
|
|
|
|
/*
|
2009-11-12 15:01:36 +00:00
|
|
|
* e107 website system
|
|
|
|
*
|
2009-11-18 01:06:08 +00:00
|
|
|
* Copyright (C) 2008-2009 e107 Inc (e107.org)
|
2009-11-12 15:01:36 +00:00
|
|
|
* 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 $
|
2010-02-10 18:18:01 +00:00
|
|
|
* $Revision$
|
|
|
|
* $Date$
|
|
|
|
* $Author$
|
2009-11-12 15:01:36 +00:00
|
|
|
*/
|
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
|
|
|
|
2012-06-15 12:50:18 +00:00
|
|
|
global $sc_style;
|
2006-12-02 04:36:16 +00:00
|
|
|
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'] = "";
|
|
|
|
|
2012-06-15 12:50:18 +00:00
|
|
|
$sc_style['AVATAR']['pre'] = "";
|
|
|
|
$sc_style['AVATAR']['post'] = "";
|
2006-12-02 04:36:16 +00:00
|
|
|
|
|
|
|
$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 />";
|
|
|
|
|
2012-06-15 04:15:46 +00:00
|
|
|
|
|
|
|
|
2012-06-15 12:50:18 +00:00
|
|
|
// from e107.org
|
|
|
|
$sc_style['REPLY']['pre'] = "<span class='comment-reply'>";
|
|
|
|
$sc_style['REPLY']['post'] = "</span>";
|
2012-06-15 04:15:46 +00:00
|
|
|
|
2012-06-15 12:50:18 +00:00
|
|
|
$sc_style['COMMENTEDIT']['pre'] = '<span class="comment-edit">';
|
|
|
|
$sc_style['COMMENTEDIT']['post'] = '</span>';
|
2012-06-15 04:15:46 +00:00
|
|
|
|
2012-06-16 05:04:22 +00:00
|
|
|
$sc_style['COMMENT_AVATAR']['pre'] = '<div class="comment-avatar center">';
|
2012-06-15 04:15:46 +00:00
|
|
|
$sc_style['COMMENT_AVATAR']['post'] = '</div>';
|
|
|
|
|
2012-06-15 12:50:18 +00:00
|
|
|
$sc_style['SUBJECT_INPUT']['pre'] = ""; //COMLAN_324
|
|
|
|
$sc_style['SUBJECT_INPUT']['post'] = "";
|
2012-06-15 04:15:46 +00:00
|
|
|
|
2012-06-15 12:50:18 +00:00
|
|
|
$sc_style['AUTHOR_INPUT']['pre'] = ""; // COMLAN_16
|
|
|
|
$sc_style['AUTHOR_INPUT']['post'] = "";
|
2012-06-15 04:15:46 +00:00
|
|
|
|
2012-06-15 12:50:18 +00:00
|
|
|
$sc_style['COMMENT_INPUT']['pre'] = "";// COMLAN_8
|
|
|
|
$sc_style['COMMENT_INPUT']['post'] = "";
|
2012-06-15 04:15:46 +00:00
|
|
|
|
2012-06-15 12:50:18 +00:00
|
|
|
$sc_style['COMMENT_BUTTON']['pre'] = "<div id='commentformbutton'>";
|
|
|
|
$sc_style['COMMENT_BUTTON']['post'] = "</div>";
|
2012-06-15 04:15:46 +00:00
|
|
|
|
2012-06-16 05:04:22 +00:00
|
|
|
$sc_style['COMMENT_RATE']['pre'] = '<div class="comment-rate">';
|
|
|
|
$sc_style['COMMENT_RATE']['post'] = '</div>';
|
|
|
|
|
2012-06-19 09:08:41 +00:00
|
|
|
//$sc_style['USER_AVATAR']['pre'] = '<div class="comment-avatar center">';
|
|
|
|
//$sc_style['USER_AVATAR']['post'] = '</div>';
|
2012-06-15 04:15:46 +00:00
|
|
|
|
2012-06-18 13:00:47 +00:00
|
|
|
$sc_style['COMMENT_MODERATE']['pre'] = '<span class="comment-moderate">';
|
|
|
|
$sc_style['COMMENT_MODERATE']['post'] = '</span>';
|
|
|
|
|
2012-06-15 04:15:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-15 12:50:18 +00:00
|
|
|
$COMMENT_TEMPLATE['FORM'] = "
|
|
|
|
<div class='comment-box comment-box-form clearfix'>
|
|
|
|
<div class='comment-box-left'>
|
2012-06-19 09:08:41 +00:00
|
|
|
{COMMENT_AVATAR}
|
2012-06-15 04:15:46 +00:00
|
|
|
</div>
|
2012-06-15 12:50:18 +00:00
|
|
|
<div class='comment-box-right' style='text-align:left'>
|
|
|
|
<div class='P10'>
|
|
|
|
{AUTHOR_INPUT}
|
|
|
|
{COMMENT_INPUT}
|
|
|
|
{COMMENT_BUTTON}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class='clear_b'><!-- --></div>";
|
2012-06-15 04:15:46 +00:00
|
|
|
|
|
|
|
|
2012-06-15 12:50:18 +00:00
|
|
|
$COMMENT_TEMPLATE['ITEM'] = '
|
|
|
|
<div class="comment-box-left">
|
2012-06-15 04:15:46 +00:00
|
|
|
{COMMENT_AVATAR}
|
|
|
|
</div>
|
|
|
|
|
2012-06-15 12:50:18 +00:00
|
|
|
<div class="comment-box-right">
|
2012-06-15 04:15:46 +00:00
|
|
|
<div class="P10">
|
|
|
|
|
2012-06-15 12:50:18 +00:00
|
|
|
<span class="comment-box-username">{USERNAME}</span>
|
|
|
|
<span class="comment-box-date">{TIMEDATE}</span>
|
|
|
|
|
|
|
|
<span class="comment-status">{COMMENT_STATUS}</span>
|
2012-06-16 05:04:22 +00:00
|
|
|
<div class="comment-user-badge-bar">
|
2012-06-18 09:09:25 +00:00
|
|
|
{COMMENT_RATE}{REPLY} {COMMENTEDIT} {COMMENT_MODERATE}
|
2012-06-15 04:15:46 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="clear_b H5"><!-- --></div>
|
2012-06-17 03:56:42 +00:00
|
|
|
<div id="{COMMENT_ITEMID}-edit" contentEditable="false">{COMMENT}</div>
|
|
|
|
|
2012-06-15 04:15:46 +00:00
|
|
|
</div>
|
2012-06-15 12:50:18 +00:00
|
|
|
</div>';
|
|
|
|
|
2012-06-18 09:06:20 +00:00
|
|
|
|
2012-06-16 12:41:30 +00:00
|
|
|
|
2006-12-02 04:36:16 +00:00
|
|
|
|
2012-06-15 12:50:18 +00:00
|
|
|
$COMMENT_TEMPLATE['LAYOUT'] = '{COMMENTFORM}{COMMENTS}{MODERATE}';
|
|
|
|
|
2006-12-02 04:36:16 +00:00
|
|
|
|
|
|
|
?>
|