<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <li><a href="sysConfig/add.html" target="navTab" rel="sysConfig/add"><i class="icon-plus-sign-alt icon-large"></i> <@t.page 'config.add'/></a></li>
        </ul>
    </div>
<@_sysConfigList advanced=true>
    <table class="table" width="100%" layoutH>
        <thead>
            <tr>
                <th width="200"><@t.page 'code'/></th>
                <th><@t.page 'description'/></th>
                <th width="200"><@t.page 'operate'/></th>
            </tr>
        </thead>
        <tbody>
            <#list list as a>
            <tr target="sid" rel="${a.code}">
                <td>${(a.code)!} ${a.customed?then('','['+t.pageMessage('config.system_item')+']')}</td>
                <td>${(a.description)!}</td>
                <td class="wrap">
                    <a href="sysConfig/add.html?code=${a.code}" class="edit btnText blue" target="navTab" rel="sysConfig/edit"><i class="icon-edit"></i> <@t.page 'config.edit'/></a>
                <#if a.customed&&!site.parentId?has_content>
                    <a href="sysConfig/delete?code=${a.code}&navTabId=sysConfig/list&_csrf=<@_csrfToken admin=true/>" class="btnText warn" title="<@t.page 'confirm.delete'/>" target="ajaxTodo"><@t.page 'config.delete'/></a>
                </#if>
                </td>
            </tr>
            </#list>
        </tbody>
    </table>
</@_sysConfigList>
</div>