mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
Update userposts.php
This commit is contained in:
@@ -70,7 +70,8 @@ if ($action == "comments")
|
|||||||
$sql2 = e107::getDb('sql2');
|
$sql2 = e107::getDb('sql2');
|
||||||
if($user_name)
|
if($user_name)
|
||||||
{
|
{
|
||||||
$ccaption = UP_LAN_1.$user_name;
|
// $ccaption = UP_LAN_1.$user_name;
|
||||||
|
$ccaption = str_replace('[x]', $user_name, UP_LAN_1);
|
||||||
/*$sql->db_Select("user", "user_comments", "user_id=".$id);
|
/*$sql->db_Select("user", "user_comments", "user_id=".$id);
|
||||||
$row = $sql->db_Fetch();
|
$row = $sql->db_Fetch();
|
||||||
$ctotal = $row['user_comments'];*/
|
$ctotal = $row['user_comments'];*/
|
||||||
@@ -159,7 +160,8 @@ elseif ($action == 'forums')
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
$fcaption = UP_LAN_0.' '.$user_name;
|
// $fcaption = UP_LAN_0.' '.$user_name;
|
||||||
|
$fcaption = str_replace('[x]', $user_name, UP_LAN_0);
|
||||||
/*
|
/*
|
||||||
if (!$USERPOSTS_FORUM_TABLE)
|
if (!$USERPOSTS_FORUM_TABLE)
|
||||||
{
|
{
|
||||||
@@ -312,4 +314,4 @@ function parse_userposts_comments_table($row, $template)
|
|||||||
return e107::getParser()->simpleParse($template, $vars);
|
return e107::getParser()->simpleParse($template, $vars);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user