Further optimize voters.php to only need the package name
commit1e9d539acfb609dd7a6f085295f0d068d69cb077
authorcanyonknight <canyonknight@gmail.com>
Tue, 21 Jan 2014 01:42:44 +0000 (20 20:42 -0500)
committerLukas Fleischer <archlinux@cryptocrack.de>
Wed, 22 Jan 2014 17:27:42 +0000 (22 18:27 +0100)
tree3be78a61115771818f3284bbb632245119ff2c73
parent81d4cc13dcae2f159ed937d4ce41e1df7d3c82b0
Further optimize voters.php to only need the package name

* Extends changes in 81d4cc13dcae2f159ed937d4ce41e1df7d3c82b0
* Modify getvotes() to use the package name rather than package ID
* Rename getvotes() to votes_for_pkgname() for clarity with new changes
* Modify routing framework and links to now use package names for voters.php

Signed-off-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
web/html/index.php
web/html/voters.php
web/lib/pkgfuncs.inc.php
web/template/pkg_details.php