1 |
3 |
ahitrov@rambler.ru |
% if ($prop->{support_images}) { |
2 |
|
|
<& /contenido/components/images_selector.msn, object => $object, name => $name, attrs => $prop->{support_images} &> |
3 |
|
|
% } |
4 |
|
|
|
5 |
|
|
<script type="text/javascript"> |
6 |
|
|
<!-- |
7 |
|
|
WYSIWYGControls[WYSIWYGControls.length] = '<% $name %>'; |
8 |
|
|
//--> |
9 |
|
|
</script> |
10 |
|
|
|
11 |
|
|
<textarea id="<% $name %>" class="tinymce" \ |
12 |
|
|
% if ($request->{images_staff_printed}) { |
13 |
|
|
onclick="storeCaret(this)" onkeyup="storeCaret(this)" onselect="storeCaret(this)" \ |
14 |
|
|
% } |
15 |
219 |
ahitrov |
<% $prop->{readonly} ? 'readonly ' : '' %> name="<% $name %>" rows="<% $prop->{rows} || 8 %>" cols="<% $prop->{cols} || 8 %>" style="width: 95%;"><& /inc/text_format.msn, text => $check &></textarea> |
16 |
3 |
ahitrov@rambler.ru |
|
17 |
|
|
<%args> |
18 |
|
|
$name => undef |
19 |
|
|
$check => undef |
20 |
|
|
$prop => {} |
21 |
|
|
$object => undef |
22 |
|
|
</%args> |
23 |
|
|
<%init> |
24 |
|
|
</%init> |