{@ include_once('./modules/file/file.class.php'); include_once('./modules/file/file.controller.php'); $oFileController = &getController('file'); $editor_sequence = '1'; $upload_target_srl = $document_srl; $oFileController->setUploadInfo($editor_sequence, $upload_target_srl); $_SESSION['upload_info'][$editor_sequence]->enabled = true; $_SESSION['upload_info'][$editor_sequence]->upload_target_srl = $upload_target_srl; Context::loadLang('./modules/editor/lang'); // File config $oFileModel = getModel('file'); $file_config = $oFileModel->getUploadConfig(); // Editor Config $oDocument->getEditor()->option; }

### ※ {$lang->m_editor_notice}.

| {$lang->title}

* : {$lang->is_required}
* {$val->name} | {$val->getFormHTML()}

{$lang->edit->upload_file}

{@ $ext = substr($file->source_filename, -4); $ext = strtolower($ext); $type = 'etc'; if(in_array($ext,array('.jpg','jpeg','.gif','.png'))) $type = 'img'; if(in_array($ext,array('.mp3','.wav','.ogg','.aac'))) $type = 'music'; if(in_array($ext,array('webm','.mp4','.ogv','.avi','.mov','.mkv'))) $type = 'media'; }
- X
- {$file->source_filename}
  X
- {$lang->no_files}

  ✔{$lang->select_files_to_insert}

  {$lang->m_img_upoad_1} {$lang->m_img_upoad_2}

{$lang->tag} : {$lang->about_tag}
{$lang->writer} {$lang->password} {$lang->email_address} {$lang->homepage}
{$lang->notice}
{$lang->allow_comment} {$lang->allow_trackback}
{$lang->notify}
{$value}

※ {$lang->sns_wrt}.