From 3a57561becb59a60f8667448131f8fe241944750 Mon Sep 17 00:00:00 2001 From: flyskyko Date: Wed, 31 Oct 2012 02:08:32 +0000 Subject: [PATCH] UI refactoring module skin config git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11979 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/module/tpl/include.multilang.html | 24 +- .../tpl/include.multilang.textarea.html | 27 +- modules/module/tpl/skin_config.html | 232 +++++++++--------- 3 files changed, 118 insertions(+), 165 deletions(-) diff --git a/modules/module/tpl/include.multilang.html b/modules/module/tpl/include.multilang.html index 540a8ee44..8a86cbfd5 100644 --- a/modules/module/tpl/include.multilang.html +++ b/modules/module/tpl/include.multilang.html @@ -1,23 +1 @@ - -
-
    -
    -

    {$lang->multilingual} {$lang->cmd_modify}... | {$lang->cmd_insert}

    -
      - {@ - /* move current language to the top */ - $a = array($lang_type=>$lang_supported[$lang_type]); - unset($lang_supported[$lang_type]); - $lang_supported = array_merge($a, $lang_supported); - } -
    • -
    - -
    -
    -
    + diff --git a/modules/module/tpl/include.multilang.textarea.html b/modules/module/tpl/include.multilang.textarea.html index 5c702be3b..02959f507 100644 --- a/modules/module/tpl/include.multilang.textarea.html +++ b/modules/module/tpl/include.multilang.textarea.html @@ -1,27 +1,2 @@ - - + -
    -
      -
      -

      {$lang->multilingual} {$lang->cmd_modify}... | {$lang->cmd_insert}

      -
        - {@ - /* move current language to the top */ - $a = array($lang_type=>$lang_supported[$lang_type]); - unset($lang_supported[$lang_type]); - $lang_supported = array_merge($a, $lang_supported); - } -
      • -
      - -
      -
      -
      diff --git a/modules/module/tpl/skin_config.html b/modules/module/tpl/skin_config.html index 41ae42db8..9b0f6f22e 100644 --- a/modules/module/tpl/skin_config.html +++ b/modules/module/tpl/skin_config.html @@ -1,9 +1,8 @@ -
      +

      {$XE_VALIDATOR_MESSAGE}

      -
      -
      + @@ -11,128 +10,129 @@ -

      {$lang->skin_default_info}

      -
      - -
      - {$skin_info->title} -
      -
      -
      - -
      - - {$author->name} - - ({$author->homepage} - , - {$author->email_address}) -
      -
      -
      -
      -
      - - -
      -
      - -
      {zdate($skin_info->date, 'Y-m-d')} -
      -
      -
      - -
      - {nl2br(trim($skin_info->license))} -

      {$skin_info->license_link}

      -
      -
      -
      - -
      {nl2br(trim($skin_info->description))} -
      -
      -

      {$lang->extra_vars}

      -
      - -
      - - - {@ $_img_info = getImageSize($val->screenshot); $_height = $_img_info[1]+40; $_width = $_img_info[0]+20; $_talign = "center"; } - - {@ $_width = 200; $_height = 20; $_talign = "left"; } - -
      - - -
      - {$val->title} -
      -
      -
      -
      -
      - - - {@$group = $val->group} -

      {$group}

      -
      +
      +

      {$lang->skin_default_info}

      -
      - -
      - {@$use_multilang = true} - -
      -
      - {@$use_multilang_textarea = true} - -
      -
      - -
      -
      - -
      -
      - -
      -
      -
      -
      - +
      + +
      + {$skin_info->title}
      -
      -
      - {nl2br(trim($val->description))} +
      + +
      + + {$author->name} + + ({$author->homepage} + , + {$author->email_address}) +
      +
      +
      -
      +
      + + +
      +
      + +
      {zdate($skin_info->date, 'Y-m-d')} +
      +
      +
      + +
      + {nl2br(trim($skin_info->license))} +

      {$skin_info->license_link}

      +
      +
      +
      + +
      {nl2br(trim($skin_info->description))} +
      +
      +
      + +
      +

      {$lang->extra_vars}

      +
      + +
      + + + {@ $_img_info = getImageSize($val->screenshot); $_height = $_img_info[1]+40; $_width = $_img_info[0]+20; $_talign = "center"; } + + {@ $_width = 200; $_height = 20; $_talign = "left"; } + +
      + + +
      + {$val->title} +
      +
      +
      +
      +
      + + + {@$group = $val->group} +
      +
      +

      {$group}

      + + +
      + +
      + + + + + + + + + + + + + + + + + +
      +
      + +
      + +
      + {nl2br(trim($val->description))} +
      +
      +
      +
      -
      - - -