To fix bug 629334. On the way, some old .cvsignore files were deleted.
Also, Makefiles and headers were adapted to show the new URL. Calendars
have not been updated.
This is accompanied by the following MySQL commands:
INSERT INTO elections ( type, name, voting_start, voting_end, choices_nb, question) VALUES (
'referendum', 'Anonymous Voting Referendum', '2004-09-27', '2004-10-08 25:59:59', 1, 'Do you agree with an anonymous voting process for any future GNOME Foundation elections and referenda?'
);
INSERT INTO election_results (election_id, result) VALUES (
LAST_INSERT_ID(), '<p><strong>Yes</strong>: all future GNOME Foundation elections and referenda will use
an anonymous voting process.</p><p>Please see the original <a href="2004-10/">referendum site</a> for more information on the results.</p>'
);
This commit will be followed by some cleaning up actions like fixing old references and finally removing the referenda directory.
Right now, the script doesn't echo <body onLoad="populateList()"> for an
unkown reason. I assume that this change makes it more explicit und thus
more readable.
So it won't return an empty string anymore. The signature of
escape_js_var is:
mixed str_replace ( mixed $search , mixed $replace , mixed $subject [, int &$count ] )
So we have to give at least three parameters. I wonder why it doesn't
complain right now...
I copied the maemo PHP files over the wml files and cherrypicked the
necessary changes, i.e. I didn't update the Elections name and left the
old elections@gnome.org address in place.
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
2005-11-13 Vincent Untz <vuntz@gnome.org>
Make the membership list dynamic.
* foundation.gnome.org/htaccess: updated for the move of the list
* foundation.gnome.org/membership/.cvsignore: updated
* foundation.gnome.org/membership/Makefile.am: updated
* foundation.gnome.org/membership/index.wml: fix link
* foundation.gnome.org/membership/members.wml: use some PHP magic
* foundation.gnome.org/vote/vote.wml: fix some tags for xhtml
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 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 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 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-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...)