diff --git a/admin-dev/themes/default/template/controllers/modules/favorites.tpl b/admin-dev/themes/default/template/controllers/modules/favorites.tpl index 13efe0e73..66edfdf48 100755 --- a/admin-dev/themes/default/template/controllers/modules/favorites.tpl +++ b/admin-dev/themes/default/template/controllers/modules/favorites.tpl @@ -1,33 +1,42 @@
{include file='controllers/modules/header.tpl'} - +
+ +
 
+
-
- -
- - - - - - - - - - - +
+
+ + + + + + + + + + - + - + - + @@ -36,13 +45,25 @@ {foreach from=$modules key=km item=module} - - - - + + + + - - + + - {/foreach}
{l s='Logo'}{l s='Module Name'}{l s='Module Name'} {l s='Description'}{l s='Status'}{l s='Status'} {l s='Tab'}{l s='Categories'}{l s='Categories'} {l s='Interest'} {l s='Favorite'}  
{$module->displayName}{$module->description|truncate:80:'...'}{if isset($module->id) && $module->id gt 0}{l s='Installed'}{else}{l s='Not Installed'}{/if} + + +
{$module->displayName}
+
+ {$module->description|truncate:80:'...'} + + {if isset($module->id) && $module->id gt 0} + {l s='Installed'} + {else} + {l s='Not Installed'} + {/if} + {assign var="module_name" value=$module->name} - {foreach $tabs AS $t} {if $t.active} @@ -56,27 +77,31 @@ {/foreach} {$module->categoryName} - + + {$module->categoryName} - + + + + +    
- +
\ No newline at end of file diff --git a/admin-dev/themes/default/template/controllers/modules/header.tpl b/admin-dev/themes/default/template/controllers/modules/header.tpl index 048183a4c..b7fa07a9a 100644 --- a/admin-dev/themes/default/template/controllers/modules/header.tpl +++ b/admin-dev/themes/default/template/controllers/modules/header.tpl @@ -44,24 +44,31 @@
{if $add_permission eq '1'} -
-
- {l s='Add a new module'} {l s='Add a new module'} -

{l s='The module must either be a zip file or a tarball.'}

-
-
- -
- -

{l s='Upload a module from your computer.'}

-
-
- +
+
+
+ + {l s='Add a new module'} +

{l s='The module must either be a zip file or a tarball.'}

+ +
+

+ +

+

+ +

-
-
+
{/if} diff --git a/admin-dev/themes/default/template/controllers/modules/list.tpl b/admin-dev/themes/default/template/controllers/modules/list.tpl index 639f5e7ba..94add7de7 100644 --- a/admin-dev/themes/default/template/controllers/modules/list.tpl +++ b/admin-dev/themes/default/template/controllers/modules/list.tpl @@ -24,6 +24,18 @@ *} {if count($modules)} +
+ + + + +
@@ -84,7 +96,7 @@
{if !isset($module->not_on_disk)} {$module->optionsHtml} - {if isset($module->preferences) && $module->preferences['favorite'] == 1} + {if isset($module->preferences) && isset($module->preferences['favorite']) && $module->preferences['favorite'] == 1} {l s='Remove from Favorites'} @@ -152,9 +164,17 @@
-
- - +
+ + + +
{else}

{l s='No modules available in this section.'}

diff --git a/admin-dev/themes/default/template/controllers/modules/page.tpl b/admin-dev/themes/default/template/controllers/modules/page.tpl index c3c27d071..f86a5b1e1 100644 --- a/admin-dev/themes/default/template/controllers/modules/page.tpl +++ b/admin-dev/themes/default/template/controllers/modules/page.tpl @@ -49,38 +49,38 @@ {l s='Favorites view'} - -
+ -
- -
-
- {l s='Categories'} - +
+
+
+ {l s='Modules list'} + {include file='controllers/modules/list.tpl'}
-
-
- {l s='Modules list'} - {include file='controllers/modules/list.tpl'}
diff --git a/admin-dev/themes/default/template/controllers/modules/tab_module_line.tpl b/admin-dev/themes/default/template/controllers/modules/tab_module_line.tpl index 8c860d2e8..c0d2e37e0 100644 --- a/admin-dev/themes/default/template/controllers/modules/tab_module_line.tpl +++ b/admin-dev/themes/default/template/controllers/modules/tab_module_line.tpl @@ -29,28 +29,28 @@
- + -
-

+
+

{$module->displayName|truncate:40:'…'} {$module->version} {if isset($module->id) && $module->id gt 0 } {if $module->active} - {l s='Enabled'} + {l s='Enabled'} {else} - {l s='Disabled'} + {l s='Disabled'} {/if} {else} {if isset($module->type) && $module->type == 'addonsMustHave'} - {l s='Must Have'} + {l s='Must Have'} {else} - {l s='Not installed'} + {l s='Not installed'} {/if} {/if} -

-

+

+

{if isset($module->description) && $module->description ne ''} {$module->description|truncate:100:'…'} {else} @@ -60,16 +60,26 @@

- {if isset($module->type) && $module->type == 'addonsMustHave'} - -   {displayPrice price=$module->price currency=$module->id_currency} - {else if !isset($module->not_on_disk)} - {$module->optionsHtml} -
 
- {l s='Submit'} - {else} - {l s='Install'} - {/if} +
+ {if isset($module->type) && $module->type == 'addonsMustHave'} +

+ + +   {displayPrice price=$module->price currency=$module->id_currency} + + +

+ {else if !isset($module->not_on_disk)} + {$module->optionsHtml} +

+ {l s='Submit'} +

+ {else} +

+ {l s='Install'} +

+ {/if} +
diff --git a/admin-dev/themes/default/template/controllers/modules/tab_modules_list.tpl b/admin-dev/themes/default/template/controllers/modules/tab_modules_list.tpl index a4945a592..3e89ff60f 100644 --- a/admin-dev/themes/default/template/controllers/modules/tab_modules_list.tpl +++ b/admin-dev/themes/default/template/controllers/modules/tab_modules_list.tpl @@ -83,4 +83,4 @@ {/if} {/if} -

{l s='More options'}

\ No newline at end of file +

{l s='More options'}

\ No newline at end of file