店舗オーナーに管理できる項目を減らす
/data/Smarty/templates/admin/main_frame.tpl
この中にあるナビゲーションリストを表示しなければいいので
<!--{if $smarty.session.authority == 0}-->
から
<!--{/if}-->
の中に、表示させたくないナビ項目を入れるだけでおk。
本当は
<body class="<!--{if strlen($tpl_authority) >= 1}-->authority_<!--{$tpl_authority}--><!--{/if}-->">
とか、
<!--{if $smarty.const.ADMIN_MODE == '1'}-->
<div id="admin-mode-on">ADMIN_MODE ON</div>
<!--{/if}-->
の部分で切り替えてるんだろうけど、処理を追っていくのがメンドクサ…と思ったので。
この中にあるナビゲーションリストを表示しなければいいので
<!--{if $smarty.session.authority == 0}-->
から
<!--{/if}-->
の中に、表示させたくないナビ項目を入れるだけでおk。
本当は
<body class="<!--{if strlen($tpl_authority) >= 1}-->authority_<!--{$tpl_authority}--><!--{/if}-->">
とか、
<!--{if $smarty.const.ADMIN_MODE == '1'}-->
<div id="admin-mode-on">ADMIN_MODE ON</div>
<!--{/if}-->
の部分で切り替えてるんだろうけど、処理を追っていくのがメンドクサ…と思ったので。