" /></td>
      </tr>
      
      <tr>
        <th class="paddingT15"> Content:</th>
        <td class="paddingT15 wordSpacing5"><textarea style="width:550px;height:100px;" name="data[adminnote][content]" id="AdminnoteContent"><?php 
echo $this->_tpl_vars['item']['content'];
?>
</textarea></td>
      </tr>
      
      <tr>
        <th></th>
        <td class="ptb20">
			<input class="formbtn" type="submit" name="save" value="<?php 
echo $this->_tpl_vars['_save'];
?>
" />		</td>
      </tr>
    </table>
  </form>
</div>
<?php 
echo smarty_function_editor(array('type' => 'ckeditor', 'element' => 'AdminnoteContent', 'toolbar' => 'Full'), $this);
?>

<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
            <td class="ptb20"> 
                <input class="formbtn" type="submit" name="saveregister" value="<?php 
echo $this->_tpl_vars['_submit'];
?>
" /> 
                <input class="formbtn" type="reset" name="reset" value="<?php 
echo $this->_tpl_vars['_reset'];
?>
" /> 
            </td> 
        </tr> 
        </table> 
    </form> 
</div> 
<?php 
echo smarty_function_editor(array('type' => 'tiny_mce', 'mode' => 'specific_textareas'), $this);
?>

<script>
var register_type = "<?php 
echo is_array($_tmp = @$this->_tpl_vars['item']['REGISTER_TYPE']) ? $this->_run_mod_handler('default', true, $_tmp, 'open_common_reg') : smarty_modifier_default($_tmp, 'open_common_reg');
?>
";
var welcome_msg = "<?php 
echo is_array($_tmp = @$this->_tpl_vars['item']['WELCOME_MSG']) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0);
?>
";
jQuery(document).ready(function($) {
	if(register_type=="close_register"){
		$("#close_register").attr("checked","checked");
	}else if(register_type=="open_common_reg"){
Esempio n. 3
0
 /**	*/
 public function printTextArea()
 {
     global $ari;
     $class = $this->class;
     require_once $ari->t->_get_plugin_filepath('function', 'editor');
     $attributesText = array('InstanceName' => $this->name, 'Width' => $this->cols, 'Height' => $this->rows, 'simple' => $this->simple, 'Value' => $this->value);
     return smarty_function_editor($attributesText, $ari->t);
     //		return "<textarea class='$class' name='$this->name' id='$this->id' cols='$this->cols' rows='$this->rows' wrap='$this->wrap' $this->readonly $this->disabled>$this->value</textarea>";
 }
echo is_array($_tmp = @$this->_tpl_vars['item']['area_id3']) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0);
?>
 ;
var industry_id1 = <?php 
echo is_array($_tmp = @$this->_tpl_vars['item']['industry_id1']) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0);
?>
 ;
var industry_id2 = <?php 
echo is_array($_tmp = @$this->_tpl_vars['item']['industry_id2']) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0);
?>
 ;
var industry_id3 = <?php 
echo is_array($_tmp = @$this->_tpl_vars['item']['industry_id3']) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0);
?>
 ;
</script>
<script src="../scripts/multi_select.js" charset="<?php 
echo $this->_tpl_vars['Charset'];
?>
"></script>
<script src="../scripts/script_area.js"></script>
<script src="../scripts/script_industry.js"></script>
<?php 
echo smarty_function_editor(array('type' => 'tiny_mce'), $this);
?>

<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);