From c6682b906982128ea776a3a612d88448ed85df85 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 8 Nov 2011 11:23:38 +0000 Subject: [PATCH] make_link for numeric score votes, and put in theme.php, fixes issue #50 --- contrib/numeric_score/main.php | 3 --- contrib/numeric_score/theme.php | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/contrib/numeric_score/main.php b/contrib/numeric_score/main.php index 3b786e20..0ab462c6 100644 --- a/contrib/numeric_score/main.php +++ b/contrib/numeric_score/main.php @@ -35,9 +35,6 @@ class NumericScore implements Extension { if($event instanceof DisplayingImageEvent) { if(!$user->is_anonymous()) { $html = $this->theme->get_voter_html($event->image); - if($user->is_admin()) { - $html .= "

See All Votes"; - } $page->add_block(new Block("Image Score", $html, "left", 20)); } } diff --git a/contrib/numeric_score/theme.php b/contrib/numeric_score/theme.php index 0d2a1953..eab5b338 100644 --- a/contrib/numeric_score/theme.php +++ b/contrib/numeric_score/theme.php @@ -37,6 +37,8 @@ class NumericScoreTheme extends Themelet { + +

See All Votes "; } return $html;