@@ -756,12 +756,12 @@ function template_calendar_top($calendar_data)
756756
757757 echo '
758758 <form action=" ' , Config::$ scripturl , '?action=calendar; ' , Utils::$ context ['calendar_view ' ], '" id=" ' , !empty ($ calendar_data ['end_date ' ]) ? 'calendar_range ' : 'calendar_navigation ' , '" method="post" accept-charset=" ' , Utils::$ context ['character_set ' ], '">
759- <input type="text" name="start_date" id="start_date" value=" ' , trim ($ calendar_data ['start_date ' ]), '" tabindex=" ' , Utils:: $ context [ ' tabindex ' ]++, ' " class="date_input start" data-type="date"> ' ;
759+ <input type="text" name="start_date" id="start_date" value=" ' , trim ($ calendar_data ['start_date ' ]), '" class="date_input start" data-type="date"> ' ;
760760
761761 if (!empty ($ calendar_data ['end_date ' ]))
762762 echo '
763763 <span> ' , strtolower (Lang::$ txt ['to ' ]), '</span>
764- <input type="text" name="end_date" id="end_date" value=" ' , trim ($ calendar_data ['end_date ' ]), '" tabindex=" ' , Utils:: $ context [ ' tabindex ' ]++, ' " class="date_input end" data-type="date"> ' ;
764+ <input type="text" name="end_date" id="end_date" value=" ' , trim ($ calendar_data ['end_date ' ]), '" class="date_input end" data-type="date"> ' ;
765765
766766 echo '
767767 <input type="submit" class="button" style="float:none" id="view_button" value=" ' , Lang::$ txt ['view ' ], '">
@@ -810,7 +810,7 @@ function template_event_post()
810810 <input type="hidden" name="calendar" value="1">
811811 <div class="event_options_left" id="event_title">
812812 <div>
813- <input type="text" id="evtitle" name="evtitle" maxlength="255" size="55" value=" ' , Utils::$ context ['event ' ]['title ' ], '" tabindex=" ' , Utils:: $ context [ ' tabindex ' ]++, ' " >
813+ <input type="text" id="evtitle" name="evtitle" maxlength="255" size="55" value=" ' , Utils::$ context ['event ' ]['title ' ], '">
814814 </div>
815815 </div> ' ;
816816
@@ -849,19 +849,19 @@ function template_event_post()
849849 <div class="event_options_left" id="event_time_input">
850850 <div>
851851 <span class="label"> ' , Lang::$ txt ['start ' ], '</span>
852- <input type="text" name="start_date" id="start_date" value=" ' , trim (Utils::$ context ['event ' ]['start_date_orig ' ]), '" tabindex=" ' , Utils:: $ context [ ' tabindex ' ]++, ' " class="date_input start" data-type="date">
853- <input type="text" name="start_time" id="start_time" maxlength="11" value=" ' , Utils::$ context ['event ' ]['start_time_orig ' ], '" tabindex=" ' , Utils:: $ context [ ' tabindex ' ]++, ' " class="time_input start" data-type="time" ' , !empty (Utils::$ context ['event ' ]['allday ' ]) ? ' disabled ' : '' , '>
852+ <input type="text" name="start_date" id="start_date" value=" ' , trim (Utils::$ context ['event ' ]['start_date_orig ' ]), '" class="date_input start" data-type="date">
853+ <input type="text" name="start_time" id="start_time" maxlength="11" value=" ' , Utils::$ context ['event ' ]['start_time_orig ' ], '" class="time_input start" data-type="time" ' , !empty (Utils::$ context ['event ' ]['allday ' ]) ? ' disabled ' : '' , '>
854854 </div>
855855 <div>
856856 <span class="label"> ' , Lang::$ txt ['end ' ], '</span>
857- <input type="text" name="end_date" id="end_date" value=" ' , trim (Utils::$ context ['event ' ]['end_date_orig ' ]), '" tabindex=" ' , Utils:: $ context [ ' tabindex ' ]++, ' " class="date_input end" data-type="date" ' , Config::$ modSettings ['cal_maxspan ' ] == 1 ? ' disabled ' : '' , '>
858- <input type="text" name="end_time" id="end_time" maxlength="11" value=" ' , Utils::$ context ['event ' ]['end_time_orig ' ], '" tabindex=" ' , Utils:: $ context [ ' tabindex ' ]++, ' " class="time_input end" data-type="time" ' , !empty (Utils::$ context ['event ' ]['allday ' ]) ? ' disabled ' : '' , '>
857+ <input type="text" name="end_date" id="end_date" value=" ' , trim (Utils::$ context ['event ' ]['end_date_orig ' ]), '" class="date_input end" data-type="date" ' , Config::$ modSettings ['cal_maxspan ' ] == 1 ? ' disabled ' : '' , '>
858+ <input type="text" name="end_time" id="end_time" maxlength="11" value=" ' , Utils::$ context ['event ' ]['end_time_orig ' ], '" class="time_input end" data-type="time" ' , !empty (Utils::$ context ['event ' ]['allday ' ]) ? ' disabled ' : '' , '>
859859 </div>
860860 </div><!-- #event_time_input -->
861861 <div class="event_options_right" id="event_time_options">
862862 <div id="event_allday">
863863 <label for="allday"><span class="label"> ' , Lang::$ txt ['calendar_allday ' ], '</span></label>
864- <input type="checkbox" name="allday" id="allday" ' , !empty (Utils::$ context ['event ' ]['allday ' ]) ? ' checked ' : '' , ' tabindex=" ' , Utils:: $ context [ ' tabindex ' ]++, ' " >
864+ <input type="checkbox" name="allday" id="allday" ' , !empty (Utils::$ context ['event ' ]['allday ' ]) ? ' checked ' : '' , '>
865865 </div>
866866 <div id="event_timezone">
867867 <span class="label"> ' , Lang::$ txt ['calendar_timezone ' ], '</span>
@@ -877,7 +877,7 @@ function template_event_post()
877877 </div><!-- #event_time_options -->
878878 <div>
879879 <span class="label"> ' , Lang::$ txt ['location ' ], '</span>
880- <input type="text" name="event_location" id="event_location" maxlength="255" value=" ' , !empty (Utils::$ context ['event ' ]['location ' ]) ? Utils::$ context ['event ' ]['location ' ] : '' , '" tabindex=" ' , Utils:: $ context [ ' tabindex ' ]++, ' " >
880+ <input type="text" name="event_location" id="event_location" maxlength="255" value=" ' , !empty (Utils::$ context ['event ' ]['location ' ]) ? Utils::$ context ['event ' ]['location ' ] : '' , '">
881881 </div>
882882 </fieldset> ' ;
883883
0 commit comments