Commit 5df6059f authored by cfoe's avatar cfoe
Browse files

a lot of minor template fixes

parent 53f04836
......@@ -302,6 +302,30 @@ $form["tabs"]['domains'] = array (
)
);
/* TODO_ BEGIN: Branding
$form["tabs"]['domains'] = array (
'title' => "Branding",
'width' => 70,
'template' => "templates/system_config_branding_edit.htm",
'fields' => array (
##################################
# Begin Datatable fields
##################################
'allow_themechange' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'N',
'value' => array(0 => 'n',1 => 'y')
),
##################################
# ENDE Datatable fields
##################################
)
);
END: Branding */
$form["tabs"]['misc'] = array (
'title' => "Misc",
'width' => 70,
......
......@@ -95,6 +95,18 @@
{tmpl_var name='enable_ip_wildcard'}
</div>
</div>
<div class="ctrlHolder">
<p class="label">{tmpl_var name='overtraffic_notify_admin_txt'}</p>
<div class="multiField">
{tmpl_var name='overtraffic_notify_admin'}
</div>
</div>
<div class="ctrlHolder">
<p class="label">{tmpl_var name='overtraffic_notify_client_txt'}</p>
<div class="multiField">
{tmpl_var name='overtraffic_notify_client'}
</div>
</div>
<div class="subsectiontoggle"><span></span>{tmpl_var name='ssl_settings_txt'}<em></em></div>
<div style="display:none;">
<div class="ctrlHolder">
......
......@@ -18,14 +18,14 @@
<thead>
<tr class="caption">
<th class="tbl_col_server_id" scope="col"><tmpl_var name="server_id_txt"></th>
<th class="tbl_col_client_pid" scope="col"><tmpl_var name="client_id_txt"></th>
<th class="tbl_col_ip_address" scope="col"><tmpl_var name="name_txt"></th>
<th class="tbl_col_clientname" scope="col"><tmpl_var name="client_id_txt"></th>
<th class="tbl_col_phpname" scope="col"><tmpl_var name="name_txt"></th>
<th class="tbl_col_buttons" scope="col">{tmpl_var name='search_limit'}</th>
</tr>
<tr class="filter">
<td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td>
<td class="tbl_col_client_pid"><select name="search_client_id">{tmpl_var name='search_client_id'}</select></td>
<td class="tbl_col_ip_address"><input type="text" name="search_name" value="{tmpl_var name='search_name'}" /></td>
<td class="tbl_col_clientname"><select name="search_client_id">{tmpl_var name='search_client_id'}</select></td>
<td class="tbl_col_phpname"><input type="text" name="search_name" value="{tmpl_var name='search_name'}" /></td>
<td class="tbl_col_buttons">
<button type="button" class="button icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','admin/server_php_list.php');"><span>{tmpl_var name="filter_txt"}</span></button>
</td>
......@@ -35,8 +35,8 @@
<tmpl_loop name="records">
<tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
<td class="tbl_col_server_id"><a href="#" onclick="loadContent('admin/server_php_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="server_id"}</a></td>
<td class="tbl_col_client_pid"><a href="#" onclick="loadContent('admin/server_php_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="client_id"}</a></td>
<td class="tbl_col_name"><a href="#" onclick="loadContent('admin/server_php_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="name"}</a></td>
<td class="tbl_col_clientname"><a href="#" onclick="loadContent('admin/server_php_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="client_id"}</a></td>
<td class="tbl_col_phpname"><a href="#" onclick="loadContent('admin/server_php_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="name"}</a></td>
<td class="tbl_col_buttons">
<a class="button icons16 icoDelete" href="javascript: del_record('admin/server_php_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>
......
......@@ -22,7 +22,7 @@
<th class="tbl_col_package_title" scope="col"><tmpl_var name="package_title_txt"></th>
<th class="tbl_col_package_description" scope="col"><tmpl_var name="package_description_txt"></th>
<th class="tbl_col_package_description" scope="col"><tmpl_var name="package_id_txt"></th>
<th class="tbl_col_buttons" scope="col">&nbsp;</th>
<th class="tbl_col_limit" scope="col">{tmpl_var name='search_limit'}</th>
</tr>
</thead>
<tbody>
......@@ -32,7 +32,7 @@
<td class="tbl_col_package_title">{tmpl_var name="package_title"}</td>
<td class="tbl_col_package_description">{tmpl_var name="package_description"}</td>
<td class="tbl_col_package_description">ispapp{tmpl_var name="package_id"}</td>
<td class="tbl_col_buttons">
<td class="tbl_col_buttons">
<a class="button icons16 icoDelete" href="javascript: del_record('admin/software_package_del.php?software_update_inst_id={tmpl_var name="software_update_inst_id"}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name='delete_txt'}</span></a>
</td>
</tr>
......
<?php
$module["name"] = "client";
$module["title"] = "top_menu_client";
$module["name"] = "client";
$module["title"] = "top_menu_client";
$module["template"] = "module.tpl.htm";
$module["startpage"] = "client/client_list.php";
$module["tab_width"] = '';
/*
Email accounts menu
*/
$items[] = array( 'title' => "Edit Client",
'target' => 'content',
'link' => 'client/client_list.php',
'html_id' => 'client_list');
$items[] = array( 'title' => "Edit Client",
'target' => 'content',
'link' => 'client/client_list.php',
'html_id' => 'client_list');
$items[] = array( 'title' => "Add Client",
'target' => 'content',
'link' => 'client/client_edit.php',
'html_id' => 'client_add');
$items[] = array( 'title' => "Add Client",
'target' => 'content',
'link' => 'client/client_edit.php',
'html_id' => 'client_add');
if($_SESSION["s"]["user"]["typ"] == 'admin'){
$items[] = array( 'title' => "Edit Client-Templates",
'target' => 'content',
'link' => 'client/client_template_list.php',
'html_id' => 'client_template_list');
if($_SESSION["s"]["user"]["typ"] == 'admin'){
$items[] = array( 'title' => "Edit Client-Templates",
'target' => 'content',
'link' => 'client/client_template_list.php',
'html_id' => 'client_template_list');
}
$module["nav"][] = array( 'title' => 'Clients',
'open' => 1,
'items' => $items);
$module["nav"][] = array( 'title' => 'Clients',
'open' => 1,
'items' => $items);
unset($items);
if($_SESSION["s"]["user"]["typ"] == 'admin'){
$items[] = array( 'title' => "Edit Reseller",
'target' => 'content',
'link' => 'client/reseller_list.php',
'html_id' => 'reseller_list');
$items[] = array( 'title' => "Edit Reseller",
'target' => 'content',
'link' => 'client/reseller_list.php',
'html_id' => 'reseller_list');
$items[] = array( 'title' => "Add Reseller",
'target' => 'content',
'link' => 'client/reseller_edit.php',
'html_id' => 'reseller_add');
$items[] = array( 'title' => "Add Reseller",
'target' => 'content',
'link' => 'client/reseller_edit.php',
'html_id' => 'reseller_add');
$module["nav"][] = array( 'title' => 'Resellers',
'open' => 1,
'items' => $items);
$module["nav"][] = array( 'title' => 'Resellers',
'open' => 1,
'items' => $items);
unset($items);
}
$items[] = array( 'title' => "Edit Client Circle",
'target' => 'content',
'link' => 'client/client_circle_list.php',
'html_id' => 'client_circle_list');
$items[] = array( 'title' => "Edit Client Circle",
'target' => 'content',
'link' => 'client/client_circle_list.php',
'html_id' => 'client_circle_list');
$items[] = array( 'title' => "Send email",
'target' => 'content',
'link' => 'client/client_message.php',
'html_id' => 'reseller_add');
$items[] = array( 'title' => "Send email",
'target' => 'content',
'link' => 'client/client_message.php',
'html_id' => 'reseller_add');
$module["nav"][] = array( 'title' => 'Messaging',
'open' => 1,
'items' => $items);
$module["nav"][] = array( 'title' => 'Messaging',
'open' => 1,
'items' => $items);
unset($items);
......@@ -87,5 +81,18 @@ if ($settings['use_domain_module'] == 'y') {
unset($items);
}
if($_SESSION["s"]["user"]["typ"] == 'admin'){
$items[] = array( 'title' => "Interface Settings",
'target' => 'content',
'link' => 'client/reseller_admin_interface.php',
'html_id' => 'reseller_admin_interface');
$module["nav"][] = array( 'title' => 'Reseller Panel',
'open' => 1,
'items' => $items);
unset($items);
}
?>
\ No newline at end of file
<?php
$wb['list_head_txt'] = 'DNS-Zonen Assistent';
$wb['list_desc_txt'] = 'Erstelle eine DNS-Zone per Assistent';
$wb['dns_zone_txt'] = 'DNS-Zone';
$wb['template_id_txt'] = 'Vorlage';
$wb['server_id_txt'] = 'Server';
......
<?php
$wb['list_head_txt'] = 'DNS Zone Wizard';
$wb['list_desc_txt'] = 'Create a DNS Zone via a wizard';
$wb['dns_zone_txt'] = 'DNS Zone';
$wb['template_id_txt'] = 'Template';
$wb['server_id_txt'] = 'Server';
......
c<div class="pnl_toolsarea">
<div class="pnl_toolsarea">
<fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend>
<div class="buttons topbuttons">
<button class="button iconstxt icoAdd" type="button" onclick="loadContent('dns/dns_a_edit.php?zone={tmpl_var name='parent_id'}');"><span>A</span></button>
......
......@@ -17,20 +17,20 @@
<thead>
<tr class="caption">
<th class="tbl_col_active" scope="col">{tmpl_var name="faq_question_txt"}</th>
<th class="tbl_col_active" scope="col">{tmpl_var name="faq_section_name_txt"}</th>
<th class="tbl_col_server_id" scope="col">{tmpl_var name="faq_delete_txt"}</th>
<th class="tbl_col_domain" scope="col">{tmpl_var name="faq_edit_txt"}</th>
<th class="tbl_col_section_name" scope="col">{tmpl_var name="faq_section_name_txt"}</th>
<th class="tbl_col_buttons" scope="col">{tmpl_var name="faq_delete_txt"}</th>
<th class="tbl_col_buttons" scope="col">{tmpl_var name="faq_edit_txt"}</th>
</tr>
</thead>
<tmpl_loop name="records">
<tr>
<tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
<td>{tmpl_var name='hf_question'}</td>
<td>{tmpl_var name='hf_section'}</td>
<td class="tbl_col_buttons">
<a class="button icons16 icoDelete" href="javascript: del_record('help/faq_delete.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name="faq_delete_txt"}</span></a>
</td>
<td>
<a href="#" onclick="loadContent('help/faq_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="faq_edit_txt"}</a>
<td class="tbl_col_buttons">
<a class="button icons16 icoEdit" href="javascript: loadContent('help/faq_edit.php?id={tmpl_var name='id'}');"><span>{tmpl_var name="faq_edit_txt"}</span></a>
</td>
</tr>
</tmpl_loop>
......
......@@ -18,19 +18,19 @@
<table class="list">
<thead>
<tr class="caption">
<th class="tbl_col_active" scope="col">{tmpl_var name="faq_section_name_txt"}</th>
<th class="tbl_col_server_id" scope="col">{tmpl_var name="faq_delete_txt"}</th>
<th class="tbl_col_domain" scope="col">{tmpl_var name="faq_edit_txt"}</th>
<th class="tbl_col_section_name" scope="col">{tmpl_var name="faq_section_name_txt"}</th>
<th class="tbl_col_buttons" scope="col">{tmpl_var name="faq_delete_txt"}</th>
<th class="tbl_col_buttons" scope="col">{tmpl_var name="faq_edit_txt"}</th>
</tr>
</thead>
<tmpl_loop name="records">
<tr>
<td><b>{tmpl_var name='hfs_name'}</b></td>
<td>
<tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
<th class="tbl_col_section_name"><b>{tmpl_var name='hfs_name'}</b></td>
<td class="tbl_col_buttons">
<a class="button icons16 icoDelete" href="javascript: del_record('help/faq_sections_delete.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name="faq_delete_txt"}</span></a>
</td>
<td>
<a href="#" onclick="loadContent('help/faq_sections_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="faq_edit_txt"}</a>
<td class="tbl_col_buttons">
<a class="button icons16 icoEdit" href="javascript: loadContent('help/faq_sections_edit.php?id={tmpl_var name='id'}');"><span>{tmpl_var name="faq_edit_txt"}</span></a>
</td>
</tr>
</tmpl_loop>
......
......@@ -38,7 +38,6 @@
</tr>
</tmpl_loop>
</tbody>
<tfoot>
<tr>
<td class="tbl_footer tbl_paging" colspan="2"><tmpl_var name="paging"></td>
......
......@@ -7,7 +7,7 @@
<fieldset class="inlineLabels"><legend><tmpl_var name="monTransRefreshsq"></legend>
<div class="buttons">
<div class="ctrlHolder">
<label for="refreshinterval">{tmpl_var name='refreshinterval_txt'}</label>
<label for="refreshinterval">&nbsp;</label>
<select name="refreshinterval" id="refreshinterval" class="selectInput withicons" onChange="loadContentRefresh('monitor/show_sys_state.php?state={tmpl_var name="state_type"}')">
{tmpl_var name='refresh'}
</select>
......
......@@ -26,8 +26,8 @@ $wb['settings_txt'] = 'Einstellungen';
$wb['install_package_txt'] = 'Dieses Paket installieren';
$wb['installation_txt'] = 'Installation';
$wb['install_location_txt'] = 'Installationsort';
$wb['btn_install'] = 'Installieren';
$wb['btn_cancel'] = 'Abbrechen';
$wb['btn_install_txt'] = 'Installieren';
$wb['btn_cancel_txt'] = 'Abbrechen';
$wb['acceptance_txt'] = 'Lizenzvereinbarung';
$wb['acceptance_text_txt'] = 'Ja, ich habe die Lizenzvereinbarung gelesen und akzeptiere sie.';
$wb['install_language_txt'] = 'Sprache der Oberfläche';
......
......@@ -26,8 +26,8 @@ $wb['settings_txt'] = 'Settings';
$wb['install_package_txt'] = 'Install this package';
$wb['installation_txt'] = 'Installation';
$wb['install_location_txt'] = 'Install location';
$wb['btn_install'] = 'Install';
$wb['btn_cancel'] = 'Cancel';
$wb['btn_install_txt'] = 'Install';
$wb['btn_cancel_txt'] = 'Cancel';
$wb['acceptance_txt'] = 'Acceptance';
$wb['acceptance_text_txt'] = 'Yes, i\'ve read the license and agree.';
$wb['install_language_txt'] = 'Interface language';
......
......@@ -48,8 +48,8 @@
<input type="hidden" name="install" value="0" />
<div class="buttonHolder buttons">
<button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_install'}" name="btn_install" onclick="document.pageForm.install.value=1; submitForm('pageForm','sites/aps_install_package.php?id={tmpl_var name='pkg_id'}');"><span>{tmpl_var name='btn_install'}</span></button>
<button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel'}" onclick="loadContent('aps/availablepackages_list.php');"><span>{tmpl_var name='btn_cancel'}</span></button>
<button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_install_txt'}" name="btn_install" onclick="document.pageForm.install.value=1; submitForm('pageForm','sites/aps_install_package.php?id={tmpl_var name='pkg_id'}');"><span>{tmpl_var name='btn_install'}</span></button>
<button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onclick="loadContent('aps/availablepackages_list.php');"><span>{tmpl_var name='btn_cancel'}</span></button>
</div>
</div>
......
......@@ -14,7 +14,7 @@
</tmpl_if>
<th class="tbl_col_installlocation" scope="col">{tmpl_var name='install_location_txt'}</th>
<th class="tbl_col_instancestatus" scope="col">{tmpl_var name='status_txt'}</th>
<th class="tbl_col_buttons" scope="col" >&nbsp;</th>
<th class="tbl_col_limit" scope="col" >&nbsp;</th>
</tr>
<tr class="filter">
<td class="tbl_col_name"><input type="text" name="search_name" value="{tmpl_var name='search_name'}" /></td>
......
......@@ -13,7 +13,7 @@
<tmpl_if name='is_admin'>
<th class="tbl_col_status" scope="col">{tmpl_var name='status_txt'}</th>
</tmpl_if>
<th class="tbl_col_buttons" scope="col" width="60px;">&nbsp;</th>
<th class="tbl_col_limit" scope="col">&nbsp;</th>
</tr>
<tr class="filter">
<td class="tbl_col_name"><input type="text" name="search_name" value="{tmpl_var name='search_name'}" /></td>
......@@ -34,7 +34,7 @@
<tmpl_if name='is_admin'>
<td class="tbl_col_status"><a href="javascript:loadContentInto('status_content{tmpl_var name='__ROWNUM__'}', 'sites/aps_do_operation.php?action=change_status&id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}');"><span id="status_content{tmpl_var name='__ROWNUM__'}">{tmpl_var name='package_status'}</span></a></td>
</tmpl_if>
<td>&nbsp;</td>
<td class="tbl_col_buttons">&nbsp;</td>
</tr>
</tmpl_loop>
</tbody>
......
<h2><tmpl_var name="list_head_txt"></h2>
<p><tmpl_var name="list_desc_txt"></p>
<div class="panel panel_list_database_user_admin">
......@@ -16,12 +17,12 @@
<fieldset><legend><tmpl_var name="list_head_txt"></legend>
<table class="list">
<thead>
<tr>
<tr class="caption">
<th class="tbl_col_database_user" scope="col"><tmpl_var name="database_user_txt"></th>
<th class="tbl_col_limit" scope="col">{tmpl_var name='search_limit'}</th>
</tr>
<tr>
<td class="tbl_col_database_user"><input type="text" name="search_database_user" value="{tmpl_var name='search_database_user'}" /></td>
<tr class="filter">
<td class="tbl_col_database_user"><input type="text" name="search_database_user" value="{tmpl_var name='search_database_user'}"/></td>
<td class="tbl_col_buttons"><button type="button" class="button icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','sites/database_user_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></td>
</tr>
</thead>
......
......@@ -17,11 +17,11 @@
<fieldset><legend><tmpl_var name="list_head_txt"></legend>
<table class="list">
<thead>
<tr>
<tr class="caption">
<th class="tbl_col_database_user" scope="col"><tmpl_var name="database_user_txt"></th>
<th class="tbl_col_limit" scope="col">{tmpl_var name='search_limit'}</th>
</tr>
<tr>
<tr class="filter">
<td class="tbl_col_database_user"><input type="text" name="search_database_user" value="{tmpl_var name='search_database_user'}"/></td>
<td class="tbl_col_buttons"><button type="button" class="button icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="submitForm('pageForm','sites/database_user_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></td>
</tr>
......
......@@ -16,7 +16,7 @@
<th class="tbl_col_date" scope="col"><tmpl_var name="date_txt"></th>
<th class="tbl_col_date" scope="col"><tmpl_var name="backup_type_txt"></th>
<th class="tbl_col_filename" scope="col"><tmpl_var name="filename_txt"></th>
<th class="tbl_col_buttons" scope="col">&nbsp;</th>
<th class="tbl_col_limit" scope="col">{tmpl_var name='search_limit'}</th>
</tr>
</thead>
<tbody>
......
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