Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 38e2876f

Von Sven Schöling vor etwa 9 Jahren hinzugefügt

Layout: Javascript includes richtig escapen.

Unterschiede anzeigen:

templates/webpages/layout/javascript_setup.js
1 1
[%- USE T8 %]
2
[%- USE JSON %]
2 3
$(function() {
3 4
[% IF datefmt %]
4
  setupPoints('[% MYCONFIG.numberformat %]', '[% 'wrongformat' | $T8 %]');
5
  setupDateFormat('[% MYCONFIG.dateformat %]', '[% 'Falsches Datumsformat!' | $T8 %]');
5
  setupPoints([% JSON.json(MYCONFIG.numberformat) %], '[% 'wrongformat' | $T8 %]');
6
  setupDateFormat([% JSON.json(MYCONFIG.dateformat) %], '[% 'Falsches Datumsformat!' | $T8 %]');
6 7

  
7 8
  $.datepicker.setDefaults(
8 9
    $.extend({}, $.datepicker.regional["[% MYCONFIG.countrycode %]"], {

Auch abrufbar als: Unified diff