// AdminTab compatibility: Dispatcher for BO now search tabs in database, not on the disk. AdminTabs now uses the new BO theme.
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10236 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -239,79 +239,45 @@ $(document).ready(function()
|
||||
</select>
|
||||
</div>
|
||||
|
||||
{if $multi_shop}
|
||||
<div id="header_shoplist"><span>{l s='Select your shop:'}</span>{$shop_list}</div>
|
||||
{/if}
|
||||
{$HOOK_TOP}
|
||||
</div>
|
||||
<ul id="menu">
|
||||
{if !$tab}
|
||||
<div class="mainsubtablist" style="display:none">
|
||||
</div>
|
||||
{/if}
|
||||
{foreach $tabs AS $t}
|
||||
<li class="submenu_size maintab {if $t.current}active{/if}" id="maintab{$t.id_tab}">
|
||||
<span class="title">
|
||||
<img src="{$t.img}" alt="" />{$t.name}
|
||||
</span>
|
||||
<ul class="submenu">
|
||||
{foreach from=$t.sub_tabs item=t2}
|
||||
<li><a href="{$t2.href}">{$t2.name}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{foreach $tabs AS $t}
|
||||
<div id="tab{$t.id_tab}_subtabs" style="display:none">
|
||||
{foreach $t.sub_tabs AS $t2}
|
||||
<li class="subitem" ><a href="{$t2.href}">{$t2.name}</a></li>
|
||||
{/foreach}
|
||||
<div class="flatclear"> </div>
|
||||
</div>
|
||||
{if $multi_shop}
|
||||
<div id="header_shoplist"><span>{l s='Select your shop:'}</span>{$shop_list}</div>
|
||||
{/if}
|
||||
{$HOOK_TOP}
|
||||
</div>
|
||||
<ul id="menu">
|
||||
{if !$tab}
|
||||
<div class="mainsubtablist" style="display:none">
|
||||
</div>
|
||||
{/if}
|
||||
{foreach $tabs AS $t}
|
||||
<li class="submenu_size maintab {if $t.current}active{/if}" id="maintab{$t.id_tab}">
|
||||
<span class="title">
|
||||
<img src="{$t.img}" alt="" />{$t.name}
|
||||
</span>
|
||||
<ul class="submenu">
|
||||
{foreach from=$t.sub_tabs item=t2}
|
||||
<li><a href="{$t2.href}">{$t2.name}</a></li>
|
||||
{/foreach}
|
||||
{* @todo : handle bo_uimode == hover / not hover ?
|
||||
{if $employee->bo_uimode == 'hover'}
|
||||
<script type="text/javascript">
|
||||
$("#menu li").hoverIntent( { over:hoverTabs,timeout:100,out:outTabs } );
|
||||
function outTabs(){}
|
||||
function hoverTabs() {
|
||||
var content = $("#tab"+parseInt(this.id.substr(7, 3))+"_subtabs").html();
|
||||
$("#submenu").html(content);
|
||||
if (content.length == 0)
|
||||
$("#submenu").removeClass("withLeftBorder");
|
||||
else
|
||||
$("#submenu").addClass("withLeftBorder");
|
||||
$("#menu li").removeClass("active");
|
||||
$(this).addClass("active");
|
||||
}
|
||||
</script>
|
||||
{/if}
|
||||
<ul id="submenu" {if isset($mainsubtab)}class="withLeftBorder clearfix"{/if}>
|
||||
{if isset($mainsubtab)}
|
||||
{foreach $mainsubtab.sub_tabs AS $t}
|
||||
<li>
|
||||
<a href="{$t.href}">{$t.name}</a></li>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</ul>
|
||||
*}
|
||||
</div> {* end header *}
|
||||
</ul>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div> {* end header *}
|
||||
{/if}
|
||||
<div id="main">
|
||||
<div id="content">
|
||||
{if $install_dir_exists}
|
||||
<div style="background-color: #FFEBCC;border: 1px solid #F90;line-height: 20px;margin: 0px 0px 10px;padding: 10px 20px;">
|
||||
{l s='For security reasons, you must also:'} {l s='delete the /install folder'}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $is_multishop && $shop_context != 'all'}
|
||||
<div class="multishop_info">
|
||||
{if $shop_context == 'group'}
|
||||
{l s='You are configuring your store for group shop '}<b>{$shop_name}</b>
|
||||
{elseif $shop_context == 'shop'}
|
||||
{l s='You are configuring your store for shop '}<b>{$shop_name}</b>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
<div id="main">
|
||||
<div id="content">
|
||||
{if $install_dir_exists}
|
||||
<div style="background-color: #FFEBCC;border: 1px solid #F90;line-height: 20px;margin: 0px 0px 10px;padding: 10px 20px;">
|
||||
{l s='For security reasons, you must also:'} {l s='delete the /install folder'}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $is_multishop && $shop_context != 'all'}
|
||||
<div class="multishop_info">
|
||||
{if $shop_context == 'group'}
|
||||
{l s='You are configuring your store for group shop '}<b>{$shop_name}</b>
|
||||
{elseif $shop_context == 'shop'}
|
||||
{l s='You are configuring your store for shop '}<b>{$shop_name}</b>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
{include file='header.tpl'}
|
||||
{if isset($conf)}
|
||||
<div class="conf">
|
||||
<img src="../img/admin/ok2.png" alt="" />{$conf}
|
||||
{$conf}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
<span style="float:right">
|
||||
<a id="hideError" href="#"><img alt="X" src="../img/admin/close.png" /></a>
|
||||
</span>
|
||||
<img src="../img/admin/error2.png" />
|
||||
{if count($errors) == 1}
|
||||
{$errors[0]}
|
||||
{else}
|
||||
@@ -71,7 +70,6 @@
|
||||
<span style="float:right">
|
||||
<a id="hideWarn" href=""><img alt="X" src="../img/admin/close.png" /></a>
|
||||
</span>
|
||||
<img src="../img/admin/warn2.png" />
|
||||
{if count($warnings) > 1}
|
||||
{l s='There are'} {count($warnings)} {l s='warnings'}
|
||||
{else}
|
||||
|
||||
Reference in New Issue
Block a user