[geeklog-cvs] geeklog: Fixed an old bug in the event submission form: The text...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Feb 6 10:32:54 EST 2010
changeset 7696:6e024a9a1e2f
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/6e024a9a1e2f
user: Dirk Haun <dirk at haun-online.de>
date: Sat Feb 06 15:19:24 2010 +0100
description:
Fixed an old bug in the event submission form: The text of the "Submit" button must match the text $LANG12[8] to be recognized. Changed the form to always use that string instead of the one from Calendar plugin's language file (originally reported by kokaku in 2006(!) and again by Tereso Ramos in 2010).
diffstat:
plugins/calendar/functions.inc | 4 ++--
public_html/docs/history | 7 +++++++
2 files changed, 9 insertions(+), 2 deletions(-)
diffs (38 lines):
diff -r 2765c34551ed -r 6e024a9a1e2f plugins/calendar/functions.inc
--- a/plugins/calendar/functions.inc Sat Feb 06 14:24:42 2010 +0100
+++ b/plugins/calendar/functions.inc Sat Feb 06 15:19:24 2010 +0100
@@ -676,7 +676,7 @@
*/
function plugin_submit_calendar($mode = 'master')
{
- global $_CONF, $_CA_CONF, $LANG_CAL_1;
+ global $_CONF, $_CA_CONF, $LANG_CAL_1, $LANG12;
if (isset($_POST['calendar_type'])) {
$mode = $_POST['calendar_type'];
@@ -815,7 +815,7 @@
$eventform->set_var('lang_location', $LANG_CAL_1[39]);
$eventform->set_var('lang_description', $LANG_CAL_1[5]);
$eventform->set_var('lang_htmnotallowed', $LANG_CAL_1[44]);
- $eventform->set_var('lang_submit', $LANG_CAL_1[45]);
+ $eventform->set_var('lang_submit', $LANG12[8]);
$eventform->set_var('mode', $mode);
if ($mode == 'personal') {
$token = SEC_createToken();
diff -r 2765c34551ed -r 6e024a9a1e2f public_html/docs/history
--- a/public_html/docs/history Sat Feb 06 14:24:42 2010 +0100
+++ b/public_html/docs/history Sat Feb 06 15:19:24 2010 +0100
@@ -50,6 +50,13 @@
renamed our JavaScript remove() function to gl_cfg_remove() but forgot to
update the dynamically created function calls (cf. bug #0000681) [Dirk]
+Calendar Plugin
+---------------
+- Fixed an old bug in the event submission form: The text of the "Submit" button
+ must match the text $LANG12[8] to be recognized. Changed the form to always
+ use that string instead of the one from Calendar plugin's language file
+ (originally reported by kokaku in 2006(!) and again by Tereso Ramos in 2010).
+
Links Plugin
------------
- Added a link to "New category" from the Links editor [Dirk]
More information about the geeklog-cvs
mailing list