return $iconv_loc->convert(chr(hex($t)));
}
$tmpl =~ s/%u([a-fA-F0-9]{4})/_conv_js($1)/gex;
+ $tmpl =~ s/[\n\r]+$//s;
my $tmpl_file = $out->{'include_path'} . '/' . $template;
write_file($tmpl_file . '.new', $tmpl) || die "can't save $tmpl_file: $!";
<action type='html' target='div_template' errorCode='' errorMessage='' >
<pre>}, Dumper($q->Vars), qq{</pre>
-<form name="frmEditor" action="$self" method="post"
-iwfTarget="div_status"
->
+<form name="frmEditor" action="$self" method="post" iwfTarget="div_status" >
<textarea name="tt_template" cols="80" rows="10" style="display: block;">
$tmpl
<br/>
<input type="button" name="save_template" value="Save" onclick="javascript:iwfRequest(this);" />
-<input type="checkbox" name="checkin_template" id="checkin_checkbox" label="checkin" />
-<span id="div_status" style="color: #808080;">idle</span>
+<!--
+<input type="checkbox" name="checkin_template" id="checkin_checkbox" label="checkin" /> checkin
+-->
+ <span id="div_status" style="color: #808080;">idle</span>
<input type='hidden' value='hidden post value' name='hidValue' />
</form>
</action>
+<action type='js'>
+<!--
+iwfHideGentlyDelay('div_status', 2, 2000, 1);
+-->
+</action>
</response>
};