[Koha-patches] [PATCH] Fix for Bug 5722, other reason for suggestions has code in text box

Owen Leonard oleonard at myacpl.org
Wed Feb 9 15:35:09 CET 2011


Input value attributes shouldn't have _() escaping.
---
 .../prog/en/modules/suggestion/suggestion.tmpl     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tmpl
index d1f32ce..0b4e351 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tmpl
@@ -270,7 +270,7 @@ h4.collapse a { font-size : 80%; text-decoration: none; } fieldset.brief ol { di
                         <!--/TMPL_LOOP-->
                     <option value="other">Others...</option>
                     </select>   <span id="other_reason<!-- TMPL_VAR NAME="suggestiontype" -->">
-            <input type="text" size="31" id="select-other_reason<!-- TMPL_VAR NAME="suggestiontype" -->" name="other_reason<!-- TMPL_VAR NAME="suggestiontype" -->" value=_("please note your reason here...") /> <a href="#back<!-- TMPL_VAR NAME="suggestiontype" -->">Cancel</a>
+            <input type="text" size="31" id="select-other_reason<!-- TMPL_VAR NAME="suggestiontype" -->" name="other_reason<!-- TMPL_VAR NAME="suggestiontype" -->" value="please note your reason here..." /> <a href="#back<!-- TMPL_VAR NAME="suggestiontype" -->">Cancel</a>
         </span> <strong style="padding: 0 1em;">OR:</strong> <label for="<!-- TMPL_VAR NAME="suggestiontype" -->delete">Delete selected</label> <input type="checkbox" name="op" id="<!-- TMPL_VAR NAME="suggestiontype" -->delete" />
         </div>
         </div>
-- 
1.7.3



More information about the Koha-patches mailing list