From: <sy...@us...> - 2008-06-20 12:13:41
|
Revision: 13303 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=13303&view=rev Author: sylvieg Date: 2008-06-20 05:13:50 -0700 (Fri, 20 Jun 2008) Log Message: ----------- [FIX]tracker: javascript must not be stipped: smarty does not seem to complain - if it complains the javascript must go in an include that is not strip as strip is parsed at a file level Modified Paths: -------------- branches/1.10/templates/tracker_item_field_input.tpl Modified: branches/1.10/templates/tracker_item_field_input.tpl =================================================================== --- branches/1.10/templates/tracker_item_field_input.tpl 2008-06-19 21:49:50 UTC (rev 13302) +++ branches/1.10/templates/tracker_item_field_input.tpl 2008-06-20 12:13:50 UTC (rev 13303) @@ -73,9 +73,11 @@ {elseif $field_value.type eq 'e'} {if !empty($field_value.options_array[2]) && ($field_value.options_array[2] eq '1' or $field_value.options_array[2] eq 'y')} <script type="text/javascript"> +{/strip} <!--//--><![CDATA[//><!-- - document.write('<div class="categSelectAll"><input type="checkbox" id="clickall" onclick="switchCheckboxes(this.form,\'ins_cat_{$field_value.fieldId}[]\',this.checked)"/>{tr}Select All{/tr}</div>'); + document.write('<div class="categSelectAll"><input type="checkbox" id="clickall" onclick="switchCheckboxes(this.form,\'{$field_value.ins_id}[]\',this.checked)"/>{tr}Select All{/tr}</div>'); //--><!]]> +{strip} </script> {/if} {if $field_value.options_array[1] eq 'd' || $field_value.options_array[1] eq 'm'} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |