{literal}
<SCRIPT LANGUAGE="JavaScript"
SRC="../calendar/weeklycalendar.js">
</script>
<script>
// call the function to build the calendar
// function's param specify the first day of week
// 0=Sunday, 1 = Monday, ..., 6=Saturday
alert("before");
buildWeeklyCalendar(1);
alert("afetr");
</script>
{/literal}
этот скрипт отлично работает на сервере, но когда я использую его в шаблоне smarty, он не работает.
Может кто-нибудь объяснить.
Спасибо