1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-22 13:41:52 +02:00

Update userposts.php

This commit is contained in:
Gábor 2018-05-08 06:31:24 +02:00 committed by GitHub
parent ed36008286
commit f48927041d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -70,7 +70,8 @@ if ($action == "comments")
$sql2 = e107::getDb('sql2');
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);
$row = $sql->db_Fetch();
$ctotal = $row['user_comments'];*/
@ -159,7 +160,8 @@ elseif ($action == 'forums')
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)
{
@ -312,4 +314,4 @@ function parse_userposts_comments_table($row, $template)
return e107::getParser()->simpleParse($template, $vars);
}
?>
?>