]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Event/forms/event.php
Introduced common_location_shared() to check if location sharing is always,
[quix0rs-gnu-social.git] / plugins / Event / forms / event.php
index 8100e5903bc0df5fafb02b78dc92427f89472f46..a19fd80418ccf9d80b7b0a9a1ffaee7e7c34b9ed 100644 (file)
@@ -104,7 +104,8 @@ class EventForm extends Form
                           null,
                           // TRANS: Field title on event form.
                           _m('Title of the event.'),
-                          'title');
+                          'title',
+                          true);    // HTML5 "required" attribute
         $this->unli();
 
         $this->li();
@@ -195,7 +196,8 @@ class EventForm extends Form
                           null,
                           // TRANS: Field title on event form.
                           _m('Description of the event.'),
-                          'description');
+                          'description',
+                          true);    // HTML5 "required" attribute
         $this->unli();
 
         $this->out->elementEnd('ul');