-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomment_template.php
91 lines (70 loc) · 2.5 KB
/
comment_template.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system
|
| Copyright (C) 2001-2002 Steve Dunstan ([email protected])
| Copyright (C) 2008-2010 e107 Inc (e107.org)
|
|
| Released under the terms and conditions of the
| GNU General Public License (http://gnu.org).
|
| $URL: https://e107.svn.sourceforge.net/svnroot/e107/trunk/e107_0.7/e107_themes/templates/comment_template.php $
| $Revision: 11678 $
| $Id: comment_template.php 11678 2010-08-22 00:43:45Z e107coders $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
if (!defined("USER_WIDTH")){ define("USER_WIDTH","width:100%"); }
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 />";
$grav_url = "http://www.gravatar.com/avatar/" . md5( strtolower( trim( $comment_author_email ) ) ) . "?d=" . urlencode( $default ) . "&s=" . $size;
$COMMENTSTYLE = "
<ol class='commentlist'>
<li id='comment-'>
<cite>
<img src='" .THEME_ABS. "images/comment_arrows.png' alt='' /><span class='reply' > {REPLY}</span>
<span class='author'>{USERNAME}</span> --> {SUBJECT}<br />
<span class='time'>{TIMEDATE}</span> {JOINED} {COMMENTEDIT}
</cite>
<div class='commenttext'>
{COMMENT}<br />
{RATING}
{IPADDRESS}
{LEVEL}
{LOCATION}
{SIGNATURE}
</div>
</li>
</ol>
<br />";
echo "<script type='text/javascript' src='".THEME_ABS."comment.js'></script>";
?>