On Sun, Sep 27, 2009 at 10:25 PM, Laszlo Papp <djszapi2@gmail.com> wrote:
./web/html/voters.php: - 'User' accounts were added to the condition to be able for simple Users to see the voters of a package, like in case of http://bugs.archlinux.org
Signed-off-by: Laszlo Papp <djszapi@archlinux.us> --- web/html/voters.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/html/voters.php b/web/html/voters.php index a3b2469..6ebb459 100644 --- a/web/html/voters.php +++ b/web/html/voters.php @@ -17,7 +17,7 @@ $pkgid = $_GET['ID']; $votes = getvotes($pkgid); $account = account_from_sid($SID);
-if ($account == 'Trusted User' || $account == 'Developer') { +if ($account == 'User' || $account == 'Trusted User' || $account == 'Developer') { ?> <html> <body> -- 1.6.4.4
Hi Laszlo, First of all I don't know if this feature will be available for the rest of the users. And plus, is easier to remove that if condition (if $account == 'bla') instead modifying it (adding another or condition) ;) Sincerely -- Angel Velásquez angvp @ irc.freenode.net Linux Counter: #359909