Module Recettes
This commit is contained in:
@@ -9,15 +9,6 @@
|
||||
|
||||
{block name="page-title"}{intl l='Edit content'}{/block}
|
||||
|
||||
{assign var="recette" value=false}
|
||||
{loop name="my_folder_path" type="folder-path" visible="*" folder=$folder_id}
|
||||
{if $TITLE|strstr:"recettes"}
|
||||
{assign var="recette" value=true}
|
||||
{/if}
|
||||
{/loop}
|
||||
|
||||
|
||||
|
||||
{block name="main-content"}
|
||||
<div class="content edit-content">
|
||||
<div id="wrapper" class="container">
|
||||
@@ -92,9 +83,6 @@
|
||||
<li><a href="#documents" data-toggle="tab">{intl l="Documents"}</a></li>
|
||||
{$smarty.capture.content_tab_tab nofilter}
|
||||
<li><a href="#modules" data-toggle="tab">{intl l="Modules"}</a></li>
|
||||
{if $recette}
|
||||
<li><a href="#recette" data-toggle="tab">{intl l="Recette"}</a></li>
|
||||
{/if}
|
||||
</ul>
|
||||
|
||||
<div class="tab-content">
|
||||
@@ -224,12 +212,6 @@
|
||||
{* ugly fix : {hook name="content.tab-content" id="{$content_id}" view="content"} *}
|
||||
{include file="includes/module-tab-content.html" hook="content.tab-content" location="content-edit" id="{$content_id}" view="content"}
|
||||
</div>
|
||||
|
||||
{if $recette}
|
||||
<div class="tab-pane fade" id="recette">
|
||||
{hook name="hook-recette" content_id=$content_id}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user