<!-- COPYRIGHTS ©ZAPms PHP TEAM -->
{config_load file="menu.conf" scope="local" section=$ui_lang}
{config_load file="fm.conf" scope="local" section=$ui_lang}
{literal}
<script type="text/javascript" src="modules/fm/fm.js"></script>
{/literal}
{strip}
<div class="headTopicM">
<div class="i20_close"></div> {$entry_info.entry_title}
<div class="btnT">
{if $entry_info.entry_attr > 2}
<span class="brbcss"><input id="TnewObj3" class="bcss" type="button" onclick="rScreen('details','mceedit')" value="{#newPageLabel#}" /></span>
<span class="brbcss"><input id="TnewObj" class="bcss" type="button" onclick="oDetails('menu','0',630,730)" value="{#newelementButtonLabel#}" /></span>
<span class="brbcss"><input id="TnewObj1" class="bcss" type="button" onclick="oDetails('folder','0',630,400)" value="{#newfolderButtonLabel#}" /></span>
<span class="brbcss"><input id="TnewObj2" class="bcss" type="button" onclick="javascript:oFmDetails('upload','{$path_current}','','',420,260)" value="{#uploadLabel#}" /></span>
{/if}
</div>
</div>
<div class="content" id="searchPanel">
<table width="100%" border="0">
<tr>
<td valign="bottom">
<form id="form_search_header" method="post" action="" style="float: left">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><span class="eTt">{#categoryLabel#}:</span></td>
<td><select name="parent_id">
<option value="0">- High level -</option>
{section name=customer loop=$search_list}
<option value="{$search_list[customer].id}"{if ($details_search.parent_id eq $search_list[customer].id) or (!$details_search.id and ($search_list[customer].name eq $details_default.mnu_category))} selected="selected"{/if}{if $search_list[customer].sourcetype eq 'folder'} style="font-weight:bold"{/if}>{$empty|indent:$search_list[customer].level:"- "} {$search_list[customer].title}</option>
{/section}
</select></td>
<td> </td>
<td valign="bottom">
<input name="action" type="hidden" id="action" value="list" />
<input name="subaction" type="hidden" id="subaction" value="search" />
<span class="brbcss"><input class="bcss" type="submit" value="{#pagegoLabel#}" /></span></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</div>
<div class="content" id="content_list">
<!-- list -->
<table width="100%" border="0" cellpadding="2" cellspacing="1">
<tr>
<td class="tHd">{#titleLabel#}</td>
<td class="tHd">{#bodyLabel#}</td>
<td class="tHd">{#optionLabel#}</td>
<td class="tHd">{#nameLabel#}</td>
<td class="tHd">{#priorityLabel#}</td>
<td class="tHd">{#roleLabel#}</td>
<td align="center" class="tHd">{#deleteLabel#}</td>
</tr>
{section name=customer loop=$menu_list}
<tr class="{cycle values='bgListCol1,bgListCol2'}">
<td class="eTt">
<div style="float:left;">{$empty|indent:$menu_list[customer].level:" "}</div>
{if $entry_info.entry_attr > 0}
<a href="#" class="i18_{$menu_list[customer].sourcetype}" title="{$menu_list[customer].sourcetype}"></a>
<a href="javascript:oDetails('{$menu_list[customer].sourcetype}','{$menu_list[customer].id}',{if $menu_list[customer].sourcetype eq 'folder'}630,500{else}630,730{/if});">{if $menu_list[customer].sourcetype eq 'folder'}<strong>{$menu_list[customer].title|truncate:42}</strong>{else}{$menu_list[customer].title|truncate:42}{/if}</a>
{/if}
</td>
<td class="eTt">
{if $entry_info.entry_attr > 1 and $menu_list[customer].sourcetype eq 'static'}
<a href="#" class="i18_ed"></a>
<a href="javascript:rScreen('details','mceedit&details_id={$menu_list[customer].id}');">{$menu_list[customer].source|nl2br|truncate:40}</a>
{else}
{$menu_list[customer].source|nl2br|truncate:40|default:'--'}
{/if}
</td>
<td>
{if $menu_list[customer].active}
<a href="#" class="i18_act1" title="{#activeAlt#}"></a>
{else}
<a href="#" class="i18_inact1" title="{#inactiveAlt#}"></a>
{/if}
{if $entry_info.entry_attr > 2}
<a href="javascript:oDetails('copy','{$menu_list[customer].id}',630,730);" class="i18_copy" title="{#copyLabel#}"></a>
{/if}
<a rel="lyteframe" rev="scrolling:auto;{$details_default.mnu_pre_size|default:'width:800px;height:600px;'}" url="../{$menu_list[customer].name}?action=preview" href="../{$menu_list[customer].name}?action=preview" class="i18_pre" title="{#previewLabel#}"></a>
{if !$menu_list[customer].login}
<a href="#" class="i18_key" title="{#loginLabel#}"></a>
{/if}
</td>
<td>{$menu_list[customer].name|truncate:30}</td>
<td>{$menu_list[customer].priority}</td>
<td>{if !$menu_list[customer].login}
{foreach from=$roles_list item=curr_id}
{if $menu_list[customer].role_id == $curr_id.id}
{$curr_id.role}
{/if}
{/foreach}
{else}
--
{/if}</td>
<td align="center">
{if $entry_info.entry_attr > 3}
<a href="javascript:oConfirm('delete','menu','{$menu_list[customer].id}','`{$menu_list[customer].name}` {#deleteConfirm#}');" class="i18_del" title="{#deleteAlt#}"></a>
{else}
<a href="#" class="i18_del0"></a>
{/if}
</td>
</tr>
{/section}
</table>
<!-- list -->
</div>
<!-- buttons -->
<div class="btnB">
{if $entry_info.entry_attr > 2}
<span class="brbcss"><input id="newObj3" class="bcss" type="button" onclick="rScreen('details','mceedit')" value="{#newPageLabel#}" /></span>
<span class="brbcss"><input id="newObj" class="bcss" type="button" onclick="oDetails('menu','0',630,730)" value="{#newelementButtonLabel#}" /></span>
<span class="brbcss"><input id="newObj1" class="bcss" type="button" onclick="oDetails('folder','0',630,400)" value="{#newfolderButtonLabel#}" /></span>
<span class="brbcss"><input id="newObj2" class="bcss" type="button" onclick="javascript:oFmDetails('upload','{$path_current}','','',420,260)" value="{#uploadLabel#}" /></span>
{/if}
</div>
<!-- buttons -->
{/strip}