From 03554f38ab5d1213794d46784c368a12d96b82a4 Mon Sep 17 00:00:00 2001 From: flyskyko Date: Thu, 27 Sep 2012 02:28:37 +0000 Subject: [PATCH] Issue 2376: Admin UI Refactoring - Settings - File Upload git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11538 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/file/lang/lang.xml | 2 +- modules/file/tpl/adminConfig.html | 96 ++++++++++++++++++------------- modules/file/tpl/js/fileConfig.js | 9 --- 3 files changed, 56 insertions(+), 51 deletions(-) delete mode 100644 modules/file/tpl/js/fileConfig.js diff --git a/modules/file/lang/lang.xml b/modules/file/lang/lang.xml index 664798cc6..8f3c6ec0a 100644 --- a/modules/file/lang/lang.xml +++ b/modules/file/lang/lang.xml @@ -99,7 +99,7 @@ - + diff --git a/modules/file/tpl/adminConfig.html b/modules/file/tpl/adminConfig.html index f1e07ac0a..b795cc89b 100644 --- a/modules/file/tpl/adminConfig.html +++ b/modules/file/tpl/adminConfig.html @@ -1,46 +1,60 @@ - -
+
+

File Upload

+
+ +

{$XE_VALIDATOR_MESSAGE}

-
+ + -

File Upload

-
    -
  • -

    -

    - - -

    -
  • - - -
  • -

    -

    MB

    -
  • -
  • -

    -

    MB

    -
  • -
  • -

    -

    -

    {$lang->about_allowed_filetypes}

    -
  • -
-
- +
+ +
+ + + {$lang->about_allow_outlink} +
- \ No newline at end of file +
+ +
+ + {$lang->about_allow_outlink_format} +
+
+
+ +
+ + {$lang->about_allow_outlink_site} +
+
+
+ +
+ MB / {ini_get('upload_max_filesize')} + {$lang->about_allowed_filesize} +
+
+
+ +
+ MB + {$lang->about_allowed_attach_size} +
+
+
+ +
+ + {$lang->about_allowed_filetypes} +
+
+
+
+ +
+
+ diff --git a/modules/file/tpl/js/fileConfig.js b/modules/file/tpl/js/fileConfig.js deleted file mode 100644 index 950c671e8..000000000 --- a/modules/file/tpl/js/fileConfig.js +++ /dev/null @@ -1,9 +0,0 @@ -(function($){ - $('input[name=allow_outlink]').click(function(){ - if($(this).val() == 'Y'){ - $('._outLink').show(); - }else{ - $('._outLink').hide(); - } - }); - }(jQuery))