From 204db2c4bec813b6e712f5a5c5aa3e2c88aa6508 Mon Sep 17 00:00:00 2001 From: devjin Date: Tue, 6 Sep 2011 06:05:42 +0000 Subject: [PATCH] init fileupload git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9047 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/file/conf/module.xml | 2 +- modules/file/file.admin.view.php | 2 +- modules/file/lang/lang.xml | 4 +-- modules/file/tpl/adminConfig.html | 47 +++++++++++++++++++++++++++++++ 4 files changed, 51 insertions(+), 4 deletions(-) create mode 100644 modules/file/tpl/adminConfig.html diff --git a/modules/file/conf/module.xml b/modules/file/conf/module.xml index a843c943d..dce90e68f 100644 --- a/modules/file/conf/module.xml +++ b/modules/file/conf/module.xml @@ -4,7 +4,7 @@ - + diff --git a/modules/file/file.admin.view.php b/modules/file/file.admin.view.php index 3f9e85638..5f7e673f7 100644 --- a/modules/file/file.admin.view.php +++ b/modules/file/file.admin.view.php @@ -177,7 +177,7 @@ Context::set('config',$config); // Set a template file $this->setTemplatePath($this->module_path.'tpl'); - $this->setTemplateFile('file_config'); + $this->setTemplateFile('adminConfig'); } } diff --git a/modules/file/lang/lang.xml b/modules/file/lang/lang.xml index 75d8b3183..6a56aa9d5 100644 --- a/modules/file/lang/lang.xml +++ b/modules/file/lang/lang.xml @@ -99,7 +99,7 @@ - + @@ -508,4 +508,4 @@ - \ No newline at end of file + diff --git a/modules/file/tpl/adminConfig.html b/modules/file/tpl/adminConfig.html new file mode 100644 index 000000000..954422fc5 --- /dev/null +++ b/modules/file/tpl/adminConfig.html @@ -0,0 +1,47 @@ +
+

{$XE_VALIDATOR_MESSAGE}

+
+
+
+ +

File Upload

+
    +
  • +

    {$lang->allow_outlink}

    +

    + + +

    +
  • +
  • +

    {$lang->allow_outlink_format}

    +

    + +

    {$lang->about_allow_outlink_format}

    +

    +
  • +
  • +

    {$lang->allow_outlink_site}

    +

    + +

    {$lang->about_allow_outlink_site}

    +

    +
  • +
  • +

    +

    MB

    +
  • +
  • +

    +

    MB

    +
  • +
  • +

    +

    +
  • +
+
+ +
+
+