converted weeknumber smarty plugin to functional one. formating is done the template with date_format filter.
remove commented lines