📄 list.xml
字号:
<form>
<title>{L1CATEGORY} - subcategories</title>
<width>540</width>
<border>true</border>
<fields>
<_count header="No" width="30" align="center" />
<cat_name header="Name" align="left" />
</fields>
<header>
<titles>true</titles>
<buttons>
<return onclick="" button="return" >
<location>index.php?sub=categories</location>
</return>
<eq onclick="" button="eq" >
<location>index.php?sub=products&product_cat={CAT_PARENT}</location>
</eq>
<delete onclick="" button="addnew" >
<location>index.php?sub=cats&action=add&cat_parent={CAT_PARENT}</location>
</delete>
</buttons>
</header>
<vars>
<l1category import="$GLOBALS[subcat]" type="eval" />
</vars>
<buttons>
<eq onclick="" button="eq" >
<location>index.php?sub=products&product_cat={CAT_ID}</location>
</eq>
<details onclick="" button="edit" >
<location>index.php?sub=cats&action=edit&cat_id={CAT_ID}</location>
</details>
<delete onclick="" button="delete" >
<location>javascript:if(confirm('Are you sure you want to delete this record ?')) window.location='index.php?sub=cats&action=delete&cat_id={CAT_ID}'</location>
</delete>
</buttons>
<sql>
<vars>
<table import="$this->tables[categories]" type="eval" />
<category import="$_GET[cat_parent]" type="eval" />
</vars>
<query>SELECT * FROM {TABLE} WHERE cat_parent={CATEGORY}</query>
</sql>
<items>20</items>
</form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -