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:
|
---------------------------------------
7) Die Datei "acp/lib/functions.php" ändern.
---------------------------------------
------
SUCHE:
------
function userrating($count, $points, $userid) {
global $tpl, $lang, $style;
if ($count != 0) {
$doubletemp = $points / $count;
$temp = number_format($doubletemp, 1);
$rating = number_format($doubletemp, 2, $lang->get("LANG_GLOBAL_DEC_POINT"), $lang->get("LANG_GLOBAL_THOUSANDS_SEP"));
$width = $temp * 10;
$LANG_MEMBERS_RATING_RATINGS = $lang->get("LANG_MEMBERS_RATING_RATINGS", array('$count' => $count, '$rating' => $rating));
}
eval("\$userrating = \"".$tpl->get("userrating")."\";");
return $userrating;
}
------------------
FÜGE DARUNTER EIN:
------------------
/* VGBewertung Anfang */
function userrating_vgbewertung($count, $points, $katid, $userid, $vgbewertung_titel) {
global $tpl, $lang, $style;
if ($count != 0) {
$doubletemp = $points / $count;
$temp = number_format($doubletemp, 1);
$rating = number_format($doubletemp, 2, $lang->get("LANG_GLOBAL_DEC_POINT"), $lang->get("LANG_GLOBAL_THOUSANDS_SEP"));
$width = $temp * 10;
$LANG_MEMBERS_RATING_RATINGS = $lang->get("LANG_MEMBERS_RATING_RATINGS", array('$count' => $count, '$rating' => $rating));
}
eval("\$userrating = \"".$tpl->get("vgbewertung")."\";");
return $userrating;
}
/* VGBewertung Ende */
|