{@ if(@in_array(write_content_hide_file,$mi->write_title_content)) Context::set('allow_fileupload','1'); if(@in_array(write_content_hide,$mi->write_title_content)) Context::set('editor_height','0'); } {@ if((!$grant->manager || ($grant->manager && $ckeditor_grant_simple)) && preg_match('/simple/',$colorset)) $dsori_simple_editor='Y'; else $dsori_simple_editor=''; $ckeditor_css_path='./files/cache/editor/dsori_ckeditor/'; if(!is_dir($ckeditor_css_path)) FileHandler::makeDir($ckeditor_css_path); $ckeditor_css_filename=$ckeditor_css_path.'content.css'; $ckeditor_css_content .= '@import url("'.getUrl().'modules/editor/styles/'.Context::get('content_style').'/'.$ckeditor_editor_style_css_file.'") all;'; $ckeditor_css_content .='body{min-height:'.($editor_height-55).'px;'; if($content_font) $ckeditor_css_content .= 'font-family: '.$content_font.';'; if($content_font_size) $ckeditor_css_content .= 'font-size: '.$content_font_size.';'; $ckeditor_css_content .= chr(125); file_put_contents($ckeditor_css_filename, $ckeditor_css_content); }
← 원하는 위치에 삽입됩니다.
{$upload_status}
{@clearstatcache();}