View | Details | Raw Unified | Return to bug 20988
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/i18n.inc (+66 lines)
Lines 37-39 Link Here
37
    I18N.tnpx(msgctxt, msgid, msgid_plural, count, vars);
37
    I18N.tnpx(msgctxt, msgid, msgid_plural, count, vars);
38
  END;
38
  END;
39
%]
39
%]
40
41
[%
42
  MACRO html(s) BLOCK;
43
    FILTER html;
44
      s;
45
    END;
46
  END;
47
48
  MACRO html_entity(s) BLOCK;
49
    FILTER html_entity;
50
      s;
51
    END;
52
  END;
53
54
  MACRO html_line_break(s) BLOCK;
55
    FILTER html_line_break;
56
      s;
57
    END;
58
  END;
59
60
  MACRO url(s) BLOCK;
61
    FILTER url;
62
      s;
63
    END;
64
  END;
65
66
  MACRO collapse(s) BLOCK;
67
    FILTER collapse;
68
      s;
69
    END;
70
  END;
71
72
  MACRO format(s, fmt) BLOCK;
73
    FILTER format(fmt);
74
      s;
75
    END;
76
  END;
77
78
  MACRO HtmlTags(s) BLOCK;
79
    USE HtmlTags;
80
    FILTER $HtmlTags tag=tag attributes=attributes;
81
      s;
82
    END;
83
  END;
84
85
  MACRO Price(s) BLOCK;
86
    USE Price;
87
    FILTER $Price;
88
      s;
89
    END;
90
  END;
91
92
  MACRO KohaDates(s) BLOCK;
93
    USE KohaDates;
94
    FILTER $KohaDates with_hours=with_hours as_due_date=as_due_date;
95
      s;
96
    END;
97
  END;
98
99
  MACRO KohaSpan(s) BLOCK;
100
    USE KohaSpan;
101
    FILTER $KohaSpan class=class;
102
      s;
103
    END;
104
  END;
105
%]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/i18n.inc (-1 / +66 lines)
Lines 37-39 Link Here
37
    I18N.tnpx(msgctxt, msgid, msgid_plural, count, vars);
37
    I18N.tnpx(msgctxt, msgid, msgid_plural, count, vars);
38
  END;
38
  END;
39
%]
39
%]
40
- 
40
41
[%
42
  MACRO html(s) BLOCK;
43
    FILTER html;
44
      s;
45
    END;
46
  END;
47
48
  MACRO html_entity(s) BLOCK;
49
    FILTER html_entity;
50
      s;
51
    END;
52
  END;
53
54
  MACRO html_line_break(s) BLOCK;
55
    FILTER html_line_break;
56
      s;
57
    END;
58
  END;
59
60
  MACRO url(s) BLOCK;
61
    FILTER url;
62
      s;
63
    END;
64
  END;
65
66
  MACRO collapse(s) BLOCK;
67
    FILTER collapse;
68
      s;
69
    END;
70
  END;
71
72
  MACRO format(s, fmt) BLOCK;
73
    FILTER format(fmt);
74
      s;
75
    END;
76
  END;
77
78
  MACRO HtmlTags(s) BLOCK;
79
    USE HtmlTags;
80
    FILTER $HtmlTags tag=tag attributes=attributes;
81
      s;
82
    END;
83
  END;
84
85
  MACRO Price(s) BLOCK;
86
    USE Price;
87
    FILTER $Price;
88
      s;
89
    END;
90
  END;
91
92
  MACRO KohaDates(s) BLOCK;
93
    USE KohaDates;
94
    FILTER $KohaDates with_hours=with_hours as_due_date=as_due_date;
95
      s;
96
    END;
97
  END;
98
99
  MACRO KohaSpan(s) BLOCK;
100
    USE KohaSpan;
101
    FILTER $KohaSpan class=class;
102
      s;
103
    END;
104
  END;
105
%]

Return to bug 20988