Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion controller/action_controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ public function clear_user($uid)
}
else
{
confirm_box(false, $this->user->lang('RS_CLEAR_POST_CONFIRM'), $s_hidden_fields);
confirm_box(false, $this->user->lang('RS_CLEAR_USER_CONFIRM'), $s_hidden_fields);
}
}
}
Expand Down
1 change: 1 addition & 0 deletions event/viewtopic_listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ public function post_row_reputation($event)

'RS_RATE_POST_NEGATIVE' => $row['user_voted'] ? $this->user->lang('RS_POST_RATED') : $this->user->lang('RS_RATE_POST_NEGATIVE'),
'RS_RATE_POST_POSITIVE' => $row['user_voted'] ? $this->user->lang('RS_POST_RATED') : $this->user->lang('RS_RATE_POST_POSITIVE'),
'RS_POST_REPUTATION' => $row['user_voted'] ? $this->user->lang('RS_POST_RATED') : $this->user->lang('RS_POST_REPUTATION'),

'U_RATE_POST_POSITIVE' => $this->helper->route('reputation_post_rating_controller', array('mode' => 'positive', 'post_id' => $post_id)),
'U_RATE_POST_NEGATIVE' => $this->helper->route('reputation_post_rating_controller', array('mode' => 'negative', 'post_id' => $post_id)),
Expand Down
4 changes: 2 additions & 2 deletions styles/prosilver/template/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h3>{L_RS_POWER_DETAILS}</h3>
<!-- IF not S_RS_GROUP_POWER -->
<!-- IF RS_CFG_MEMBERSHIP_DAYS --><dt style="width: 50%">{L_RS_POWER_DETAIL_AGE}:</dt> <dd style="width: 45%">{FOR_USER_AGE}</dd><!-- ENDIF -->
<!-- IF RS_CFG_TOTAL_POSTS --><dt style="width: 50%">{L_RS_POWER_DETAIL_POSTS}:</dt> <dd style="width: 45%">{FOR_NUMBER_OF_POSTS}</dd><!-- ENDIF -->
<!-- IF RS_CFG_REP_POINT --><dt style="width: 50%">{L_RS_POWER_DETAIL_REPUTAION}:</dt> <dd style="width: 45%">{FOR_REPUTATION}</dd><!-- ENDIF -->
<!-- IF RS_CFG_REP_POINT --><dt style="width: 50%">{L_RS_POWER_DETAIL_REPUTATION}:</dt> <dd style="width: 45%">{FOR_REPUTATION}</dd><!-- ENDIF -->
<!-- IF RS_CFG_LOOSE_WARN --><dt style="width: 50%">{L_RS_POWER_DETAIL_WARNINGS}:</dt> <dd style="width: 45%">{FOR_WARNINGS}</dd><!-- ENDIF -->
<!-- IF RS_CFG_LOOSE_BAN --><dt style="width: 50%">{L_RS_POWER_DETAIL_BANS}:</dt> <dd style="width: 45%">{FOR_BANS}</dd><!-- ENDIF -->
<!-- IF MINIMUM_VOTING_POWER --><dt style="width: 50%">{L_RS_POWER_DETAIL_MIN}:</dt> <dd style="width: 45%">{MINIMUM_VOTING_POWER}</dd><!-- ENDIF -->
Expand Down Expand Up @@ -187,4 +187,4 @@ <h3>{L_RS_STATS}</h3>

<br class="clear">

<!-- INCLUDE overall_footer.html -->
<!-- INCLUDE overall_footer.html -->
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
<!-- ENDIF -->
<li data-skip-responsive="true">
<!-- IF postrow.S_VIEW_REPUTATION -->
<a href="{postrow.U_VIEW_POST_REPUTATION}" title="{postrow.RS_RATE_POST_POSITIVE}" class="button post-reputation {postrow.POST_REPUTATION_CLASS}" data-referer="_referer={U_REPUTATION_REFERER}"><span>{postrow.POST_REPUTATION}</span></a>
<a href="{postrow.U_VIEW_POST_REPUTATION}" title="{postrow.RS_POST_REPUTATION}" class="button post-reputation {postrow.POST_REPUTATION_CLASS}" data-referer="_referer={U_REPUTATION_REFERER}"><span>{postrow.POST_REPUTATION}</span></a>
<!-- ELSE -->
<div title="{postrow.RS_RATE_POST_POSITIVE}" class="button post-reputation {postrow.POST_REPUTATION_CLASS} guest" data-referer="_referer={U_REPUTATION_REFERER}"><span>{postrow.POST_REPUTATION}</span></div>
<div title="{postrow.RS_POST_REPUTATION}" class="button post-reputation {postrow.POST_REPUTATION_CLASS} guest" data-referer="_referer={U_REPUTATION_REFERER}"><span>{postrow.POST_REPUTATION}</span></div>
<!-- ENDIF -->
</li>
<!-- ENDIF -->
<!-- ENDIF -->