Commit 0e269484 authored by cfoe's avatar cfoe
Browse files

cleaned up code formating on all template files

parent 0f86c25a
......@@ -42,7 +42,6 @@
</tr>
</tmpl_loop>
</tbody>
<tfoot>
<tr>
<td class="tbl_footer tbl_paging" colspan="3"><tmpl_var name="paging"></td>
......
<h2><tmpl_var name="list_head_txt"></h2>
<p><tmpl_var name="list_desc_txt"></p>
<div class="panel panel_iptables">
<div class="pnl_formsarea">
<fieldset class="inlineLabels">
<div class="ctrlHolder">
......@@ -62,4 +63,5 @@
<span>{tmpl_var name='btn_cancel_txt'}</span></button>
</div>
</div>
</div>
\ No newline at end of file
......@@ -36,9 +36,10 @@
<td class="tbl_col_multiport"></td>
<td class="tbl_col_state"></td>
<td class="tbl_col_target"><select name="search_target">{tmpl_var name='search_target'}</select></td>
<td class="tbl_col_buttons"><div class="buttons">
<button type="button" class="icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onClick="submitForm('pageForm','admin/iptables_list.php');">
<span>{tmpl_var name="filter_txt"}filter_txt</span></button></div>
<td class="tbl_col_buttons">
<div class="buttons">
<button type="button" class="icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onClick="submitForm('pageForm','admin/iptables_list.php');"><span>{tmpl_var name="filter_txt"}filter_txt</span></button>
</div>
</td>
</tr>
</thead>
......@@ -53,9 +54,9 @@
<td class="tbl_col_multiport"><a href="#" onClick="loadContent('admin/iptables_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="multiport"}</a></td>
<td class="tbl_col_state"><a href="#" onClick="loadContent('admin/iptables_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="state"}</a></td>
<td class="tbl_col_target"><a href="#" onClick="loadContent('admin/iptables_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="target"}</a></td>
<td class="tbl_col_buttons"><div class="buttons icons16">
<a class="icons16 icoDelete"
href="javascript: del_record('admin/iptables_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name='delete_txt'}</span></a>
<td class="tbl_col_buttons">
<div class="buttons icons16">
<a class="icons16 icoDelete" href="javascript: del_record('admin/iptables_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name='delete_txt'}</span></a>
</div>
</td>
</tr>
......
......@@ -16,7 +16,7 @@
<input name="lng_new" id="lng_new" value="" size="30" maxlength="255" type="text" class="textInput formLengthHalf" />
<p class="formHint">{tmpl_var name='language_new_hint_txt'}</p>
</div>
</fieldset>
<input type="hidden" name="id" value="{tmpl_var name='id'}">
......@@ -24,9 +24,6 @@
<button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','admin/language_add.php');"><span>{tmpl_var name='btn_save_txt'}</span></button>
<button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('admin/language_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
</div>
</fieldset>
</div>
</div>
\ No newline at end of file
......@@ -18,15 +18,12 @@
{tmpl_var name='language_option'}
</select>
</div>
</fieldset>
<div class="buttonHolder buttons">
<button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','admin/language_complete.php');"><span>{tmpl_var name='btn_save_txt'}</span></button>
<button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('admin/language_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
</div>
</fieldset>
</div>
</div>
\ No newline at end of file
......@@ -24,9 +24,6 @@
<button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','admin/language_edit.php');"><span>{tmpl_var name='btn_save_txt'}</span></button>
<button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('admin/language_list.php?lng_select={tmpl_var name='lang'}');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
</div>
</div>
</div>
\ No newline at end of file
<h2><tmpl_var name="list_head_txt"></h2>
<p><tmpl_var name="list_desc_txt"></p>
<div class="panel panel_list_users">
<div class="pnl_toolsarea">
<fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend>
<div class="buttons">
......@@ -10,6 +11,7 @@
</div>
</fieldset>
</div>
<div class="pnl_listarea">
<fieldset><legend><tmpl_var name="list_head_txt"></legend>
<table class="list">
......@@ -48,4 +50,3 @@
</div>
</div>
\ No newline at end of file
......@@ -90,4 +90,5 @@
<button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('admin/server_config_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
</div>
</div>
</div>
\ No newline at end of file
<h2><tmpl_var name="list_head_txt"></h2>
<div class="panel panel_list_server_ip">
<div class="panel panel_list_server_php">
<div class="pnl_toolsarea">
<fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend>
......
......@@ -2,13 +2,13 @@
<p><tmpl_var name="desc_txt"></p>
<div class="panel panel_software_repo">
<tmpl_if name="message_err">
<div id="errorMsg"><tmpl_var name="message_err"></div>
</tmpl_if>
<tmpl_if name="message_ok">
<div id="OKMsg"><tmpl_var name="message_ok"></div>
</tmpl_if>
<tmpl_if name="insert_key">
<tmpl_if name="message_err">
<div id="errorMsg"><tmpl_var name="message_err"></div>
</tmpl_if>
<tmpl_if name="message_ok">
<div id="OKMsg"><tmpl_var name="message_ok"></div>
</tmpl_if>
<tmpl_if name="insert_key">
<div class="pnl_formsarea">
<fieldset class="inlineLabels">
<p>&nbsp;</p>
......@@ -26,5 +26,5 @@
</div>
</fieldset>
</div>
</tmpl_if>
</tmpl_if>
</div>
\ No newline at end of file
......@@ -2,6 +2,7 @@
<p><tmpl_var name="list_desc_txt"></p>
<div class="panel panel_system_config">
<div class="pnl_formsarea">
<fieldset class="inlineLabels"><legend>Misc</legend>
<div class="ctrlHolder">
......@@ -33,4 +34,5 @@
<button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('admin/server_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
</div>
</div>
</div>
\ No newline at end of file
......@@ -39,8 +39,10 @@
<td class="tbl_col_username"><a href="#" onClick="loadContent('admin/users_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="username"}</a></td>
<td class="tbl_col_buttons">
<div class="buttons icons16">
<tmpl_if name="username" op="!=" value="admin"><a class="icons16 icoLoginAs" href="#" onclick="loadContent('admin/login_as.php?id={tmpl_var name='id'}');"><span>{tmpl_var name='login_as_txt'}</span></a>
<a class="icons16 icoDelete" href="javascript: del_record('admin/users_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name='delete_txt'}</span></a></tmpl_if>
<tmpl_if name="username" op="!=" value="admin">
<a class="icons16 icoLoginAs" href="#" onclick="loadContent('admin/login_as.php?id={tmpl_var name='id'}');"><span>{tmpl_var name='login_as_txt'}</span></a>
<a class="icons16 icoDelete" href="javascript: del_record('admin/users_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name='delete_txt'}</span></a>
</tmpl_if>
</div>
</td>
</tr>
......
......@@ -2,6 +2,7 @@
<p><tmpl_var name="form_desc_txt"></p>
<div class="panel panel_client">
<div class="pnl_formsarea">
<fieldset class="inlineLabels"><legend>{tmpl_var name='form_legend_txt'}</legend>
<tmpl_if name="okmsg">
......@@ -34,4 +35,5 @@
<button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('client/client_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
</div>
</div>
</div>
\ No newline at end of file
......@@ -47,7 +47,9 @@
<td class="tbl_col_country"><a href="#" onClick="loadContent('client/client_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="country"}</a></td>
<td class="tbl_col_buttons">
<div class="buttons icons16" style="width:60px;">
<tmpl_if name="is_admin"><a class="icons16 icoLoginAs" href="#" onclick="loadContent('admin/login_as.php?cid={tmpl_var name='id'}');"><span>{tmpl_var name='login_as_txt'}</span></a> </tmpl_if>
<tmpl_if name="is_admin">
<a class="icons16 icoLoginAs" href="#" onclick="loadContent('admin/login_as.php?cid={tmpl_var name='id'}');"><span>{tmpl_var name='login_as_txt'}</span></a>
</tmpl_if>
<a class="icons16 icoDelete" href="javascript: del_record('client/client_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name='delete_txt'}</span></a>
</div>
</td>
......
......@@ -5,8 +5,8 @@
<div class="pnl_formsarea">
<fieldset class="inlineLabels"><legend>Limits</legend>
<!--
<tmpl_if name="is_admin">
<!--
<tmpl_if name="is_admin">
<div class="ctrlHolder">
<label for="template_master">{tmpl_var name='template_master_txt'}</label>
<select name="template_master" id="template_master" class="selectInput">
......@@ -24,8 +24,8 @@
<div class="ctrlHolder">
&nbsp;
</div>
</tmpl_if>
-->
</tmpl_if>
-->
<div class="ctrlHolder">
<label for="limit_client">{tmpl_var name='limit_client_txt'}</label>
<input name="limit_client" id="limit_client" value="{tmpl_var name='limit_client'}" size="10" maxlength="10" type="text" class="textInput formLengthLimit" />
......
<ul id="submenu">
<li class="title"><a>{tmpl_var name='latest_news_txt'}</a></li>
<tmpl_loop name="news">
<li><a href="{tmpl_var name="link"}" target="_blank" style="margin-top:8px;padding-bottom:5px;"><b>{tmpl_var name="date"}</b><br />
<li>
<a href="{tmpl_var name="link"}" target="_blank" style="margin-top:8px;padding-bottom:5px;"><b>{tmpl_var name="date"}</b><br />
{tmpl_var name="title"}</a>
</li>
</tmpl_loop>
......
<h1><tmpl_var name="welcome_user"></h1>
<hr />
<div class="panel panel_dashboard">
......@@ -38,4 +37,3 @@
</tmpl_loop>
</div>
</div>
\ No newline at end of file
<div class="pnl_toolsarea">
<div class="pnl_toolsarea">
<fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend>
<div class="buttons">
<button class="iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_a_edit.php?zone={tmpl_var name='parent_id'}');">
......@@ -36,9 +36,9 @@
</button>
</div>
</fieldset>
</div>
</div>
<div class="pnl_listarea">
<div class="pnl_listarea">
<fieldset><legend><tmpl_var name="list_head_txt"></legend>
<table class="list">
<thead>
......@@ -85,4 +85,4 @@
</tfoot>
</table>
</fieldset>
</div>
</div>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment