Revision 3 (by ahitrov@rambler.ru, 2010/03/24 15:19:32) |
The CORE
|
% if ($prop->{support_images}) {
<& /contenido/components/images_selector.msn, object => $object, name => $name, attrs => $prop->{support_images} &>
% }
<script type="text/javascript">
<!--
WYSIWYGControls[WYSIWYGControls.length] = '<% $name %>';
//-->
</script>
<textarea id="<% $name %>" class="tinymce" \
% if ($request->{images_staff_printed}) {
onclick="storeCaret(this)" onkeyup="storeCaret(this)" onselect="storeCaret(this)" \
% }
<% $prop->{readonly} ? 'readonly ' : '' %> name="<% $name %>" rows="<% $prop->{rows} || 8 %>" cols="<% $prop->{cols} || 8 %>" style="width: 95%;"><% $check %></textarea>
<%args>
$name => undef
$check => undef
$prop => {}
$object => undef
</%args>
<%init>
$check = html_escape($check) unless $prop->{no_escape};
</%init>