<?php /* Smarty version Smarty-3.0.4, created on 2015-05-29 14:01:27
         compiled from "/var/www/www/project-template.wi6.ru/manager/templates/default/element/tv/renders/input/richtext.tpl" */ ?>
<?php /*%%SmartyHeaderCode:207103567355684707d71940-87869844%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '83d0017a3723403878f9917e79a676f858f4fdf1' => 
    array (
      0 => '/var/www/www/project-template.wi6.ru/manager/templates/default/element/tv/renders/input/richtext.tpl',
      1 => 1422529912,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '207103567355684707d71940-87869844',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_escape')) include '/var/www/www/project-template.wi6.ru/core/model/smarty/plugins/modifier.escape.php';
?><textarea id="tv<?php echo $_smarty_tpl->getVariable('tv')->value->id;?>
" name="tv<?php echo $_smarty_tpl->getVariable('tv')->value->id;?>
" class="modx-richtext" onchange="MODx.fireResourceFormChange();"><?php echo smarty_modifier_escape($_smarty_tpl->getVariable('tv')->value->get('value'));?>
</textarea>

<script type="text/javascript">

Ext.onReady(function() {
    
    MODx.makeDroppable(Ext.get('tv<?php echo $_smarty_tpl->getVariable('tv')->value->id;?>
'));
    
});
</script>