Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* $Id: reputation.php 2164 2006-08-30 06:17:49Z chris $
| * $Id: reputation.php 2263 2006-09-26 09:24:25Z chris $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 477 | Zeile 477 |
---|
$vote_type = $lang->positive; } // Get the reputation for the user who posted this comment
|
$vote_type = $lang->positive; } // Get the reputation for the user who posted this comment
|
| if($reputation_vote['adduid'] == 0) { $reputation_vote['user_reputation'] = 0; }
|
$reputation_vote['user_reputation'] = get_reputation($reputation_vote['user_reputation'], $reputation_vote['adduid']);
// Format the date this reputation was last modified
| $reputation_vote['user_reputation'] = get_reputation($reputation_vote['user_reputation'], $reputation_vote['adduid']);
// Format the date this reputation was last modified
|
Zeile 485 | Zeile 489 |
---|
$last_updated = sprintf($lang->last_updated, $last_updated_date, $last_updated_time);
// Does the current user have permission to delete this reputation? Show delete link
|
$last_updated = sprintf($lang->last_updated, $last_updated_date, $last_updated_time);
// Does the current user have permission to delete this reputation? Show delete link
|
if($mybb->usergroup['cancp'] == "yes" || ($mybb->usergroup['cangivereputations'] == "yes" && $reputation['adduid'] == $mybb->user['uid']))
| if($mybb->usergroup['cancp'] == "yes" || ($mybb->usergroup['cangivereputations'] == "yes" && $reputation_vote['adduid'] == $mybb->user['uid'] && $mybb->user['uid'] != 0))
|
{ $delete_link = "[<a href=\"reputation.php?action=delete&uid={$reputation_vote['rated_uid']}&rid={$reputation_vote['rid']}\" onclick=\"MyBB.deleteReputation({$reputation_vote['rated_uid']}, {$reputation_vote['rid']}); return false;\">{$lang->delete_vote}</a>]"; }
| { $delete_link = "[<a href=\"reputation.php?action=delete&uid={$reputation_vote['rated_uid']}&rid={$reputation_vote['rid']}\" onclick=\"MyBB.deleteReputation({$reputation_vote['rated_uid']}, {$reputation_vote['rid']}); return false;\">{$lang->delete_vote}</a>]"; }
|