0byt3m1n1
Path:
/
data
/
applications
/
aps
/
helpcenterlive
/
2.1.5-3
/
standard
/
htdocs
/
templates
/
G
/
[
Home
]
File: admin_icons.tpl
<div align="center"> <form action="{$_SERVER.PHP_SELF}?id={$id}" method="post" enctype="multipart/form-data"> <table cellpadding="5" cellspacing="0" class="list"> <tr class="main"> <td colspan="2" align="center"><b>{$name}</b></td> </tr> <tr class="alt"> <td>{$lang.online}:</td> <td><img src="{$conf.url}/live/icon.php?status=online&departmentid={$id}" alt="{$name}" /></td> </tr> <tr> <td>{$lang.use_default_icon}:</td> <td><input type="checkbox" name="default_online" value="true" /></td> </tr> <tr class="alt"> <td>{$lang.use_department_icon}:</td> <td><input type="file" name="online" /></td> </tr> <tr> <td>{$lang.offline}:</td> <td><img src="{$conf.url}/live/icon.php?status=offline&departmentid={$id}" alt="{$name}" /></td> </tr> <tr class="alt"> <td>{$lang.use_default_icon}:</td> <td><input type="checkbox" name="default_offline" value="true" /></td> </tr> <tr> <td>{$lang.use_department_icon}:</td> <td><input type="file" name="offline" /></td> </tr> </table> <br /> <input type="hidden" name="id" value="{$id}" /><input type="submit" name="edit" value="{$lang.submit}"> </form> <br /> <form action="{$_SERVER.PHP_SELF}" method="get"> <select name="id"> <option value="0">{$lang.default}</option> {section name='i' loop=$departments} <option value="{$departments[i].id}"{if $id == $departments[i].id} selected="selected"{/if}>{$departments[i].name}</option> {/section} </select> <input type="submit" name="submit" value="{$lang.edit}"> </form> </div>