Commit 1f6ed9be authored by jocuri%softhome.net's avatar jocuri%softhome.net

Patch for bug 256567: Harmonize descriptions of classifications and products in…

Patch for bug 256567: Harmonize descriptions of classifications and products in terms of 'FILTER html'; patch by Marc Schumann <wurblzap@gmail.com>; r=justdave, kiko, a=justdave.
parent 74d1dd74
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<td valign="top">Description:</td> <td valign="top">Description:</td>
<td valign="top"> <td valign="top">
[% IF description %] [% IF description %]
[% description FILTER html %] [% description %]
[% ELSE %] [% ELSE %]
<font color="red">description missing</font> <font color="red">description missing</font>
[% END %] [% END %]
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</tr> </tr>
<tr> <tr>
<th align="right">Description:</th> <th align="right">Description:</th>
<td><textarea rows=4 cols=64 name="description">[% description FILTER html %]</textarea></TD> <td><textarea rows=4 cols=64 name="description">[% description %]</textarea></TD>
</tr> </tr>
<tr valign=top> <tr valign=top>
<th align="right"><a href="editproducts.cgi?classification=[% classification FILTER html %]">Edit products</a></th> <th align="right"><a href="editproducts.cgi?classification=[% classification FILTER html %]">Edit products</a></th>
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<td valign="top">Description:</td> <td valign="top">Description:</td>
<td valign="top" colspan=3> <td valign="top" colspan=3>
[% IF description %] [% IF description %]
[% description FILTER html %] [% description %]
[% ELSE %] [% ELSE %]
<font color="red">description missing</font> <font color="red">description missing</font>
[% END %] [% END %]
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<td valign="top"><a href="editclassifications.cgi?action=edit&amp;classification=[% cl.classification FILTER html %]"><b>[% cl.classification FILTER html %]</b></a></td> <td valign="top"><a href="editclassifications.cgi?action=edit&amp;classification=[% cl.classification FILTER html %]"><b>[% cl.classification FILTER html %]</b></a></td>
<td valign="top"> <td valign="top">
[% IF cl.description %] [% IF cl.description %]
[% cl.description FILTER html %] [% cl.description %]
[% ELSE %] [% ELSE %]
<font color="red">none</font> <font color="red">none</font>
[% END %] [% END %]
......
...@@ -252,6 +252,10 @@ ...@@ -252,6 +252,10 @@
'VERSION', 'VERSION',
], ],
'global/choose-classification.html.tmpl' => [
'classdesc.$p',
],
'global/choose-product.html.tmpl' => [ 'global/choose-product.html.tmpl' => [
'target', 'target',
'proddesc.$p', 'proddesc.$p',
...@@ -495,6 +499,22 @@ ...@@ -495,6 +499,22 @@
'c.content' 'c.content'
], ],
'admin/classifications/del.html.tmpl' => [
'description',
],
'admin/classifications/edit.html.tmpl' => [
'description',
],
'admin/classifications/reclassify.html.tmpl' => [
'description',
],
'admin/classifications/select.html.tmpl' => [
'cl.description',
],
'admin/products/groupcontrol/confirm-edit.html.tmpl' => [ 'admin/products/groupcontrol/confirm-edit.html.tmpl' => [
'group.count', 'group.count',
], ],
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</th> </th>
[% IF classdesc.$p %] [% IF classdesc.$p %]
<td valign="top">&nbsp;[% classdesc.$p FILTER html %]</td> <td valign="top">&nbsp;[% classdesc.$p %]</td>
[% END %] [% END %]
</tr> </tr>
[% END %] [% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment