Commit graph

9 commits

Author SHA1 Message Date
Tobias Mueller
b2727e6e9b Feed the to-be-escaped variable to escape_js_var
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...
2009-06-06 16:14:33 +02:00
Olav Vitters
bc342f9fbf Make $error safe for HTML output purposes 2009-06-06 15:00:37 +02:00
Olav Vitters
26d33af6e2 Prevent XSS by escaping the output 2009-06-06 13:54:24 +02:00
Tobias Mueller
78387ca5e5 Porting the maemo changes
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.
2009-06-04 21:18:37 +02:00
Vincent Untz
7bb5acc37c removed <?xml version="1.0" encoding="UTF-8"?> line which breaks the php
2007-04-02  Vincent Untz  <vuntz@gnome.org>

	* foundation.gnome.org/membership/application.wml:
	* foundation.gnome.org/membership/members.wml:
	* foundation.gnome.org/vote/results.wml:
	* foundation.gnome.org/vote/index.wml:
	* foundation.gnome.org/vote/vote.wml:
	* foundation.gnome.org/vote/votes.wml: removed <?xml version="1.0"
	encoding="UTF-8"?> line which breaks the php scripts after RHEL
	migration

svn path=/trunk/; revision=401
2007-04-02 19:46:40 +00:00
Thomas James Alexander Thurman
f536c38dc6 Content-Type header added to all .wml files (okayed with jdub) 2006-07-03 18:31:02 +00:00
Vincent Untz
3062d7b29f Make the membership list dynamic.
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-13 15:05:03 +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