Added the flag bar to the "Modules" tab of products, categories, folders
and contents.
This commit is contained in:
@@ -222,10 +222,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.module-tab {
|
|
||||||
margin-top: 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tab-content {
|
.tab-content {
|
||||||
// Center loading indicator
|
// Center loading indicator
|
||||||
.loading {
|
.loading {
|
||||||
|
|||||||
@@ -260,7 +260,17 @@
|
|||||||
{include file='includes/document-upload-form.html' documentType='category' parentId=$ID}
|
{include file='includes/document-upload-form.html' documentType='category' parentId=$ID}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tab-pane fade module-tab" id="modules">
|
<div class="tab-pane fade" id="modules">
|
||||||
|
<div class="form-container">
|
||||||
|
{include
|
||||||
|
file = "includes/inner-form-toolbar.html"
|
||||||
|
hide_submit_buttons = true
|
||||||
|
page_url = {$pageUrl}
|
||||||
|
close_url = {$closeUrl}
|
||||||
|
current_tab = "modules"
|
||||||
|
}
|
||||||
|
</div>
|
||||||
|
|
||||||
{module_include location='category-edit' countvar='module_count'}
|
{module_include location='category-edit' countvar='module_count'}
|
||||||
|
|
||||||
{if $countvar == 0}
|
{if $countvar == 0}
|
||||||
|
|||||||
@@ -155,7 +155,17 @@
|
|||||||
{include file='includes/document-upload-form.html' documentType='content' parentId=$content_id}
|
{include file='includes/document-upload-form.html' documentType='content' parentId=$content_id}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tab-pane fade module-tab" id="modules">
|
<div class="tab-pane fade" id="modules">
|
||||||
|
<div class="form-container">
|
||||||
|
{include
|
||||||
|
file = "includes/inner-form-toolbar.html"
|
||||||
|
hide_submit_buttons = true
|
||||||
|
page_url = {$pageUrl}
|
||||||
|
close_url = {$closeUrl}
|
||||||
|
current_tab = "modules"
|
||||||
|
}
|
||||||
|
</div>
|
||||||
|
|
||||||
{module_include location='content-edit' countvar='module_count'}
|
{module_include location='content-edit' countvar='module_count'}
|
||||||
|
|
||||||
{if $countvar == 0}
|
{if $countvar == 0}
|
||||||
|
|||||||
@@ -141,7 +141,16 @@
|
|||||||
{include file='includes/document-upload-form.html' documentType='folder' parentId=$ID}
|
{include file='includes/document-upload-form.html' documentType='folder' parentId=$ID}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tab-pane fade module-tab" id="modules">
|
<div class="tab-pane fade" id="modules">
|
||||||
|
<div class="form-container">
|
||||||
|
{include
|
||||||
|
file = "includes/inner-form-toolbar.html"
|
||||||
|
hide_submit_buttons = true
|
||||||
|
page_url = {$pageUrl}
|
||||||
|
close_url = {$closeUrl}
|
||||||
|
current_tab = "modules"
|
||||||
|
}
|
||||||
|
</div>
|
||||||
|
|
||||||
{module_include location='folder-edit' countvar='module_count'}
|
{module_include location='folder-edit' countvar='module_count'}
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,12 @@ Parameters:
|
|||||||
<ul class="nav nav-pills">
|
<ul class="nav nav-pills">
|
||||||
{loop name="lang_list" type="lang"}
|
{loop name="lang_list" type="lang"}
|
||||||
<li {if $ID == $edit_language_id}class="active"{/if}>
|
<li {if $ID == $edit_language_id}class="active"{/if}>
|
||||||
<a class="language-change-button" data-language-id="{$ID}" href="{url path={$page_url|default:$current_url nofilter} edit_language_id=$ID}" title="{intl l='Edit information in %lng' lng=$TITLE}">
|
{if $current_tab}
|
||||||
|
{$lang_url = {url path={$page_url|default:$current_url nofilter} edit_language_id=$ID current_tab=$current_tab}}
|
||||||
|
{else}
|
||||||
|
{$lang_url = {url path={$page_url|default:$current_url nofilter} edit_language_id=$ID}}
|
||||||
|
{/if}
|
||||||
|
<a class="language-change-button" data-language-id="{$ID}" href="{$lang_url nofilter}" title="{intl l='Edit information in %lng' lng=$TITLE}">
|
||||||
<img src="{image file="../assets/img/flags/{$CODE}.png"}" alt="{$TITLE}" />
|
<img src="{image file="../assets/img/flags/{$CODE}.png"}" alt="{$TITLE}" />
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
hide_submit_buttons = false
|
hide_submit_buttons = false
|
||||||
page_url = {$pageUrl}
|
page_url = {$pageUrl}
|
||||||
close_url = {$closeUrl}
|
close_url = {$closeUrl}
|
||||||
|
current_tab = "seo"
|
||||||
}
|
}
|
||||||
|
|
||||||
{* Hidden field *}
|
{* Hidden field *}
|
||||||
|
|||||||
@@ -108,7 +108,17 @@
|
|||||||
<div class="text-center"><span class="loading">{intl l="Please wait, loading"}</span></div>
|
<div class="text-center"><span class="loading">{intl l="Please wait, loading"}</span></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tab-pane fade module-tab" id="modules">
|
<div class="tab-pane fade" id="modules">
|
||||||
|
<div class="form-container">
|
||||||
|
{include
|
||||||
|
file = "includes/inner-form-toolbar.html"
|
||||||
|
hide_submit_buttons = true
|
||||||
|
page_url = {$pageUrl}
|
||||||
|
close_url = {$closeUrl}
|
||||||
|
current_tab = "modules"
|
||||||
|
}
|
||||||
|
</div>
|
||||||
|
|
||||||
{module_include location='product-edit' countvar='module_count'}
|
{module_include location='product-edit' countvar='module_count'}
|
||||||
|
|
||||||
{if $countvar == 0}
|
{if $countvar == 0}
|
||||||
|
|||||||
Reference in New Issue
Block a user