📄 edit_objects.tpl
字号:
{include file="phpgacl/header.tpl"} {include file="phpgacl/acl_admin_js.tpl"} </head> <body> {include file="phpgacl/navigation.tpl"} <form method="post" name="edit_objects" action="edit_objects.php"> <table cellpadding="2" cellspacing="2" border="2" width="100%"> <tbody> <tr class="pager"> <td colspan="7"> {include file="phpgacl/pager.tpl" pager_data=$paging_data link="?section_value=$section_value&object_type=$object_type&"} </td> </tr> <tr> <th width="2%">ID</th> <th>Section</th> <th>Value</th> <th>Order</th> <th>Name</th> <th width="4%">Functions</th> <th width="2%"><input type="checkbox" class="checkbox" name="select_all" onClick="checkAll(this)"/></th> </tr>{section name=x loop=$objects} <tr valign="top" align="center"> <td> {$objects[x].id} <input type="hidden" name="objects[{$objects[x].id}][]" value="{$objects[x].id}"> </td> <td>{$section_name}</td> <td><input type="text" size="10" name="objects[{$objects[x].id}][]" value="{$objects[x].value}"></td> <td><input type="text" size="10" name="objects[{$objects[x].id}][]" value="{$objects[x].order}"></td> <td><input type="text" size="40" name="objects[{$objects[x].id}][]" value="{$objects[x].name}"></td> <td> </td> <td><input type="checkbox" class="checkbox" name="delete_object[]" value="{$objects[x].id}"></td> </tr>{/section} <tr class="pager"> <td colspan="7"> {include file="phpgacl/pager.tpl" pager_data=$paging_data link="?section_value=$section_value&object_type=$object_type&"} </td> </tr> <tr class="spacer"> <td colspan="7"></td> </tr> <tr align="center"> <td colspan="7"><b>Add {$object_type|upper}s</b></td> </tr> <tr> <th>ID</th> <th>Section</th> <th>Value</th> <th>Order</th> <th>Name</th> <th>Functions</th> <th> </th> </tr>{section name=y loop=$new_objects} <tr valign="top" align="center"> <td>N/A</td> <td>{$section_name}</td> <td><input type="text" size="10" name="new_objects[{$new_objects[y].id}][]" value=""></td> <td><input type="text" size="10" name="new_objects[{$new_objects[y].id}][]" value=""></td> <td><input type="text" size="40" name="new_objects[{$new_objects[y].id}][]" value=""></td> <td> </td> <td> </td> </tr>{/section} <tr class="controls" align="center"> <td colspan="5"> <input type="submit" class="button" name="action" value="Submit"> <input type="reset" class="button" value="Reset"><br> </td> <td colspan="2"> <input type="submit" class="button" name="action" value="Delete"> </td> </tr> </tbody> </table> <input type="hidden" name="section_value" value="{$section_value}"> <input type="hidden" name="object_type" value="{$object_type}"> <input type="hidden" name="return_page" value="{$return_page}"> </form>{include file="phpgacl/footer.tpl"}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -