1{extends 'layout_view.tpl'} 2 3{block name="title"} 4 {title}{$title|escape}{/title} 5{/block} 6 7{block name="content"} 8 {remarksbox type="tip" title="{tr}Tips{/tr}"} 9 {tr}Menu{/tr}: {$menuInfo.name|escape} ({tr}Id{/tr}: {$menuInfo.menuId|escape}) 10 {if $menuSymbol} 11 <span class="form-text"> 12 {tr}Symbol{/tr}:{$menuSymbol.object} ({tr}Profile Name{/tr}:{$menuSymbol.profile}, {tr}Profile Source{/tr}:{$menuSymbol.domain}) 13 </span> 14 {/if} 15 <p> 16 {tr}To add new options to the menu set the optionId field to 0. To remove an option set the remove field to 'y'.{/tr} 17 {tr}Duplicate options will be ignored.{/tr} 18 {/remarksbox} 19 <form action="{service controller=menu action=import_menu_options menuId=$menuId}" method="post" enctype="multipart/form-data" role="form" class="no-ajax form-inline"> 20 <div class="form-group"> 21 <label for="csvfile" class="mr-2"> 22 {tr}File{/tr} 23 </label> 24 <input name="csvfile" type="file" required="required" class="form-control"> 25 <div class="submit"> 26 {ticket mode=confirm} 27 <input type="submit" class="btn btn-primary" name="import" value="{tr}Import{/tr}"> 28 </div> 29 </div> 30 </form> 31{/block} 32