-5 Removals
+7 Additions

Created by:phpboost

<script> <script>
<!-- <!--
function ChangeMonth(year, month) function ChangeMonth(year, month)
{ {
jQuery.ajax({ jQuery.ajax({
url: ${escapejs(U_AJAX_CALENDAR)} + year + '/' + month + '/' + {MINI_MODULE}, url: ${escapejs(U_AJAX_CALENDAR)} + year + '/' + month + '/' + {MINI_MODULE},
success: function(returnData){ success: function(returnData){
jQuery('#calendar').html(returnData); jQuery('#calendar').html(returnData);
} }
}); });
# IF NOT C_MINI_MODULE # # IF NOT C_MINI_MODULE #
jQuery.ajax({ jQuery.ajax({
url: ${escapejs(U_AJAX_EVENTS)} + year + '/' + month, url: ${escapejs(U_AJAX_EVENTS)} + year + '/' + month,
success: function(returnData){ success: function(returnData){
jQuery('#events').html(returnData); jQuery('#events').html(returnData);
} }
}); });
# ENDIF # # ENDIF #
} }
--> -->
</script> </script>
<div id="date_select_form" class="center"> <div id="date_select_form" class="center">
<form method="post" class="fieldset-content"> <form method="post" class="fieldset-content">
<div class="horizontal-fieldset" id="CalendarAjaxCalendarController_choose-date"> <div class="horizontal-fieldset" id="CalendarAjaxCalendarController_choose-date">
<div id="CalendarAjaxCalendarController_month_field" class="form-element"> <div id="CalendarAjaxCalendarController_month_field" class="form-element">
<div class="form-field"> <div class="form-field">
<label for="CalendarAjaxCalendarController_month" class="sr-only">{@month}</label>
<select name="CalendarAjaxCalendarController_month" id="CalendarAjaxCalendarController_month" onchange="ChangeMonth(jQuery('#CalendarAjaxCalendarController_year').val(), jQuery('#CalendarAjaxCalendarController_month').val());"> <select name="CalendarAjaxCalendarController_month" id="CalendarAjaxCalendarController_month" onchange="ChangeMonth(jQuery('#CalendarAjaxCalendarController_year').val(), jQuery('#CalendarAjaxCalendarController_month').val());">
# START months # # START months #
<option value="{months.VALUE}"# IF months.SELECTED # selected="selected"# ENDIF #>{months.NAME}</option> <option value="{months.VALUE}"# IF months.SELECTED # selected="selected"# ENDIF #>{months.NAME}</option>
# END months # # END months #
</select> </select>
</div> </div>
</div> </div>
<div id="CalendarAjaxCalendarController_year_field" class="form-element"> <div id="CalendarAjaxCalendarController_year_field" class="form-element">
<div class="form-field"> <div class="form-field">
<label for="CalendarAjaxCalendarController_year" class="sr-only">{@year}</label>
<select name="CalendarAjaxCalendarController_year" id="CalendarAjaxCalendarController_year" onchange="ChangeMonth(jQuery('#CalendarAjaxCalendarController_year').val(), jQuery('#CalendarAjaxCalendarController_month').val());"> <select name="CalendarAjaxCalendarController_year" id="CalendarAjaxCalendarController_year" onchange="ChangeMonth(jQuery('#CalendarAjaxCalendarController_year').val(), jQuery('#CalendarAjaxCalendarController_month').val());">
# START years # # START years #
<option value="{years.VALUE}"# IF years.SELECTED # selected="selected"# ENDIF #>{years.NAME}</option> <option value="{years.VALUE}"# IF years.SELECTED # selected="selected"# ENDIF #>{years.NAME}</option>
# END years # # END years #
</select> </select>
</div> </div>
</div> </div>
</div> </div>
</form> </form>
</div> </div>
<div class="calendar-container"> <div class="calendar-container">
<div class="calendar-top-container"> <div class="calendar-top-container">
<div class="calendar-top-l"> <div class="calendar-top-l">
<a onclick="ChangeMonth(${escapejs(PREVIOUS_YEAR)}, ${escapejs(PREVIOUS_MONTH)});" title="{PREVIOUS_MONTH_TITLE}"><i class="fa fa-angle-double-left"></i></a> <a onclick="ChangeMonth(${escapejs(PREVIOUS_YEAR)}, ${escapejs(PREVIOUS_MONTH)});" aria-label="{PREVIOUS_MONTH_TITLE}"><i class="fa fa-angle-double-left" aria-hidden="true" title="{PREVIOUS_MONTH_TITLE}"></i></a>
</div> </div>
<div class="calendar-top-r"> <div class="calendar-top-r">
<a onclick="ChangeMonth(${escapejs(NEXT_YEAR)}, ${escapejs(NEXT_MONTH)});" title="{NEXT_MONTH_TITLE}"><i class="fa fa-angle-double-right"></i></a> <a onclick="ChangeMonth(${escapejs(NEXT_YEAR)}, ${escapejs(NEXT_MONTH)});" aria-label="{NEXT_MONTH_TITLE}"><i class="fa fa-angle-double-right" aria-hidden="true" title="{NEXT_MONTH_TITLE}"></i></a>
</div> </div>
<div class="calendar-top-content"> <div class="calendar-top-content">
<h5>{DATE}</h5> <h5>{DATE}</h5>
</div> </div>
</div> </div>
<div class="calendar-content"> <div class="calendar-content">
<table class="# IF C_MINI_MODULE #mini # ENDIF #calendar-table"> <table class="# IF C_MINI_MODULE #mini # ENDIF #calendar-table">
<thead> <thead>
<tr> <tr>
<th></th> <th class="sr-only">{@week_mini}</th>
<th class="text-strong">{@monday_mini}</th> <th class="text-strong">{@monday_mini}</th>
<th class="text-strong">{@tuesday_mini}</th> <th class="text-strong">{@tuesday_mini}</th>
<th class="text-strong">{@wednesday_mini}</th> <th class="text-strong">{@wednesday_mini}</th>
<th class="text-strong">{@thursday_mini}</th> <th class="text-strong">{@thursday_mini}</th>
<th class="text-strong">{@friday_mini}</th> <th class="text-strong">{@friday_mini}</th>
<th class="text-strong">{@saturday_mini}</th> <th class="text-strong">{@saturday_mini}</th>
<th class="text-strong">{@sunday_mini}</th> <th class="text-strong">{@sunday_mini}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
# START day # # START day #
<td class="{day.CLASS}"# IF day.C_COLOR # style="background-color:{day.COLOR}"# ENDIF #> <td class="{day.CLASS}"# IF day.C_COLOR # style="background-color:{day.COLOR}"# ENDIF #>
# IF day.C_MONTH_DAY #<a title="{day.TITLE}" href="{day.U_DAY_EVENTS}">{day.DAY}</a># ENDIF # # IF day.C_MONTH_DAY #<a title="{day.TITLE}" href="{day.U_DAY_EVENTS}">{day.DAY}</a># ENDIF #
# IF day.C_WEEK_LABEL #{day.DAY}# ENDIF # # IF day.C_WEEK_LABEL #{day.DAY}# ENDIF #
</td> </td>
# IF day.CHANGE_LINE # # IF day.CHANGE_LINE #
</tr> </tr>
<tr> <tr>
# ENDIF # # ENDIF #
# END day # # END day #
</tr> </tr>
# IF C_DISPLAY_LEGEND # # IF C_DISPLAY_LEGEND #
<tr> <tr>
<td colspan="8" class="legend-line"># INCLUDE LEGEND #</td> <td colspan="8" class="legend-line"># INCLUDE LEGEND #</td>
</tr> </tr>
# ENDIF # # ENDIF #
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
Editor
Original Text
Changed Text