📄 list.xml
字号:
<form>
<subtitle>Completed Tasks</subtitle>
<width>540</width>
<fields>
<_count header="No" width="30" align="center" suffix="."/>
<task_name header="Title" align="left" />
<task_date header="Scheduled date" type="date" params="m.d.Y" width="100" align="center" />
<date_completed header="Completed date" type="date" params="m.d.Y" width="100" align="center" />
</fields>
<header>
<titles>true</titles>
<buttons>
<delete onclick="" button="addnew" >
<location>index.php?sub=tasks&action=add&task_product={PRODUCT_ID}</location>
</delete>
</buttons>
</header>
<buttons>
<delete onclick="" button="delete" >
<location>javascript:if(confirm('Are you sure you want to delete this record ?')) window.location='index.php?sub=tasks&action=delete&task_id={TASK_ID}'</location>
</delete>
<details onclick="" button="details" >
<location>index.php?sub=tasks&action=det&task_id={TASK_ID}</location>
</details>
</buttons>
<sql>
<vars>
<table import="$this->tables[tasks]" type="eval" />
<product import="$_GET[product_id]" type="eval" />
</vars>
<query>SELECT * FROM {TABLE} WHERE task_product='{PRODUCT}' and date_completed > 0</query>
</sql>
<items>10</items>
</form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -