X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2FEvent%2Frsvpform.php;h=7bb926039e52ffea618b900968e7dd552d42ce01;hb=c97048d01bea468e0cf8865b60c3c250b4515c39;hp=6f86004f94c5c6d557ac094c2963ca7e9960b215;hpb=4d61760154a53e39d1e0499d5fe7a4a586e7a9f0;p=quix0rs-gnu-social.git diff --git a/plugins/Event/rsvpform.php b/plugins/Event/rsvpform.php index 6f86004f94..7bb926039e 100644 --- a/plugins/Event/rsvpform.php +++ b/plugins/Event/rsvpform.php @@ -96,7 +96,7 @@ class RSVPForm extends Form // TRANS: Field label on form to RSVP ("please respond") for an event. $this->out->text(_m('RSVP:')); - $this->out->hidden('event', $this->event->id); + $this->out->hidden('event-id', $this->event->id, 'event'); $this->out->hidden('submitvalue', ''); $this->out->elementEnd('fieldset'); @@ -119,12 +119,17 @@ class RSVPForm extends Form function submitButton($id, $label) { - $this->out->element('input', array('type' => 'submit', - 'id' => $id, - 'name' => $id, - 'class' => 'submit', - 'value' => $label, - 'title' => $label, - 'onClick' => 'this.form.submitvalue.value = this.name; return true;')); + $this->out->element( + 'input', + array( + 'type' => 'submit', + 'id' => 'rsvp-submit', + 'name' => $id, + 'class' => 'submit', + 'value' => $label, + 'title' => $label, + 'onClick' => 'this.form.submitvalue.value = this.name; return true;' + ) + ); } }