Commit Graph

12 Commits

Author SHA1 Message Date
Chris Morgan
a88e2d16da Clearing an empty vote would result in a blank screen, instead redirect the
user to an appropriate page. Don't report that we removed votes for empty
slots.  Improve the message on the votestats page if there are no voting
results.
2005-05-11 03:08:07 +00:00
Jonathan Ernst
7e7d514274 Make votes work again 2005-02-26 16:36:52 +00:00
Jonathan Ernst
cfd1d1ac09 - renamed lookupVersionName and lookupAppName into lookup_version_name and lookup_app_name in respect to CODING_STANDARD
- removed appIdToName($appId) and versionIdToName($appId) from category.php
- replaced every occurence of appIdToName and versionIdToName with lookup_app_name and lookup_version_name
2005-02-04 02:59:05 +00:00
Jonathan Ernst
2083bf521b - OO version of user class
- no more duplicated functions
- improved performances (much less duplicated mysql queries)
- less code and better error handling
2005-01-30 23:12:48 +00:00
Jonathan Ernst
dcf7c819a4 - replaced mysql_query with appdb_query
- fixed mysql query in include/session.php
2005-01-08 18:24:55 +00:00
Paul van Schayck
dc1fd45420 Delete on slot base. Note appId+slot base. And allow only MAX_VOTES slots 2004-12-28 00:01:21 +00:00
Paul van Schayck
56555c3ed0 Rewrite vote_menu() to use MAX_VOTES. Show the application name instead of the ID in the menu. 2004-12-27 23:59:30 +00:00
Paul van Schayck
0f0e1c5425 Fix vote form and check on userinput (making more user friendly at the same time) 2004-12-27 05:16:33 +00:00
Jonathan Ernst
ca749d32d9 make use of the new constants of the config file for db connection and base path 2004-12-23 01:12:03 +00:00
Jonathan Ernst
d3d9e853d9 - replaced tons of tabs with spaces
- replaced <? with <?php for compatibility sake (see TODO and CODING_STANDARD to know more)
- improved overall code lisibility
2004-12-12 03:51:51 +00:00
Jonathan Ernst
bd91db228c - access most globals by their $_XYZ['varname'] name
- fix some code errors and typos (missing $ in front of variable names
and so on)
- fixed a lot of warnings that would have been thrown when error_reporting
is set to show notices (if(isset($variable))) instead of if($variable) for
example)
2004-12-10 01:07:45 +00:00
Jeremy Newman
8f28ae10c4 Initial revision 2004-03-15 16:22:00 +00:00