Commit graph

12 commits

Author SHA1 Message Date
Tobias Mueller
31fd299c8c Import changes from the maemo preferential voting scripts
The changes come from the SVN repository at
https://garage.maemo.org/svn/maemo2midgard/maemo-elections/vote,
revision 1433.

This commit only ports changes in the include/ subdirectory.
2009-06-04 20:15:43 +02:00
Vincent Untz
aca24c3983 display tokens in monospace so that there's no ambiguity
2006-01-07  Vincent Untz  <vuntz@gnome.org>

	* foundation.gnome.org/vote/vote.css:
	* foundation.gnome.org/vote/votes.wml:
	* foundation.gnome.org/vote/include/step4-commit.php: display tokens
	in monospace so that there's no ambiguity
2006-01-07 14:58:27 +00:00
Vincent Untz
0a1cf78837 I think I have the correct query now.
2005-11-07  Vincent Untz  <vuntz@gnome.org>

	* foundation.gnome.org/vote/include/election-sql.php:
	(elec_get_blank_votes_election): I think I have the correct query now.
2005-11-07 08:26:05 +00:00
Vincent Untz
d3f8ff0a3e temporary workaround to get the right value
2005-11-07  Vincent Untz  <vuntz@gnome.org>

	* foundation.gnome.org/vote/include/election-sql.php:
	(elec_get_blank_votes_election): temporary workaround to get the right
	value
2005-11-07 08:10:57 +00:00
Vincent Untz
0ead7be6c7 add links to the results display the number of blank votes if not null new
2005-11-07  Vincent Untz  <vuntz@gnome.org>

	* foundation.gnome.org/referenda/2005-10/index.wml: add links to the
	results
	* foundation.gnome.org/vote/results.wml: display the number of blank
	votes if not null
	* foundation.gnome.org/vote/include/election-sql.php:
	(elec_get_blank_votes_election): new
2005-11-07 07:49:10 +00:00
Vincent Untz
d1ba4ff8fd add news item about preliminary results of referendum ditto don't select
2005-11-07  Vincent Untz  <vuntz@gnome.org>

	* foundation.gnome.org/index.wml: add news item about preliminary
	results of referendum
	* foundation.gnome.org/news/index.wml: ditto
	* foundation.gnome.org/vote/include/election-sql.php:
	(elec_get_results_election): don't select choice with id = -1 (it's a
	blank vote for referenda and we don't need to have it there to know it
	exists)
	(elec_get_votes_for_anon_token): ditto
	* foundation.gnome.org/vote/include/step4-commit.php: (step4_do): no
	need to insert the -1 vote for referenda.
	Add FIXME
2005-11-07 07:34:18 +00:00
Vincent Untz
adf62b2a7b fix code so that it works in MySQL 4.1 (but won't work in MySQL 4.0...)
2005-10-25  Vincent Untz  <vuntz@gnome.org>

	* foundation.gnome.org/vote/include/election-sql.php: fix code so that
	it works in MySQL 4.1 (but won't work in MySQL 4.0...)
2005-10-25 22:05:51 +00:00
Vincent Untz
69d83e26cb updated the timeline ditto final list add some mysql_error()...
2005-10-25  Vincent Untz  <vuntz@gnome.org>

	* foundation.gnome.org/referenda/2005-10/rules.wml: updated the
	timeline
	* foundation.gnome.org/referenda/2005-10/timeline.ics: ditto
	* foundation.gnome.org/referenda/2005-10/voters.wml: final list
	* foundation.gnome.org/vote/include/step4-commit.php: add some
	mysql_error()...
2005-10-25 21:53:16 +00:00
Vincent Untz
9a7638fe41 updated for SQL change fix grammar accept votes :-)
2005-10-25  Vincent Untz  <vuntz@gnome.org>

	* foundation.gnome.org/vote/include/election-sql.php: updated for SQL
	change
	* foundation.gnome.org/vote/include/step1-login.php: fix grammar
	* foundation.gnome.org/vote/include/step3-confirm.php: accept votes
	:-)
2005-10-25 12:43:11 +00:00
Vincent Untz
0658cd7f63 use correct name to connect to the db
2005-10-25  Vincent Untz  <vuntz@gnome.org>

	* foundation.gnome.org/vote/include/election-sql.php: use correct name
	to connect to the db
2005-10-25 11:18:49 +00:00
Vincent Untz
6810d2ffbd s/option/choice/, also rename the variable for the temporary token to
2005-10-24  Vincent Untz  <vuntz@gnome.org>

	* foundation.gnome.org/vote/*: s/option/choice/, also rename the
	variable for the temporary token to tmp_token
	* foundation.gnome.org/vote/include/election-sql.php: make it possible
	to use a local configuration for testing
2005-10-24 18:25:43 +00:00
Vincent Untz
d49c1a02f2 add anonymous voting scripts
2005-10-24  Vincent Untz  <vuntz@gnome.org>

	* configure.in:
	* foundation.gnome.org/Makefile.am:
	* foundation.gnome.org/vote/*: add anonymous voting scripts
2005-10-24 17:59:15 +00:00