diff options
author | friendica <info@friendica.com> | 2015-01-29 20:09:48 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-29 20:09:48 -0800 |
commit | 4a243b63f7019a1e56ecf03b138cd7fc396236c2 (patch) | |
tree | a313e774b33a0310df56c246654266e75dda4d81 /mod/events.php | |
parent | 912be23e1627211fb417c4b7bced414cbbe38ef0 (diff) | |
download | volse-hubzilla-4a243b63f7019a1e56ecf03b138cd7fc396236c2.tar.gz volse-hubzilla-4a243b63f7019a1e56ecf03b138cd7fc396236c2.tar.bz2 volse-hubzilla-4a243b63f7019a1e56ecf03b138cd7fc396236c2.zip |
cleanup event form and various required indicators on inputs
Diffstat (limited to 'mod/events.php')
-rwxr-xr-x | mod/events.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mod/events.php b/mod/events.php index 322106d3f..99e965e90 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, |