aboutsummaryrefslogtreecommitdiffstats
path: root/mod/events.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-05 19:37:55 -0800
committerfriendica <info@friendica.com>2015-02-05 19:37:55 -0800
commitabcc70722c3577e63b53fcd3acf19d2916d810df (patch)
treeaaed8f7025fa9591080045c313085de17761636b /mod/events.php
parentb948fbaeda84f4358722222b4a2d5555ef10b82e (diff)
downloadvolse-hubzilla-abcc70722c3577e63b53fcd3acf19d2916d810df.tar.gz
volse-hubzilla-abcc70722c3577e63b53fcd3acf19d2916d810df.tar.bz2
volse-hubzilla-abcc70722c3577e63b53fcd3acf19d2916d810df.zip
event form cleanup backported from trinidad - still need to style the checkboxes
Diffstat (limited to 'mod/events.php')
-rwxr-xr-xmod/events.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/mod/events.php b/mod/events.php
index 9347331d8..7143963f4 100755
--- a/mod/events.php
+++ b/mod/events.php
@@ -577,12 +577,13 @@ function events_content(&$a) {
'$catsenabled' => $catsenabled,
'$placeholdercategory' => t('Categories (comma-separated list)'),
'$category' => $category,
- '$s_text' => t('Event Starts:') . ' <span class="required" title="' . t('Required') . '">*</span>',
+ '$s_text' => t('Event Starts:'),
'$stext' => $stext,
'$ftext' => $ftext,
+ '$required' => ' <span class="required" title="' . t('Required') . '">*</span>',
'$ModalCANCEL' => t('Cancel'),
'$ModalOK' => t('OK'),
- '$s_dsel' => datetimesel($f,new DateTime(),DateTime::createFromFormat('Y',$syear+5),DateTime::createFromFormat('Y-m-d H:i',"$syear-$smonth-$sday $shour:$sminute"),'start_text'),
+ '$s_dsel' => datetimesel($f,new DateTime(),DateTime::createFromFormat('Y',$syear+5),DateTime::createFromFormat('Y-m-d H:i',"$syear-$smonth-$sday $shour:$sminute"),'start_text',true,true,'','',true),
'$n_text' => t('Finish date/time is not known or not relevant'),
'$n_checked' => $n_checked,
'$f_text' => t('Event Finishes:'),
@@ -593,7 +594,7 @@ function events_content(&$a) {
'$d_orig' => $d_orig,
'$l_text' => t('Location:'),
'$l_orig' => $l_orig,
- '$t_text' => t('Title:') . ' <span class="required" title="' . t('Required') . '">*</span>',
+ '$t_text' => t('Title:'),
'$t_orig' => $t_orig,
'$sh_text' => t('Share this event'),
'$sh_checked' => $sh_checked,