From ffe8428a13a5ff6fcc77bd5dd26f1d17e981d33d Mon Sep 17 00:00:00 2001 From: cfoe <cfoe@ispconfig3> Date: Sat, 7 Jul 2012 18:50:28 +0000 Subject: [PATCH] removed enclosing div from a.button and button elements --- .../web/themes/default-v2/css/styles.css | 50 +++++++++-------- .../templates/admin/firewall_list.htm | 10 ++-- .../templates/admin/groups_list.htm | 10 ++-- .../templates/admin/iptables_list.htm | 10 ++-- .../templates/admin/remote_user_list.htm | 10 ++-- .../templates/admin/server_config_list.htm | 8 +-- .../templates/admin/server_ip_list.htm | 10 ++-- .../templates/admin/server_list.htm | 8 +-- .../templates/admin/server_php_list.htm | 10 ++-- .../templates/admin/software_package_list.htm | 2 +- .../templates/admin/software_repo_list.htm | 10 ++-- .../default-v2/templates/admin/users_list.htm | 16 +++--- .../templates/client/client_circle_list.htm | 8 ++- .../templates/client/client_template_list.htm | 10 ++-- .../templates/client/clients_list.htm | 16 +++--- .../templates/client/resellers_list.htm | 12 ++--- .../default-v2/templates/dns/dns_a_list.htm | 53 ++++++------------- .../templates/dns/dns_slave_list.htm | 10 ++-- .../default-v2/templates/dns/dns_soa_list.htm | 16 +++--- .../templates/dns/dns_template_list.htm | 10 ++-- .../templates/domain/domain_list.htm | 12 ++--- .../help/faq_manage_questions_list.htm | 8 ++- .../templates/help/help_faq_list.htm | 2 +- .../templates/help/help_faq_sections_list.htm | 10 ++-- .../templates/help/support_message_list.htm | 10 ++-- .../templates/mail/mail_alias_list.htm | 10 ++-- .../templates/mail/mail_aliasdomain_list.htm | 10 ++-- .../templates/mail/mail_blacklist_list.htm | 10 ++-- .../mail/mail_content_filter_list.htm | 10 ++-- .../templates/mail/mail_domain_admin_list.htm | 10 ++-- .../mail/mail_domain_catchall_list.htm | 10 ++-- .../templates/mail/mail_domain_list.htm | 10 ++-- .../templates/mail/mail_forward_list.htm | 10 ++-- .../templates/mail/mail_get_list.htm | 10 ++-- .../templates/mail/mail_mailinglist_list.htm | 14 ++--- .../mail/mail_relay_recipient_list.htm | 10 ++-- .../templates/mail/mail_transport_list.htm | 10 ++-- .../templates/mail/mail_user_filter_list.htm | 10 ++-- .../templates/mail/mail_user_list.htm | 16 +++--- .../templates/mail/mail_user_stats_list.htm | 10 ++-- .../templates/mail/mail_whitelist_list.htm | 10 ++-- .../mail/spamfilter_blacklist_list.htm | 10 ++-- .../templates/mail/spamfilter_config_list.htm | 10 ++-- .../templates/mail/spamfilter_policy_list.htm | 10 ++-- .../templates/mail/spamfilter_users_list.htm | 10 ++-- .../mail/spamfilter_whitelist_list.htm | 10 ++-- .../templates/mail/user_quota_stats_list.htm | 10 +--- .../mailuser/mail_user_filter_list.htm | 10 ++-- .../templates/monitor/datalog_list.htm | 10 ++-- .../templates/monitor/syslog_list.htm | 12 ++--- .../templates/sites/aps_instances_list.htm | 6 +-- .../sites/aps_packagedetails_show.htm | 4 +- .../templates/sites/aps_packages_list.htm | 2 +- .../default-v2/templates/sites/cron_list.htm | 8 +-- .../templates/sites/database_admin_list.htm | 18 +++---- .../templates/sites/database_list.htm | 18 +++---- .../templates/sites/ftp_user_list.htm | 16 +++--- .../templates/sites/shell_user_list.htm | 10 ++-- .../templates/sites/user_quota_stats_list.htm | 10 ++-- .../templates/sites/web_aliasdomain_list.htm | 10 ++-- .../templates/sites/web_backup_list.htm | 4 +- .../templates/sites/web_domain_admin_list.htm | 10 ++-- .../templates/sites/web_domain_list.htm | 10 ++-- .../templates/sites/web_folder_list.htm | 10 ++-- .../templates/sites/web_folder_user_list.htm | 10 ++-- .../templates/sites/web_sites_stats_list.htm | 9 ++-- .../templates/sites/web_subdomain_list.htm | 10 ++-- .../templates/sites/webdav_user_list.htm | 10 ++-- .../templates/vm/openvz_ip_list.htm | 10 ++-- .../templates/vm/openvz_ostemplate_list.htm | 10 ++-- .../templates/vm/openvz_template_list.htm | 10 ++-- .../templates/vm/openvz_vm_list.htm | 12 ++--- 72 files changed, 387 insertions(+), 423 deletions(-) diff --git a/interface/web/themes/default-v2/css/styles.css b/interface/web/themes/default-v2/css/styles.css index dce5e3777..031b8a5fe 100644 --- a/interface/web/themes/default-v2/css/styles.css +++ b/interface/web/themes/default-v2/css/styles.css @@ -745,29 +745,37 @@ table.list td.tbl_col_buttons { word-wrap:normal;white-space:normal; } #ir-No { background-image:url("../icons/x16/cross_circle.png"); height:16px; } /* BUTTONS */ -.buttons a, .buttons button{ - display:block; - float:left; - margin:0 7px 0 0; - background-color:#f5f5f5; - border:1px solid #777777; - border-top: 1px solid #c8c8c8; - border-left:1px solid #c8c8c8; - - font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif; - font-size:90%; - line-height:130%; - text-decoration:none; - font-weight:bold; - color:#565656; - cursor:pointer; - padding:5px 10px 6px 7px; /* Links */ +a.button, +.button { + display: inline-block; + margin: 0 2px; + padding: 2px 5px; + color: #525252; + text-shadow: 0px 1px 1px #fff; + border: 1px solid #c6c6c6; + border-radius: 4px; + background: #f7f7f7; + background: -moz-linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#e6e6e6)); + background: -o-linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); + background: -ms-linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); + background: linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); + box-shadow: 0 1px 1px 0 rgba(140, 140, 140, 0.3); + -o-box-shadow: 0 1px 1px 0 rgba(140, 140, 140, 0.3); + -webkit-box-shadow: 0 1px 1px 0 rgba(140, 140, 140, 0.3); + -moz-box-shadow: 0 1px 1px 0 rgba(140, 140, 140, 0.3); + text-decoration: none; } -.buttons button{ - width:auto; - overflow:visible; - padding:4px 10px 3px 7px; /* IE6 */ +a.button:focus, +input.button:focus { + border-color: #4fadd5; + box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6); + -moz-box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6); + -webkit-box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6); + -o-box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6); + outline: none; } + .buttons button[type]{ padding:5px 10px 5px 7px; /* Firefox */ line-height:17px; /* Safari */ diff --git a/interface/web/themes/default-v2/templates/admin/firewall_list.htm b/interface/web/themes/default-v2/templates/admin/firewall_list.htm index ec91ed1c5..53e2e4bc3 100644 --- a/interface/web/themes/default-v2/templates/admin/firewall_list.htm +++ b/interface/web/themes/default-v2/templates/admin/firewall_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('admin/firewall_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('admin/firewall_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -29,7 +29,9 @@ <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_tcp_port"><input type="text" name="search_tcp_port" value="{tmpl_var name='search_tcp_port'}" /></td> <td class="tbl_col_udp_port"><input type="text" name="search_udp_port" value="{tmpl_var name='search_udp_port'}" /></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/firewall_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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/firewall_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -40,9 +42,7 @@ <td class="tbl_col_tcp_port"><a href="#" onClick="loadContent('admin/firewall_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="tcp_port"}</a></td> <td class="tbl_col_udp_port"><a href="#" onClick="loadContent('admin/firewall_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="udp_port"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('admin/firewall_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> + <a class="button icons16 icoDelete" href="javascript: del_record('admin/firewall_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/admin/groups_list.htm b/interface/web/themes/default-v2/templates/admin/groups_list.htm index e116bebc5..6cdbcc394 100644 --- a/interface/web/themes/default-v2/templates/admin/groups_list.htm +++ b/interface/web/themes/default-v2/templates/admin/groups_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('admin/groups_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('admin/groups_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> <p><tmpl_var name="warning_txt"></p> @@ -26,7 +26,9 @@ <tr class="filter"> <td class="tbl_col_name"><input type="text" name="search_name" value="{tmpl_var name='search_name'}" /></td> <td class="tbl_col_description"><input type="text" name="search_description" value="{tmpl_var name='search_description'}" /></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/groups_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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/groups_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -35,9 +37,7 @@ <td class="tbl_col_name"><a href="#" onClick="loadContent('admin/groups_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="name"}</a></td> <td class="tbl_col_description"><a href="#" onClick="loadContent('admin/groups_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="description"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('admin/groups_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> + <a class="button icons16 icoDelete" href="javascript: del_record('admin/groups_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/admin/iptables_list.htm b/interface/web/themes/default-v2/templates/admin/iptables_list.htm index 6e9a81124..f1159f329 100644 --- a/interface/web/themes/default-v2/templates/admin/iptables_list.htm +++ b/interface/web/themes/default-v2/templates/admin/iptables_list.htm @@ -5,7 +5,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>Tools</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('admin/iptables_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('admin/iptables_edit.php');"> <span>{tmpl_var name="add_new_rule_txt"}</span> </button> </div> @@ -37,9 +37,7 @@ <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> + <button type="button" class="button 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> </td> </tr> </thead> @@ -55,9 +53,7 @@ <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> - </div> + <a class="button 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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/admin/remote_user_list.htm b/interface/web/themes/default-v2/templates/admin/remote_user_list.htm index 510511cdf..8ab777575 100644 --- a/interface/web/themes/default-v2/templates/admin/remote_user_list.htm +++ b/interface/web/themes/default-v2/templates/admin/remote_user_list.htm @@ -5,7 +5,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('admin/remote_user_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('admin/remote_user_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -24,7 +24,9 @@ <tr class="filter"> <td class="tbl_col_remote_userid"></td> <td class="tbl_col_remote_username"><input type="text" name="search_username" value="{tmpl_var name='search_username'}" /></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/remote_user_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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/remote_user_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -33,9 +35,7 @@ <td class="tbl_col_remote_userid"><a href="#" onClick="loadContent('admin/remote_user_edit.php?id={tmpl_var name='remote_userid'}');">{tmpl_var name="remote_userid"}</a></td> <td class="tbl_col_remote_username"><a href="#" onClick="loadContent('admin/remote_user_edit.php?id={tmpl_var name='remote_userid'}');">{tmpl_var name="remote_username"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('admin/remote_user_del.php?id={tmpl_var name='remote_userid'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name='delete_txt'}</span></a> - </div> + <a class="button icons16 icoDelete" href="javascript: del_record('admin/remote_user_del.php?id={tmpl_var name='remote_userid'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name='delete_txt'}</span></a> </td> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/admin/server_config_list.htm b/interface/web/themes/default-v2/templates/admin/server_config_list.htm index 35fe65089..b2f0aa352 100644 --- a/interface/web/themes/default-v2/templates/admin/server_config_list.htm +++ b/interface/web/themes/default-v2/templates/admin/server_config_list.htm @@ -13,7 +13,9 @@ </tr> <tr class="filter"> <td class="tbl_col_server_name"><input type="text" name="search_server_name" value="{tmpl_var name='search_server_name'}" /></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/server_config_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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_config_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -21,9 +23,7 @@ <tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>"> <td class="tbl_col_server_name"><a href="#" onClick="loadContent('admin/server_config_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="server_name"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('admin/server_config_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> + <a class="button icons16 icoDelete" href="javascript: del_record('admin/server_config_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/admin/server_ip_list.htm b/interface/web/themes/default-v2/templates/admin/server_ip_list.htm index 4217f70f5..6a3f135d9 100644 --- a/interface/web/themes/default-v2/templates/admin/server_ip_list.htm +++ b/interface/web/themes/default-v2/templates/admin/server_ip_list.htm @@ -5,7 +5,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('admin/server_ip_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('admin/server_ip_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -32,7 +32,9 @@ <td class="tbl_col_ip_address"><input type="text" name="search_ip_address" value="{tmpl_var name='search_ip_address'}" /></td> <td class="tbl_col_virtualhost"><select name="search_virtualhost">{tmpl_var name='search_virtualhost'}</select></td> <td class="tbl_col_virtualhost_port"><input type="text" name="search_virtualhost_port" value="{tmpl_var name='search_virtualhost_port'}" /></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/server_ip_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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_ip_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -45,9 +47,7 @@ <td class="tbl_col_virtualhost"><a href="#" onClick="loadContent('admin/server_ip_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="virtualhost"}</a></td> <td class="tbl_col_virtualhost_port"><a href="#" onClick="loadContent('admin/server_ip_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="virtualhost_port"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('admin/server_ip_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> + <a class="button icons16 icoDelete" href="javascript: del_record('admin/server_ip_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/admin/server_list.htm b/interface/web/themes/default-v2/templates/admin/server_list.htm index 538c1d39a..fd2da095c 100644 --- a/interface/web/themes/default-v2/templates/admin/server_list.htm +++ b/interface/web/themes/default-v2/templates/admin/server_list.htm @@ -25,7 +25,9 @@ <td class="tbl_col_file_server"><select name="search_active">{tmpl_var name='search_file_server'}</select></td> <td class="tbl_col_db_server"><select name="search_active">{tmpl_var name='search_db_server'}</select></td> <td class="tbl_col_vserver_server"><select name="search_active">{tmpl_var name='search_vserver_server'}</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/server_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -39,9 +41,7 @@ <td class="tbl_col_db_server">{tmpl_var name="db_server"}</td> <td class="tbl_col_vserver_server">{tmpl_var name="vserver_server"}</td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('admin/server_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> + <a class="button icons16 icoDelete" href="javascript: del_record('admin/server_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/admin/server_php_list.htm b/interface/web/themes/default-v2/templates/admin/server_php_list.htm index 3e4984543..da4a86aba 100644 --- a/interface/web/themes/default-v2/templates/admin/server_php_list.htm +++ b/interface/web/themes/default-v2/templates/admin/server_php_list.htm @@ -5,7 +5,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('admin/server_php_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('admin/server_php_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -26,7 +26,9 @@ <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_client_id"><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_buttons"><div class="buttons"><button type="button" class="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></div></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> </tr> </thead> <tbody> @@ -36,9 +38,7 @@ <td class="tbl_col_client_id"><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_buttons"> - <div class="buttons icons16"> - <a class="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> - </div> + <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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/admin/software_package_list.htm b/interface/web/themes/default-v2/templates/admin/software_package_list.htm index df8e517dc..d31d8ff34 100644 --- a/interface/web/themes/default-v2/templates/admin/software_package_list.htm +++ b/interface/web/themes/default-v2/templates/admin/software_package_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('admin/software_package_list.php?action=repoupdate');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('admin/software_package_list.php?action=repoupdate');"> <span>{tmpl_var name="repoupdate_txt"}</span> </button> </div> diff --git a/interface/web/themes/default-v2/templates/admin/software_repo_list.htm b/interface/web/themes/default-v2/templates/admin/software_repo_list.htm index 6052c29b0..66aa39663 100644 --- a/interface/web/themes/default-v2/templates/admin/software_repo_list.htm +++ b/interface/web/themes/default-v2/templates/admin/software_repo_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('admin/software_repo_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('admin/software_repo_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -27,7 +27,9 @@ <td class="tbl_col_active"><select name="search_active">{tmpl_var name='search_active'}</select></td> <td class="tbl_col_repo_name"><input type="text" name="search_repo_name" value="{tmpl_var name='search_repo_name'}" /></td> <td class="tbl_col_repo_url"><input type="text" name="search_repo_url" value="{tmpl_var name='search_repo_url'}" /></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/software_repo_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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/software_repo_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -37,9 +39,7 @@ <td class="tbl_col_repo_name"><a href="#" onClick="loadContent('admin/software_repo_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="repo_name"}</a></td> <td class="tbl_col_repo_url"><a href="#" onClick="loadContent('admin/software_repo_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="repo_url"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('admin/software_repo_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> + <a class="button icons16 icoDelete" href="javascript: del_record('admin/software_repo_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/admin/users_list.htm b/interface/web/themes/default-v2/templates/admin/users_list.htm index b9213fa0e..6180386cc 100644 --- a/interface/web/themes/default-v2/templates/admin/users_list.htm +++ b/interface/web/themes/default-v2/templates/admin/users_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('admin/users_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('admin/users_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> <p><tmpl_var name="warning_txt"></p> @@ -28,7 +28,9 @@ <td class="tbl_col_client_id"><input type="text" name="search_client_id" value="{tmpl_var name='search_client_id'}" /></td> <td class="tbl_col_active"><select name="search_active">{tmpl_var name='search_active'}</select></td> <td class="tbl_col_username"><input type="text" name="search_username" value="{tmpl_var name='search_username'}" /></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/users_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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/users_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -38,12 +40,10 @@ <td class="tbl_col_active"><a href="#" onClick="loadContent('admin/users_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="active"}</a></td> <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="javascript: 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> + <tmpl_if name="username" op="!=" value="admin"> + <a class="button icons16 icoLoginAs" href="javascript: loadContent('admin/login_as.php?id={tmpl_var name='id'}');"><span>{tmpl_var name='login_as_txt'}</span></a> + <a class="button 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> </td> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/client/client_circle_list.htm b/interface/web/themes/default-v2/templates/client/client_circle_list.htm index 32eb791cc..2981dbe85 100644 --- a/interface/web/themes/default-v2/templates/client/client_circle_list.htm +++ b/interface/web/themes/default-v2/templates/client/client_circle_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('client/client_circle_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('client/client_circle_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -29,7 +29,7 @@ <td class="tbl_col_active"><select name="search_active">{tmpl_var name='search_active'}</select></td> <td class="tbl_col_circle_name"><input type="text" name="search_circle_name" value="{tmpl_var name='search_circle_name'}" style="width:120px;" /></td> <td class="tbl_col_description"><input type="text" name="search_description" value="{tmpl_var name='search_description'}" style="width:120px;" /></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','client/client_circle_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></td> + <td class="tbl_col_buttons"><div class="buttons"><button type="button" class="button icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onClick="submitForm('pageForm','client/client_circle_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></td> </tr> </thead> <tbody> @@ -40,9 +40,7 @@ <td class="tbl_col_circle_name"><a href="#" onClick="loadContent('client/client_circle_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="circle_name"}</a></td> <td class="tbl_col_description"><a href="#" onClick="loadContent('client/client_circle_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="description"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16" style="width:60px;"> - <a class="icons16 icoDelete" href="javascript: del_record('client/client_circle_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> + <a class="button icons16 icoDelete" href="javascript: del_record('client/client_circle_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/client/client_template_list.htm b/interface/web/themes/default-v2/templates/client/client_template_list.htm index 52d554655..71415ffc0 100644 --- a/interface/web/themes/default-v2/templates/client/client_template_list.htm +++ b/interface/web/themes/default-v2/templates/client/client_template_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('client/client_template_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('client/client_template_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -27,7 +27,9 @@ <td class="tbl_col_template_id"><input type="text" name="search_template_id" value="{tmpl_var name='search_template_id'}" style="width:30px;" /></td> <td class="tbl_col_template_type"><select name="search_template_type">{tmpl_var name='search_template_type'}</select></td> <td class="tbl_col_template_name"><input type="text" name="search_template_name" value="{tmpl_var name='search_template_name'}" /></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','client/client_template_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','client/client_template_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -37,9 +39,7 @@ <td class="tbl_col_template_type"><a href="#" onClick="loadContent('client/client_template_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="template_type"}</a></td> <td class="tbl_col_template_name"><a href="#" onClick="loadContent('client/client_template_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="template_name"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('client/client_template_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> + <a class="button icons16 icoDelete" href="javascript: del_record('client/client_template_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/client/clients_list.htm b/interface/web/themes/default-v2/templates/client/clients_list.htm index 431482039..e95ac2c25 100644 --- a/interface/web/themes/default-v2/templates/client/clients_list.htm +++ b/interface/web/themes/default-v2/templates/client/clients_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('client/client_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('client/client_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -33,7 +33,9 @@ <td class="tbl_col_username"><input type="text" name="search_username" value="{tmpl_var name='search_username'}" style="width:120px;" /></td> <td class="tbl_col_city"><input type="text" name="search_city" value="{tmpl_var name='search_city'}" style="width:120px;" /></td> <td class="tbl_col_country"><input type="text" name="search_country" value="{tmpl_var name='search_country'}" style="width:30px;" /></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','client/client_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','client/client_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -46,12 +48,10 @@ <td class="tbl_col_city"><a href="#" onClick="loadContent('client/client_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="city"}</a></td> <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="javascript: loadContent('admin/login_as.php?id={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> + <tmpl_if name="is_admin"> + <a class="button icons16 icoLoginAs" href="javascript: loadContent('admin/login_as.php?id={tmpl_var name='id'}');"><span>{tmpl_var name='login_as_txt'}</span></a> + </tmpl_if> + <a class="button 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> </td> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/client/resellers_list.htm b/interface/web/themes/default-v2/templates/client/resellers_list.htm index d5585c7c7..6b355169e 100644 --- a/interface/web/themes/default-v2/templates/client/resellers_list.htm +++ b/interface/web/themes/default-v2/templates/client/resellers_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('client/reseller_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('client/reseller_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -31,7 +31,9 @@ <td class="tbl_col_contact_name"><input type="text" name="search_contact_name" value="{tmpl_var name='search_contact_name'}" style="width:120px;" /></td> <td class="tbl_col_city"><input type="text" name="search_city" value="{tmpl_var name='search_city'}" style="width:120px;" /></td> <td class="tbl_col_country"><input type="text" name="search_country" value="{tmpl_var name='search_country'}" style="width:30px;" /></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','client/reseller_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','client/reseller_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -43,10 +45,8 @@ <td class="tbl_col_city"><a href="#" onClick="loadContent('client/reseller_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="city"}</a></td> <td class="tbl_col_country"><a href="#" onClick="loadContent('client/reseller_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;"> - <a class="icons16 icoLoginAs" href="javascript: 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('client/reseller_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> + <a class="button icons16 icoLoginAs" href="javascript: loadContent('admin/login_as.php?id={tmpl_var name='id'}');"><span>{tmpl_var name='login_as_txt'}</span></a> + <a class="button icons16 icoDelete" href="javascript: del_record('client/reseller_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/dns/dns_a_list.htm b/interface/web/themes/default-v2/templates/dns/dns_a_list.htm index 955dbeb5f..087b36018 100644 --- a/interface/web/themes/default-v2/templates/dns/dns_a_list.htm +++ b/interface/web/themes/default-v2/templates/dns/dns_a_list.htm @@ -1,39 +1,16 @@ <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'}');"> - <span>A</span> - </button> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_aaaa_edit.php?zone={tmpl_var name='parent_id'}');"> - <span>AAAA</span> - </button> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_alias_edit.php?zone={tmpl_var name='parent_id'}');"> - <span>ALIAS</span> - </button> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_cname_edit.php?zone={tmpl_var name='parent_id'}');"> - <span>CNAME</span> - </button> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_hinfo_edit.php?zone={tmpl_var name='parent_id'}');"> - <span>HINFO</span> - </button> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_mx_edit.php?zone={tmpl_var name='parent_id'}');"> - <span>MX</span> - </button> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_ns_edit.php?zone={tmpl_var name='parent_id'}');"> - <span>NS</span> - </button> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_ptr_edit.php?zone={tmpl_var name='parent_id'}');"> - <span>PTR</span> - </button> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_rp_edit.php?zone={tmpl_var name='parent_id'}');"> - <span>RP</span> - </button> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_srv_edit.php?zone={tmpl_var name='parent_id'}');"> - <span>SRV</span> - </button> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_txt_edit.php?zone={tmpl_var name='parent_id'}');"> - <span>TXT</span> - </button> + <div class="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> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_aaaa_edit.php?zone={tmpl_var name='parent_id'}');"><span>AAAA</span></button> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_alias_edit.php?zone={tmpl_var name='parent_id'}');"><span>ALIAS</span></button> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_cname_edit.php?zone={tmpl_var name='parent_id'}');"><span>CNAME</span></button> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_hinfo_edit.php?zone={tmpl_var name='parent_id'}');"><span>HINFO</span></button> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_mx_edit.php?zone={tmpl_var name='parent_id'}');"><span>MX</span></button> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_ns_edit.php?zone={tmpl_var name='parent_id'}');"><span>NS</span></button> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_ptr_edit.php?zone={tmpl_var name='parent_id'}');"><span>PTR</span></button> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_rp_edit.php?zone={tmpl_var name='parent_id'}');"><span>RP</span></button> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_srv_edit.php?zone={tmpl_var name='parent_id'}');"><span>SRV</span></button> </div> </fieldset> </div> @@ -58,7 +35,9 @@ <td class="tbl_col_data"><input type="text" name="search_data" value="{tmpl_var name='search_data'}" /></td> <td class="tbl_col_aux"><input type="text" name="search_aux" value="{tmpl_var name='search_aux'}" /></td> <td class="tbl_col_ttl"><input type="text" name="search_ttl" value="{tmpl_var name='search_ttl'}" /></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="changeTab('dns_records','dns/dns_soa_edit.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></td> + <td class="tbl_col_buttons"> + <button type="button" class="button icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onClick="changeTab('dns_records','dns/dns_soa_edit.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -71,9 +50,7 @@ <td class="tbl_col_aux"><a href="#" onClick="loadContent('dns/dns_{tmpl_var name='type_lowercase'}_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="aux"}</a></td> <td class="tbl_col_ttl"><a href="#" onClick="loadContent('dns/dns_{tmpl_var name='type_lowercase'}_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="ttl"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('dns/dns_rr_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> + <a class="button icons16 icoDelete" href="javascript: del_record('dns/dns_rr_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/dns/dns_slave_list.htm b/interface/web/themes/default-v2/templates/dns/dns_slave_list.htm index b8a66211f..730b13ae3 100644 --- a/interface/web/themes/default-v2/templates/dns/dns_slave_list.htm +++ b/interface/web/themes/default-v2/templates/dns/dns_slave_list.htm @@ -6,7 +6,7 @@ <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_slave_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_slave_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -29,7 +29,9 @@ <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_origin"><input type="text" name="search_origin" value="{tmpl_var name='search_origin'}" /></td> <td class="tbl_col_ns"><input type="text" name="search_ns" value="{tmpl_var name='search_ns'}" /></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','dns/dns_slave_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','dns/dns_slave_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -40,9 +42,7 @@ <td class="tbl_col_origin"><a href="#" onClick="loadContent('dns/dns_slave_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="origin"}</a></td> <td class="tbl_col_ns"><a href="#" onClick="loadContent('dns/dns_slave_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="ns"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('dns/dns_slave_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> + <a class="button icons16 icoDelete" href="javascript: del_record('dns/dns_slave_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/dns/dns_soa_list.htm b/interface/web/themes/default-v2/templates/dns/dns_soa_list.htm index 5c5d1eab3..980b002fd 100644 --- a/interface/web/themes/default-v2/templates/dns/dns_soa_list.htm +++ b/interface/web/themes/default-v2/templates/dns/dns_soa_list.htm @@ -6,9 +6,9 @@ <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_wizard.php');"><span>{tmpl_var name="add_new_record_wizard_txt"}</span></button> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_soa_edit.php');"><span>{tmpl_var name="add_new_record_txt"}</span></button> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_import.php');"><span>Import Zone File</span></button> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_wizard.php');"><span>{tmpl_var name="add_new_record_wizard_txt"}</span></button> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_soa_edit.php');"><span>{tmpl_var name="add_new_record_txt"}</span></button> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_import.php');"><span>Import Zone File</span></button> </div> </fieldset> </div> @@ -31,7 +31,9 @@ <td class="tbl_col_origin"><input type="text" name="search_origin" value="{tmpl_var name='search_origin'}" /></td> <td class="tbl_col_ns"><input type="text" name="search_ns" value="{tmpl_var name='search_ns'}" /></td> <td class="tbl_col_mbox"><input type="text" name="search_mbox" value="{tmpl_var name='search_mbox'}" /></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','dns/dns_soa_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','dns/dns_soa_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -42,10 +44,8 @@ <td class="tbl_col_origin"><a href="#" onClick="loadContent('dns/dns_soa_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="origin"}</a></td> <td class="tbl_col_ns"><a href="#" onClick="loadContent('dns/dns_soa_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="ns"}</a></td> <td class="tbl_col_mbox"><a href="#" onClick="loadContent('dns/dns_soa_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="mbox"}</a></td> - <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('dns/dns_soa_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 class="tbl_col_buttons"> + <a class="button icons16 icoDelete" href="javascript: del_record('dns/dns_soa_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/dns/dns_template_list.htm b/interface/web/themes/default-v2/templates/dns/dns_template_list.htm index 024063c57..87b28387e 100644 --- a/interface/web/themes/default-v2/templates/dns/dns_template_list.htm +++ b/interface/web/themes/default-v2/templates/dns/dns_template_list.htm @@ -6,7 +6,7 @@ <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_template_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('dns/dns_template_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -25,7 +25,9 @@ <tr class="filter"> <td class="tbl_col_visible"><select name="search_visible">{tmpl_var name='search_visible'}</select></td> <td class="tbl_col_name"><input type="text" name="search_name" value="{tmpl_var name='search_name'}" /></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','dns/dns_template_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','dns/dns_template_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -34,9 +36,7 @@ <td class="tbl_col_visible"><a href="#" onClick="loadContent('dns/dns_template_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="visible"}</a></td> <td class="tbl_col_name"><a href="#" onClick="loadContent('dns/dns_template_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="name"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('dns/dns_template_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> + <a class="button icons16 icoDelete" href="javascript: del_record('dns/dns_template_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/domain/domain_list.htm b/interface/web/themes/default-v2/templates/domain/domain_list.htm index b0ad81a11..d4a1e6181 100644 --- a/interface/web/themes/default-v2/templates/domain/domain_list.htm +++ b/interface/web/themes/default-v2/templates/domain/domain_list.htm @@ -7,11 +7,11 @@ <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> <tmpl_if name="is_admin"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('domain/domain_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('domain/domain_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> <tmpl_else> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('domain/domain_new_client.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('domain/domain_new_client.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </tmpl_if> @@ -31,7 +31,9 @@ <tr class="filter"> <td class="tbl_col_domain"><input type="text" name="search_domain" value="{tmpl_var name='search_domain'}" /></td> <td class="tbl_col_sys_groupid"><select name="search_sys_groupid">{tmpl_var name='search_sys_groupid'}</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','domain/domain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','domain/domain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -41,9 +43,7 @@ <td class="tbl_col_sys_groupid"><a href="#" onClick="loadContent('domain/domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="sys_groupid"}</a></td> <td class="tbl_col_buttons"> <tmpl_if name="is_admin"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('domain/domain_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> + <a class="button icons16 icoDelete" href="javascript: del_record('domain/domain_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> </td> </tr> diff --git a/interface/web/themes/default-v2/templates/help/faq_manage_questions_list.htm b/interface/web/themes/default-v2/templates/help/faq_manage_questions_list.htm index 760924347..ad5d1f8fa 100644 --- a/interface/web/themes/default-v2/templates/help/faq_manage_questions_list.htm +++ b/interface/web/themes/default-v2/templates/help/faq_manage_questions_list.htm @@ -4,7 +4,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onclick="loadContent('help/faq_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onclick="loadContent('help/faq_edit.php');"> <span>{tmpl_var name="faq_new_question_txt"}</span> </button> </div> @@ -26,10 +26,8 @@ <tr> <td>{tmpl_var name='hf_question'}</td> <td>{tmpl_var name='hf_section'}</td> - <td> - <div class="buttons icons16"> - <a class="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> </div> + <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> diff --git a/interface/web/themes/default-v2/templates/help/help_faq_list.htm b/interface/web/themes/default-v2/templates/help/help_faq_list.htm index 6af928f76..af11e7e5e 100644 --- a/interface/web/themes/default-v2/templates/help/help_faq_list.htm +++ b/interface/web/themes/default-v2/templates/help/help_faq_list.htm @@ -6,7 +6,7 @@ </p> <tmpl_if name='is_admin'> <div class="buttons icons16"> - <a class="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>Delete</span></a> + <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>Delete</span></a> </div> <a href="#" onClick="loadContent('help/faq_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="edit_txt"}</a> <br/> diff --git a/interface/web/themes/default-v2/templates/help/help_faq_sections_list.htm b/interface/web/themes/default-v2/templates/help/help_faq_sections_list.htm index 98e335461..8f1db6ea4 100644 --- a/interface/web/themes/default-v2/templates/help/help_faq_sections_list.htm +++ b/interface/web/themes/default-v2/templates/help/help_faq_sections_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onclick="loadContent('help/faq_sections_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onclick="loadContent('help/faq_sections_edit.php');"> <span>{tmpl_var name="faq_new_section_txt"}</span> </button> </div> @@ -27,11 +27,9 @@ <tr> <td><b>{tmpl_var name='hfs_name'}</b></td> <td> - <div class="buttons icons16"> - <a class="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> </div> - </td><td> - + <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> </tr> diff --git a/interface/web/themes/default-v2/templates/help/support_message_list.htm b/interface/web/themes/default-v2/templates/help/support_message_list.htm index 087a47bc8..6a7d6d640 100644 --- a/interface/web/themes/default-v2/templates/help/support_message_list.htm +++ b/interface/web/themes/default-v2/templates/help/support_message_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('help/support_message_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('help/support_message_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -25,7 +25,9 @@ <tr class="filter"> <td class="tbl_col_sender_id"><select name="search_sender_id">{tmpl_var name='search_sender_id'}</select></td> <td class="tbl_col_subject"><input type="text" name="search_subject" value="{tmpl_var name='search_subject'}" /></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','help/support_message_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','help/support_message_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -34,9 +36,7 @@ <td class="tbl_col_sender_id"><a href="#" onClick="loadContent('help/support_message_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="sender_id"}</a></td> <td class="tbl_col_subject"><a href="#" onClick="loadContent('help/support_message_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="subject"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('help/support_message_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> + <a class="button icons16 icoDelete" href="javascript: del_record('help/support_message_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/mail_alias_list.htm b/interface/web/themes/default-v2/templates/mail/mail_alias_list.htm index e0b8619cf..b6935a75a 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_alias_list.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_alias_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_alias_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_alias_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -27,7 +27,9 @@ <td class="tbl_col_active"><select name="search_active">{tmpl_var name='search_active'}</select></td> <td class="tbl_col_source"><input type="text" name="search_source" value="{tmpl_var name='search_source'}" /></td> <td class="tbl_col_destination"><input type="text" name="search_destination" value="{tmpl_var name='search_destination'}" /></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','mail/mail_alias_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/mail_alias_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -37,9 +39,7 @@ <td class="tbl_col_source"><a href="#" onClick="loadContent('mail/mail_alias_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="source"}</a></td> <td class="tbl_col_destination"><a href="#" onClick="loadContent('mail/mail_alias_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="destination"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/mail_alias_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/mail_alias_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/mail_aliasdomain_list.htm b/interface/web/themes/default-v2/templates/mail/mail_aliasdomain_list.htm index bf2d78157..5303a78b4 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_aliasdomain_list.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_aliasdomain_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_aliasdomain_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_aliasdomain_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -27,7 +27,9 @@ <td class="tbl_col_active"><select name="search_active">{tmpl_var name='search_active'}</select></td> <td class="tbl_col_source"><input type="text" name="search_source" value="{tmpl_var name='search_source'}" /></td> <td class="tbl_col_destination"><input type="text" name="search_destination" value="{tmpl_var name='search_destination'}" /></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','mail/mail_aliasdomain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/mail_aliasdomain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -37,9 +39,7 @@ <td class="tbl_col_source"><a href="#" onClick="loadContent('mail/mail_aliasdomain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="source"}</a></td> <td class="tbl_col_destination"><a href="#" onClick="loadContent('mail/mail_aliasdomain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="destination"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/mail_aliasdomain_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/mail_aliasdomain_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/mail_blacklist_list.htm b/interface/web/themes/default-v2/templates/mail/mail_blacklist_list.htm index b8c228fcc..cb410099a 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_blacklist_list.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_blacklist_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_blacklist_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_blacklist_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -29,7 +29,9 @@ <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_source"><input type="text" name="search_source" value="{tmpl_var name='search_source'}" /></td> <td class="tbl_col_type"><select name="search_type">{tmpl_var name='search_type'}</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','mail/mail_blacklist_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/mail_blacklist_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -40,9 +42,7 @@ <td class="tbl_col_source"><a href="#" onClick="loadContent('mail/mail_blacklist_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="source"}</a></td> <td class="tbl_col_type"><a href="#" onClick="loadContent('mail/mail_blacklist_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="type"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/mail_blacklist_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/mail_blacklist_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/mail_content_filter_list.htm b/interface/web/themes/default-v2/templates/mail/mail_content_filter_list.htm index 22df77a15..c55d9990a 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_content_filter_list.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_content_filter_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_content_filter_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_content_filter_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -29,7 +29,9 @@ <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_pattern"><input type="text" name="search_pattern" value="{tmpl_var name='search_pattern'}" /></td> <td class="tbl_col_action"><select name="search_action">{tmpl_var name='search_action'}</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','mail/mail_content_filter_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/mail_content_filter_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -40,9 +42,7 @@ <td class="tbl_col_pattern"><a href="#" onClick="loadContent('mail/mail_content_filter_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="pattern"}</a></td> <td class="tbl_col_action"><a href="#" onClick="loadContent('mail/mail_content_filter_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="action"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/mail_content_filter_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/mail_content_filter_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/mail_domain_admin_list.htm b/interface/web/themes/default-v2/templates/mail/mail_domain_admin_list.htm index b7006357e..7fae59575 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_domain_admin_list.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_domain_admin_list.htm @@ -5,7 +5,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_domain_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_domain_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -28,7 +28,9 @@ <td class="tbl_col_sys_groupid"><select name="search_sys_groupid">{tmpl_var name='search_sys_groupid'}</select></td> <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_domain"><input type="text" name="search_domain" value="{tmpl_var name='search_domain'}" /></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','mail/mail_domain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/mail_domain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -39,9 +41,7 @@ <td class="tbl_col_server_id"><a href="#" onClick="loadContent('mail/mail_domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="server_id"}</a></td> <td class="tbl_col_domain"><a href="#" onClick="loadContent('mail/mail_domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="domain"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/mail_domain_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/mail_domain_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/mail_domain_catchall_list.htm b/interface/web/themes/default-v2/templates/mail/mail_domain_catchall_list.htm index 86dd9b332..1800917bc 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_domain_catchall_list.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_domain_catchall_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_domain_catchall_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_domain_catchall_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -27,7 +27,9 @@ <td class="tbl_col_active"><select name="search_active">{tmpl_var name='search_active'}</select></td> <td class="tbl_col_source"><input type="text" name="search_source" value="{tmpl_var name='search_source'}" /></td> <td class="tbl_col_destination"><input type="text" name="search_destination" value="{tmpl_var name='search_destination'}" /></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','mail/mail_domain_catchall_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/mail_domain_catchall_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -37,9 +39,7 @@ <td class="tbl_col_source"><a href="#" onClick="loadContent('mail/mail_domain_catchall_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="source"}</a></td> <td class="tbl_col_destination"><a href="#" onClick="loadContent('mail/mail_domain_catchall_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="destination"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/mail_domain_catchall_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/mail_domain_catchall_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/mail_domain_list.htm b/interface/web/themes/default-v2/templates/mail/mail_domain_list.htm index 37d3fd7c1..0b888bd85 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_domain_list.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_domain_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_domain_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_domain_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -27,7 +27,9 @@ <td class="tbl_col_active"><select name="search_active">{tmpl_var name='search_active'}</select></td> <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_domain"><input type="text" name="search_domain" value="{tmpl_var name='search_domain'}" /></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','mail/mail_domain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/mail_domain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -37,9 +39,7 @@ <td class="tbl_col_server_id"><a href="#" onClick="loadContent('mail/mail_domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="server_id"}</a></td> <td class="tbl_col_domain"><a href="#" onClick="loadContent('mail/mail_domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="domain"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/mail_domain_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/mail_domain_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/mail_forward_list.htm b/interface/web/themes/default-v2/templates/mail/mail_forward_list.htm index 774ae1156..83d1be397 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_forward_list.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_forward_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_forward_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_forward_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -27,7 +27,9 @@ <td class="tbl_col_active"><select name="search_active">{tmpl_var name='search_active'}</select></td> <td class="tbl_col_source"><input type="text" name="search_source" value="{tmpl_var name='search_source'}" /></td> <td class="tbl_col_destination"><input type="text" name="search_destination" value="{tmpl_var name='search_destination'}" /></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','mail/mail_forward_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/mail_forward_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -37,9 +39,7 @@ <td class="tbl_col_source"><a href="#" onClick="loadContent('mail/mail_forward_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="source"}</a></td> <td class="tbl_col_destination"><a href="#" onClick="loadContent('mail/mail_forward_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="destination"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/mail_forward_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/mail_forward_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/mail_get_list.htm b/interface/web/themes/default-v2/templates/mail/mail_get_list.htm index 9182e5925..34b731849 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_get_list.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_get_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_get_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_get_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -31,7 +31,9 @@ <td class="tbl_col_source_server"><input type="text" name="search_source_server" value="{tmpl_var name='search_source_server'}" /></td> <td class="tbl_col_source_username"><input type="text" name="search_source_username" value="{tmpl_var name='search_source_username'}" /></td> <td class="tbl_col_destination"><input type="text" name="search_destination" value="{tmpl_var name='search_destination'}" /></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','mail/mail_get_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/mail_get_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -43,9 +45,7 @@ <td class="tbl_col_source_username"><a href="#" onClick="loadContent('mail/mail_get_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="source_username"}</a></td> <td class="tbl_col_destination"><a href="#" onClick="loadContent('mail/mail_get_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="destination"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/mail_get_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/mail_get_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/mail_mailinglist_list.htm b/interface/web/themes/default-v2/templates/mail/mail_mailinglist_list.htm index 20f750b4f..0b9e6b9b6 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_mailinglist_list.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_mailinglist_list.htm @@ -5,7 +5,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_mailinglist_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_mailinglist_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -24,7 +24,9 @@ <tr class="filter"> <td class="tbl_col_listname"><input type="text" name="search_listname" value="{tmpl_var name='search_listname'}" /></td> <td class="tbl_col_domain"><input type="text" name="search_domain" value="{tmpl_var name='search_domain'}" /></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','mail/mail_mailinglist_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/mail_mailinglist_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -33,10 +35,10 @@ <td class="tbl_col_listname"><a href="#" onClick="loadContent('mail/mail_mailinglist_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="listname"}</a></td> <td class="tbl_col_domain"><a href="#" onClick="loadContent('mail/mail_mailinglist_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="domain"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <tmpl_if name="mailmailinglist_link"><a class="icons16 icoWebmailer" href="mail/mailinglist.php?id={tmpl_var name='id'}" target="mailmailinglist"><span>{tmpl_var name='delete_txt'}</span></a></tmpl_if> - <a class="icons16 icoDelete" href="javascript: del_record('mail/mail_mailinglist_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> + <tmpl_if name="mailmailinglist_link"> + <a class="button icons16 icoWebmailer" href="mail/mailinglist.php?id={tmpl_var name='id'}" target="mailmailinglist"><span>{tmpl_var name='delete_txt'}</span></a> + </tmpl_if> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/mail_mailinglist_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/mail_relay_recipient_list.htm b/interface/web/themes/default-v2/templates/mail/mail_relay_recipient_list.htm index bb6fa1290..c86e68f2b 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_relay_recipient_list.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_relay_recipient_list.htm @@ -5,7 +5,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_relay_recipient_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_relay_recipient_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -26,7 +26,9 @@ <td class="tbl_col_active"><select name="search_active">{tmpl_var name='search_active'}</select></td> <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_source"><input type="text" name="search_source" value="{tmpl_var name='search_source'}" /></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','mail/mail_relay_recipient_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/mail_relay_recipient_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -36,9 +38,7 @@ <td class="tbl_col_server_id"><a href="#" onClick="loadContent('mail/mail_relay_recipient_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="server_id"}</a></td> <td class="tbl_col_source"><a href="#" onClick="loadContent('mail/mail_relay_recipient_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="source"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/mail_relay_recipient_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/mail_relay_recipient_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/mail_transport_list.htm b/interface/web/themes/default-v2/templates/mail/mail_transport_list.htm index ac77a6a9b..70bd71745 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_transport_list.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_transport_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_transport_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_transport_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -31,7 +31,9 @@ <td class="tbl_col_domain"><input type="text" name="search_domain" value="{tmpl_var name='search_domain'}" /></td> <td class="tbl_col_transport"><input type="text" name="search_transport" value="{tmpl_var name='search_transport'}" /></td> <td class="tbl_col_sort_order"><input type="text" name="search_sort_order" value="{tmpl_var name='search_sort_order'}" /></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','mail/mail_transport_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/mail_transport_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -43,9 +45,7 @@ <td class="tbl_col_transport"><a href="#" onClick="loadContent('mail/mail_transport_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="transport"}</a></td> <td class="tbl_col_sort_order"><a href="#" onClick="loadContent('mail/mail_transport_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="sort_order"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/mail_transport_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/mail_transport_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/mail_user_filter_list.htm b/interface/web/themes/default-v2/templates/mail/mail_user_filter_list.htm index 6f9faf1dd..018e82562 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_user_filter_list.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_user_filter_list.htm @@ -2,7 +2,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_user_filter_edit.php?mailuser_id={tmpl_var name='parent_id'}');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_user_filter_edit.php?mailuser_id={tmpl_var name='parent_id'}');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -19,7 +19,9 @@ </tr> <tr class="filter"> <td class="tbl_col_rulename"><input type="text" name="search_rulename" value="{tmpl_var name='search_rulename'}" /></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="changeTab('filter_records','mail/mail_user_edit.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></td> + <td class="tbl_col_buttons"> + <button type="button" class="button icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onClick="changeTab('filter_records','mail/mail_user_edit.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -27,9 +29,7 @@ <tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>"> <td class="tbl_col_rulename"><a href="#" onClick="loadContent('mail/mail_user_filter_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="rulename"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/mail_user_filter_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/mail_user_filter_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/mail_user_list.htm b/interface/web/themes/default-v2/templates/mail/mail_user_list.htm index 210486f6b..34fc20def 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_user_list.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_user_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_user_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_user_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -29,7 +29,9 @@ <td class="tbl_col_name"><input type="text" name="search_name" value="{tmpl_var name='search_name'}" /></td> <tmpl_if name="enable_custom_login"><td class="tbl_col_login"><input type="text" name="search_login" value="{tmpl_var name='search_login'}" /></td></tmpl_if> <td class="tbl_col_autoresponder"><input type="text" name="search_autoresponder" value="{tmpl_var name='search_autoresponder'}" /></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','mail/mail_user_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/mail_user_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -44,12 +46,10 @@ <td class="tbl_col_name"><a href="#" onClick="loadContent('mail/mail_user_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="name"}</a></td> <td class="tbl_col_autoresponder"><a href="#" onClick="loadContent('mail/mail_user_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="autoresponder"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <tmpl_if name="mailboxlist_webmail_link"> - <a class="icons16 icoWebmailer" href="mail/webmailer.php?id={tmpl_var name='id'}" target="webmail"><span>{tmpl_var name='delete_txt'}</span></a> - </tmpl_if> - <a class="icons16 icoDelete" href="javascript: del_record('mail/mail_user_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> + <tmpl_if name="mailboxlist_webmail_link"> + <a class="button icons16 icoWebmailer" href="mail/webmailer.php?id={tmpl_var name='id'}" target="webmail"><span>{tmpl_var name='delete_txt'}</span></a> + </tmpl_if> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/mail_user_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/mail_user_stats_list.htm b/interface/web/themes/default-v2/templates/mail/mail_user_stats_list.htm index e6f0cdec0..fac9fa9d1 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_user_stats_list.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_user_stats_list.htm @@ -21,7 +21,9 @@ <td class="tbl_col_last_month"></td> <td class="tbl_col_this_year"></td> <td class="tbl_col_last_year"></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','mail/mail_user_stats.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/mail_user_stats.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -32,11 +34,7 @@ <td class="tbl_col_last_month"><a href="#" onClick="loadContent('mail/mail_user_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="last_month"} MB</a></td> <td class="tbl_col_this_year"><a href="#" onClick="loadContent('mail/mail_user_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="this_year"} MB</a></td> <td class="tbl_col_last_year"><a href="#" onClick="loadContent('mail/mail_user_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="last_year"} MB</a></td> - <td class="tbl_col_buttons"> - <div class="buttons icons16"> - - </div> - </td> + <td class="tbl_col_buttons"></td> </tr> </tmpl_loop> </tbody> diff --git a/interface/web/themes/default-v2/templates/mail/mail_whitelist_list.htm b/interface/web/themes/default-v2/templates/mail/mail_whitelist_list.htm index b0cb92df9..043875a0f 100644 --- a/interface/web/themes/default-v2/templates/mail/mail_whitelist_list.htm +++ b/interface/web/themes/default-v2/templates/mail/mail_whitelist_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_whitelist_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/mail_whitelist_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -29,7 +29,9 @@ <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_source"><input type="text" name="search_source" value="{tmpl_var name='search_source'}" /></td> <td class="tbl_col_type"><select name="search_type">{tmpl_var name='search_type'}</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','mail/mail_whitelist_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/mail_whitelist_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -40,9 +42,7 @@ <td class="tbl_col_source"><a href="#" onClick="loadContent('mail/mail_whitelist_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="source"}</a></td> <td class="tbl_col_type"><a href="#" onClick="loadContent('mail/mail_whitelist_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="type"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/mail_whitelist_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/mail_whitelist_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/spamfilter_blacklist_list.htm b/interface/web/themes/default-v2/templates/mail/spamfilter_blacklist_list.htm index c9639af0a..181c68649 100644 --- a/interface/web/themes/default-v2/templates/mail/spamfilter_blacklist_list.htm +++ b/interface/web/themes/default-v2/templates/mail/spamfilter_blacklist_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/spamfilter_blacklist_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/spamfilter_blacklist_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -31,7 +31,9 @@ <td class="tbl_col_priority"><select name="search_priority">{tmpl_var name='search_priority'}</select></td> <td class="tbl_col_rid"><select name="search_rid">{tmpl_var name='search_rid'}</select></td> <td class="tbl_col_email"><input type="text" name="search_email" value="{tmpl_var name='search_email'}" /></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','mail/spamfilter_blacklist_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/spamfilter_blacklist_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -43,9 +45,7 @@ <td class="tbl_col_rid"><a href="#" onClick="loadContent('mail/spamfilter_blacklist_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="rid"}</a></td> <td class="tbl_col_email"><a href="#" onClick="loadContent('mail/spamfilter_blacklist_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="email"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/spamfilter_blacklist_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/spamfilter_blacklist_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/spamfilter_config_list.htm b/interface/web/themes/default-v2/templates/mail/spamfilter_config_list.htm index 928ada1ba..5f6a28f57 100644 --- a/interface/web/themes/default-v2/templates/mail/spamfilter_config_list.htm +++ b/interface/web/themes/default-v2/templates/mail/spamfilter_config_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/spamfilter_config_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/spamfilter_config_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -23,7 +23,9 @@ </tr> <tr class="filter"> <td class="tbl_col_server_name"><input type="text" name="search_server_name" value="{tmpl_var name='search_server_name'}" /></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','mail/spamfilter_config_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/spamfilter_config_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -31,9 +33,7 @@ <tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>"> <td class="tbl_col_server_name"><a href="#" onClick="loadContent('mail/spamfilter_config_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="server_name"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/spamfilter_config_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/spamfilter_config_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/spamfilter_policy_list.htm b/interface/web/themes/default-v2/templates/mail/spamfilter_policy_list.htm index c771db08c..653c4bcae 100644 --- a/interface/web/themes/default-v2/templates/mail/spamfilter_policy_list.htm +++ b/interface/web/themes/default-v2/templates/mail/spamfilter_policy_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/spamfilter_policy_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/spamfilter_policy_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -31,7 +31,9 @@ <td class="tbl_col_spam_lover"><select name="search_spam_lover">{tmpl_var name='search_spam_lover'}</select></td> <td class="tbl_col_banned_files_lover"><select name="search_banned_files_lover">{tmpl_var name='search_banned_files_lover'}</select></td> <td class="tbl_col_bad_header_lover"><select name="search_bad_header_lover">{tmpl_var name='search_bad_header_lover'}</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','mail/spamfilter_policy_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/spamfilter_policy_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -43,9 +45,7 @@ <td class="tbl_col_banned_files_lover"><a href="#" onClick="loadContent('mail/spamfilter_policy_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="banned_files_lover"}</a></td> <td class="tbl_col_bad_header_lover"><a href="#" onClick="loadContent('mail/spamfilter_policy_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="bad_header_lover"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/spamfilter_policy_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/spamfilter_policy_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/spamfilter_users_list.htm b/interface/web/themes/default-v2/templates/mail/spamfilter_users_list.htm index 40c90eae3..39c4ef868 100644 --- a/interface/web/themes/default-v2/templates/mail/spamfilter_users_list.htm +++ b/interface/web/themes/default-v2/templates/mail/spamfilter_users_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/spamfilter_users_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/spamfilter_users_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -31,7 +31,9 @@ <td class="tbl_col_priority"><select name="search_priority">{tmpl_var name='search_priority'}</select></td> <td class="tbl_col_policy_id"><select name="search_policy_id">{tmpl_var name='search_policy_id'}</select></td> <td class="tbl_col_fullname"><input type="text" name="search_fullname" value="{tmpl_var name='search_fullname'}" /></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','mail/spamfilter_users_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/spamfilter_users_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -43,9 +45,7 @@ <td class="tbl_col_policy_id"><a href="#" onClick="loadContent('mail/spamfilter_users_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="policy_id"}</a></td> <td class="tbl_col_fullname"><a href="#" onClick="loadContent('mail/spamfilter_users_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="fullname"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/spamfilter_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> - </div> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/spamfilter_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> </td> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/spamfilter_whitelist_list.htm b/interface/web/themes/default-v2/templates/mail/spamfilter_whitelist_list.htm index 9f9149c24..9cb4ba6bb 100644 --- a/interface/web/themes/default-v2/templates/mail/spamfilter_whitelist_list.htm +++ b/interface/web/themes/default-v2/templates/mail/spamfilter_whitelist_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mail/spamfilter_whitelist_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mail/spamfilter_whitelist_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -31,7 +31,9 @@ <td class="tbl_col_priority"><select name="search_priority">{tmpl_var name='search_priority'}</select></td> <td class="tbl_col_rid"><select name="search_rid">{tmpl_var name='search_rid'}</select></td> <td class="tbl_col_email"><input type="text" name="search_email" value="{tmpl_var name='search_email'}" /></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','mail/spamfilter_whitelist_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/spamfilter_whitelist_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -43,9 +45,7 @@ <td class="tbl_col_rid"><a href="#" onClick="loadContent('mail/spamfilter_whitelist_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="rid"}</a></td> <td class="tbl_col_email"><a href="#" onClick="loadContent('mail/spamfilter_whitelist_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="email"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mail/spamfilter_whitelist_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mail/spamfilter_whitelist_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/mail/user_quota_stats_list.htm b/interface/web/themes/default-v2/templates/mail/user_quota_stats_list.htm index 73bfe9b7f..c5cf76af3 100644 --- a/interface/web/themes/default-v2/templates/mail/user_quota_stats_list.htm +++ b/interface/web/themes/default-v2/templates/mail/user_quota_stats_list.htm @@ -19,9 +19,7 @@ <td class="tbl_col_system_user"> </td> <td class="tbl_col_system_user"> </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','mail/user_quota_stats.php');"><span>{tmpl_var name="filter_txt"}</span></button> - </div> + <button type="button" class="button icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onClick="submitForm('pageForm','mail/user_quota_stats.php');"><span>{tmpl_var name="filter_txt"}</span></button> </td> </tr> </thead> @@ -32,11 +30,7 @@ <td class="tbl_col_name"><a href="#" onClick="loadContent('mail/mail_user_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="name"}</a></td> <td class="tbl_col_used" style="text-align:right;"><a href="#" onClick="loadContent('mail/mail_user_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="used"}</a></td> <td class="tbl_col_limit" style="text-align:right;"><a href="#" onClick="loadContent('mail/mail_user_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="quota"}</a></td> - <td class="tbl_col_buttons"> - <div class="buttons icons16"> - - </div> - </td> + <td class="tbl_col_buttons"></td> </tr> </tmpl_loop> </tbody> diff --git a/interface/web/themes/default-v2/templates/mailuser/mail_user_filter_list.htm b/interface/web/themes/default-v2/templates/mailuser/mail_user_filter_list.htm index 12e10a6bc..a303d0348 100644 --- a/interface/web/themes/default-v2/templates/mailuser/mail_user_filter_list.htm +++ b/interface/web/themes/default-v2/templates/mailuser/mail_user_filter_list.htm @@ -5,7 +5,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('mailuser/mail_user_filter_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('mailuser/mail_user_filter_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -22,7 +22,9 @@ </tr> <tr class="filter"> <td class="tbl_col_rulename"><input type="text" name="search_rulename" value="{tmpl_var name='search_rulename'}" /></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','mail/mail_user_edit.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','mail/mail_user_edit.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -30,9 +32,7 @@ <tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>"> <td class="tbl_col_rulename"><a href="#" onClick="loadContent('mailuser/mail_user_filter_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="rulename"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('mailuser/mail_user_filter_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> + <a class="button icons16 icoDelete" href="javascript: del_record('mailuser/mail_user_filter_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/monitor/datalog_list.htm b/interface/web/themes/default-v2/templates/monitor/datalog_list.htm index 070f82b73..63bc5ec2d 100644 --- a/interface/web/themes/default-v2/templates/monitor/datalog_list.htm +++ b/interface/web/themes/default-v2/templates/monitor/datalog_list.htm @@ -19,7 +19,9 @@ <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_action"><select name="search_action">{tmpl_var name='search_action'}</select></td> <td class="tbl_col_dbtable"><input type="text" name="search_dbtable" value="{tmpl_var name='search_dbtable'}" /></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','monitor/datalog_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></td> + <td class="tbl_col_buttons"> + <div class="buttons"><button type="button" class="button icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onClick="submitForm('pageForm','monitor/datalog_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -29,10 +31,8 @@ <td class="tbl_col_server_id">{tmpl_var name="server_id"}</td> <td class="tbl_col_action">{tmpl_var name="action"}</td> <td class="tbl_col_dbtable">{tmpl_var name="dbtable"}</td> - <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <!--<a class="icons16 icoDelete" href="javascript: del_record('monitor/datalog_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 class="tbl_col_buttons"> + <!--<a class="button icons16 icoDelete" href="javascript: del_record('monitor/datalog_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/monitor/syslog_list.htm b/interface/web/themes/default-v2/templates/monitor/syslog_list.htm index 6809bbad6..9b796f246 100644 --- a/interface/web/themes/default-v2/templates/monitor/syslog_list.htm +++ b/interface/web/themes/default-v2/templates/monitor/syslog_list.htm @@ -19,7 +19,9 @@ <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_loglevel"><select name="search_loglevel">{tmpl_var name='search_loglevel'}</select></td> <td class="tbl_col_message"><input type="text" name="search_message" value="{tmpl_var name='search_message'}" /></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','monitor/log_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','monitor/log_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -31,14 +33,10 @@ <td class="tbl_col_message">{tmpl_var name="message"}</td> <td class="tbl_col_buttons"> <tmpl_if name="loglevel" op="==" value="Error"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('monitor/log_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> + <a class="button icons16 icoDelete" href="javascript: del_record('monitor/log_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="loglevel" op="==" value="Warning"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('monitor/log_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> + <a class="button icons16 icoDelete" href="javascript: del_record('monitor/log_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> </td> </tr> diff --git a/interface/web/themes/default-v2/templates/sites/aps_instances_list.htm b/interface/web/themes/default-v2/templates/sites/aps_instances_list.htm index 38084a558..df6da2e73 100644 --- a/interface/web/themes/default-v2/templates/sites/aps_instances_list.htm +++ b/interface/web/themes/default-v2/templates/sites/aps_instances_list.htm @@ -25,7 +25,7 @@ <td class="tbl_col_installlocation"> </td> <td class="tbl_col_instancestatus"><select name="search_instance_status" onChange="submitForm('pageForm','sites/aps_installedpackages_list.php');">{tmpl_var name='search_instance_status'}</select></td> <td class="tbl_col_buttons"> - <button type="button" class="icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name='filter_txt'}" onClick="submitForm('pageForm','sites/aps_installedpackages_list.php');"> + <button type="button" class="button icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name='filter_txt'}" onClick="submitForm('pageForm','sites/aps_installedpackages_list.php');"> <span>{tmpl_var name='filter_txt'}</span> </button> </td> @@ -43,8 +43,8 @@ <td class="tbl_col_instancestatus"><span id="status_content{tmpl_var name='__ROWNUM__'}">{tmpl_var name='instance_status'}</span></td> <td class="tbl_col_buttons"> <div class="buttons icons16" style="width:60px;"> - <tmpl_if name='delete_possible'><a class="icons16 icoDelete" href="javascript:if(window.confirm('{tmpl_var name='pkg_delete_confirmation'}')){ loadContentInto('status_content{tmpl_var name='__ROWNUM__'}', 'sites/aps_do_operation.php?action=delete_instance&id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}'); }"><span>{tmpl_var name='delete_txt'}</span></a></tmpl_if> - <tmpl_if name='reinstall_possible'><a class="icons16 icoEdit" href="javascript:if(window.confirm('{tmpl_var name='pkg_reinstall_confirmation'}')){ loadContentInto('status_content{tmpl_var name='__ROWNUM__'}', 'sites/aps_do_operation.php?action=reinstall_instance&id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}'); }"><span>{tmpl_var name='reinstall_txt'}</span></a></tmpl_if> + <tmpl_if name='delete_possible'><a class="button icons16 icoDelete" href="javascript:if(window.confirm('{tmpl_var name='pkg_delete_confirmation'}')){ loadContentInto('status_content{tmpl_var name='__ROWNUM__'}', 'sites/aps_do_operation.php?action=delete_instance&id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}'); }"><span>{tmpl_var name='delete_txt'}</span></a></tmpl_if> + <tmpl_if name='reinstall_possible'><a class="button icons16 icoEdit" href="javascript:if(window.confirm('{tmpl_var name='pkg_reinstall_confirmation'}')){ loadContentInto('status_content{tmpl_var name='__ROWNUM__'}', 'sites/aps_do_operation.php?action=reinstall_instance&id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}'); }"><span>{tmpl_var name='reinstall_txt'}</span></a></tmpl_if> </div> </td> </tr> diff --git a/interface/web/themes/default-v2/templates/sites/aps_packagedetails_show.htm b/interface/web/themes/default-v2/templates/sites/aps_packagedetails_show.htm index 351d3ac04..403522a9e 100644 --- a/interface/web/themes/default-v2/templates/sites/aps_packagedetails_show.htm +++ b/interface/web/themes/default-v2/templates/sites/aps_packagedetails_show.htm @@ -8,11 +8,9 @@ <p> </p> <div class="pnl_toolsarea"> - <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('sites/aps_install_package.php?id={tmpl_var name='pkg_id'}');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('sites/aps_install_package.php?id={tmpl_var name='pkg_id'}');"> <span>{tmpl_var name='install_package_txt'}</span> </button> - </div> <p> </p><p> </p> </div> diff --git a/interface/web/themes/default-v2/templates/sites/aps_packages_list.htm b/interface/web/themes/default-v2/templates/sites/aps_packages_list.htm index 5e0fd6b61..454822d7d 100644 --- a/interface/web/themes/default-v2/templates/sites/aps_packages_list.htm +++ b/interface/web/themes/default-v2/templates/sites/aps_packages_list.htm @@ -22,7 +22,7 @@ <tmpl_if name='is_admin'> <td class="tbl_col_status"><select name="search_package_status" onChange="submitForm('pageForm','sites/aps_availablepackages_list.php');">{tmpl_var name='search_package_status'}</select></td> </tmpl_if> - <td class="tbl_col_buttons"><button type="button" class="icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name='filter_txt'}" onClick="submitForm('pageForm','sites/aps_availablepackages_list.php');"><span>{tmpl_var name='filter_txt'}</span></button></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/aps_availablepackages_list.php');"><span>{tmpl_var name='filter_txt'}</span></button></td> </tr> </thead> <tbody> diff --git a/interface/web/themes/default-v2/templates/sites/cron_list.htm b/interface/web/themes/default-v2/templates/sites/cron_list.htm index 32d3274ad..868469c5c 100644 --- a/interface/web/themes/default-v2/templates/sites/cron_list.htm +++ b/interface/web/themes/default-v2/templates/sites/cron_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('sites/cron_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('sites/cron_edit.php');"> <span>{tmpl_var name="add_new_cron_txt"}</span> </button> </div> @@ -39,7 +39,9 @@ <td class="tbl_col_run_month"><input type="text" name="search_run_month" size="1" value="{tmpl_var name='search_run_month'}" /></td> <td class="tbl_col_run_wday"><input type="text" name="search_run_wday" size="1" value="{tmpl_var name='search_run_wday'}" /></td> <td class="tbl_col_command"><input type="text" name="search_command" value="{tmpl_var name='search_command'}" /></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','sites/cron_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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/cron_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -56,7 +58,7 @@ <td class="tbl_col_commnd"><a href="#" onClick="loadContent('sites/cron_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="command"}</a></td> <td class="tbl_col_buttons"> <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('sites/cron_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> + <a class="button icons16 icoDelete" href="javascript: del_record('sites/cron_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> diff --git a/interface/web/themes/default-v2/templates/sites/database_admin_list.htm b/interface/web/themes/default-v2/templates/sites/database_admin_list.htm index 569632a69..c86c07d0a 100644 --- a/interface/web/themes/default-v2/templates/sites/database_admin_list.htm +++ b/interface/web/themes/default-v2/templates/sites/database_admin_list.htm @@ -5,7 +5,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('sites/database_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('sites/database_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -32,7 +32,9 @@ <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <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_database_name"><input type="text" name="search_database_name" value="{tmpl_var name='search_database_name'}" /></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','sites/database_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -45,13 +47,11 @@ <td class="tbl_col_database_user"><a href="#" onClick="loadContent('sites/database_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="database_user"}</a></td> <td class="tbl_col_database_name"><a href="#" onClick="loadContent('sites/database_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="database_name"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <tmpl_if name="dblist_phpmyadmin_link"> - <a class="icons16 icoDbAdmin" href="sites/database_phpmyadmin.php?id={tmpl_var name='id'}" target="phpmyadmin"><span>{tmpl_var name='admin_txt'}</span></a> - </tmpl_if> - <a class="icons16 icoEdit" href="javascript: loadContent('sites/database_edit.php?id={tmpl_var name='id'}');"><span>{tmpl_var name='edit_txt'}</span></a> - <a class="icons16 icoDelete" href="javascript: del_record('sites/database_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> + <tmpl_if name="dblist_phpmyadmin_link"> + <a class="button icons16 icoDbAdmin" href="sites/database_phpmyadmin.php?id={tmpl_var name='id'}" target="phpmyadmin"><span>{tmpl_var name='admin_txt'}</span></a> + </tmpl_if> + <a class="button icons16 icoEdit" href="javascript: loadContent('sites/database_edit.php?id={tmpl_var name='id'}');"><span>{tmpl_var name='edit_txt'}</span></a> + <a class="button icons16 icoDelete" href="javascript: del_record('sites/database_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/sites/database_list.htm b/interface/web/themes/default-v2/templates/sites/database_list.htm index a64febe0f..3ccac3112 100644 --- a/interface/web/themes/default-v2/templates/sites/database_list.htm +++ b/interface/web/themes/default-v2/templates/sites/database_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('sites/database_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('sites/database_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -31,7 +31,9 @@ <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <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_database_name"><input type="text" name="search_database_name" value="{tmpl_var name='search_database_name'}"/></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','sites/database_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -43,13 +45,11 @@ <td class="tbl_col_database_user"><a href="#" onClick="loadContent('sites/database_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="database_user"}</a></td> <td class="tbl_col_database_name"><a href="#" onClick="loadContent('sites/database_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="database_name"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <tmpl_if name="dblist_phpmyadmin_link"> - <a class="icons16 icoDbAdmin" href="sites/database_phpmyadmin.php?id={tmpl_var name='id'}" target="phpmyadmin"><span>{tmpl_var name='admin_txt'}</span></a> - </tmpl_if> - <a class="icons16 icoEdit" href="javascript: loadContent('sites/database_edit.php?id={tmpl_var name='id'}');"><span>{tmpl_var name='edit_txt'}</span></a> - <a class="icons16 icoDelete" href="javascript: del_record('sites/database_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> + <tmpl_if name="dblist_phpmyadmin_link"> + <a class="button icons16 icoDbAdmin" href="sites/database_phpmyadmin.php?id={tmpl_var name='id'}" target="phpmyadmin"><span>{tmpl_var name='admin_txt'}</span></a> + </tmpl_if> + <a class="button icons16 icoEdit" href="javascript: loadContent('sites/database_edit.php?id={tmpl_var name='id'}');"><span>{tmpl_var name='edit_txt'}</span></a> + <a class="button icons16 icoDelete" href="javascript: del_record('sites/database_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/sites/ftp_user_list.htm b/interface/web/themes/default-v2/templates/sites/ftp_user_list.htm index a95518668..8c07458ff 100644 --- a/interface/web/themes/default-v2/templates/sites/ftp_user_list.htm +++ b/interface/web/themes/default-v2/templates/sites/ftp_user_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('sites/ftp_user_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('sites/ftp_user_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -29,7 +29,9 @@ <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_parent_domain_id"><select name="search_parent_domain_id">{tmpl_var name='search_parent_domain_id'}</select></td> <td class="tbl_col_username"><input type="text" name="search_username" value="{tmpl_var name='search_username'}" /></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','sites/ftp_user_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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/ftp_user_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -40,12 +42,10 @@ <td class="tbl_col_parent_domain_id"><a href="#" onClick="loadContent('sites/ftp_user_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="parent_domain_id"}</a></td> <td class="tbl_col_username"><a href="#" onClick="loadContent('sites/ftp_user_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="webftp_link"> - <a class="icons16 icoDbAdmin" href="{tmpl_var name='webftp_url'}" target="_blank"><span>{tmpl_var name='admin_txt'}</span></a> - </tmpl_if> - <a class="icons16 icoDelete" href="javascript: del_record('sites/ftp_user_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> + <tmpl_if name="webftp_link"> + <a class="button icons16 icoDbAdmin" href="{tmpl_var name='webftp_url'}" target="_blank"><span>{tmpl_var name='admin_txt'}</span></a> + </tmpl_if> + <a class="button icons16 icoDelete" href="javascript: del_record('sites/ftp_user_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/sites/shell_user_list.htm b/interface/web/themes/default-v2/templates/sites/shell_user_list.htm index 42d5a8e5f..d98c95975 100644 --- a/interface/web/themes/default-v2/templates/sites/shell_user_list.htm +++ b/interface/web/themes/default-v2/templates/sites/shell_user_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('sites/shell_user_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('sites/shell_user_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -29,7 +29,9 @@ <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_parent_domain_id"><select name="search_parent_domain_id">{tmpl_var name='search_parent_domain_id'}</select></td> <td class="tbl_col_username"><input type="text" name="search_username" value="{tmpl_var name='search_username'}" /></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','sites/shell_user_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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/shell_user_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -40,9 +42,7 @@ <td class="tbl_col_parent_domain_id"><a href="#" onClick="loadContent('sites/shell_user_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="parent_domain_id"}</a></td> <td class="tbl_col_username"><a href="#" onClick="loadContent('sites/shell_user_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="username"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('sites/shell_user_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> + <a class="button icons16 icoDelete" href="javascript: del_record('sites/shell_user_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/sites/user_quota_stats_list.htm b/interface/web/themes/default-v2/templates/sites/user_quota_stats_list.htm index fc697839d..9e2aca329 100644 --- a/interface/web/themes/default-v2/templates/sites/user_quota_stats_list.htm +++ b/interface/web/themes/default-v2/templates/sites/user_quota_stats_list.htm @@ -22,7 +22,9 @@ <td class="tbl_col_system_user"> </td> <td class="tbl_col_system_user"> </td> <td class="tbl_col_system_user"> </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','sites/user_quota_stats.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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/user_quota_stats.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -34,11 +36,7 @@ <td class="tbl_col_soft" style="text-align:right;"><a href="#" onClick="loadContent('sites/web_domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="soft"}</a></td> <td class="tbl_col_hard" style="text-align:right;"><a href="#" onClick="loadContent('sites/web_domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="hard"}</a></td> <td class="tbl_col_files" style="text-align:right;"><a href="#" onClick="loadContent('sites/web_domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="files"}</a></td> - <td class="tbl_col_buttons"> - <div class="buttons icons16"> - - </div> - </td> + <td class="tbl_col_buttons"></td> </tr> </tmpl_loop> </tbody> diff --git a/interface/web/themes/default-v2/templates/sites/web_aliasdomain_list.htm b/interface/web/themes/default-v2/templates/sites/web_aliasdomain_list.htm index 7cc48ea85..126a972d9 100644 --- a/interface/web/themes/default-v2/templates/sites/web_aliasdomain_list.htm +++ b/interface/web/themes/default-v2/templates/sites/web_aliasdomain_list.htm @@ -6,7 +6,7 @@ <div class="pnl_listsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('sites/web_aliasdomain_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('sites/web_aliasdomain_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -29,7 +29,9 @@ <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_parent_domain_id"><select name="search_parent_domain_id">{tmpl_var name='search_parent_domain_id'}</select></td> <td class="tbl_col_domain"><input type="text" name="search_domain" value="{tmpl_var name='search_domain'}" /></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','sites/web_aliasdomain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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/web_aliasdomain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -40,9 +42,7 @@ <td class="tbl_col_parent_domain_id"><a href="#" onClick="loadContent('sites/web_aliasdomain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="parent_domain_id"}</a></td> <td class="tbl_col_domain"><a href="#" onClick="loadContent('sites/web_aliasdomain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="domain"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('sites/web_aliasdomain_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> + <a class="button icons16 icoDelete" href="javascript: del_record('sites/web_aliasdomain_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/sites/web_backup_list.htm b/interface/web/themes/default-v2/templates/sites/web_backup_list.htm index 3a388f2c0..94ff9c132 100644 --- a/interface/web/themes/default-v2/templates/sites/web_backup_list.htm +++ b/interface/web/themes/default-v2/templates/sites/web_backup_list.htm @@ -27,8 +27,8 @@ <td class="tbl_col_filename">{tmpl_var name="filename"}</td> <td class="tbl_col_buttons" style="width:300px;"> <div class="buttons" > - <button class="iconstxt icoRestore" type="button" onClick="confirm_action('sites/web_domain_edit.php?id={tmpl_var name='parent_id'}&next_tab=backup&backup_action=restore&backup_id={tmpl_var name='backup_id'}','{tmpl_var name='restore_confirm_txt'}');"><span>{tmpl_var name="restore_backup_txt"}</span></button> - <button class="iconstxt icoDownload" type="button" onClick="loadContent('sites/web_domain_edit.php?id={tmpl_var name='parent_id'}&next_tab=backup&backup_action=download&backup_id={tmpl_var name='backup_id'}');"><span>{tmpl_var name="download_backup_txt"}</span></button> + <button class="button iconstxt icoRestore" type="button" onClick="confirm_action('sites/web_domain_edit.php?id={tmpl_var name='parent_id'}&next_tab=backup&backup_action=restore&backup_id={tmpl_var name='backup_id'}','{tmpl_var name='restore_confirm_txt'}');"><span>{tmpl_var name="restore_backup_txt"}</span></button> + <button class="button iconstxt icoDownload" type="button" onClick="loadContent('sites/web_domain_edit.php?id={tmpl_var name='parent_id'}&next_tab=backup&backup_action=download&backup_id={tmpl_var name='backup_id'}');"><span>{tmpl_var name="download_backup_txt"}</span></button> </div> </td> </tr> diff --git a/interface/web/themes/default-v2/templates/sites/web_domain_admin_list.htm b/interface/web/themes/default-v2/templates/sites/web_domain_admin_list.htm index 68e826e5d..627868b2d 100644 --- a/interface/web/themes/default-v2/templates/sites/web_domain_admin_list.htm +++ b/interface/web/themes/default-v2/templates/sites/web_domain_admin_list.htm @@ -5,7 +5,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('sites/web_domain_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('sites/web_domain_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -30,7 +30,9 @@ <td class="tbl_col_sys_groupid"><select name="search_sys_groupid">{tmpl_var name='search_sys_groupid'}</select></td> <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_domain"><input type="text" name="search_domain" value="{tmpl_var name='search_domain'}" /></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','sites/web_domain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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/web_domain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -42,9 +44,7 @@ <td class="tbl_col_server_id"><a href="#" onClick="loadContent('sites/web_domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="server_id"}</a></td> <td class="tbl_col_domain"><a href="#" onClick="loadContent('sites/web_domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="domain"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('sites/web_domain_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> + <a class="button icons16 icoDelete" href="javascript: del_record('sites/web_domain_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/sites/web_domain_list.htm b/interface/web/themes/default-v2/templates/sites/web_domain_list.htm index c5a129a70..fe782f88e 100644 --- a/interface/web/themes/default-v2/templates/sites/web_domain_list.htm +++ b/interface/web/themes/default-v2/templates/sites/web_domain_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('sites/web_domain_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('sites/web_domain_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -29,7 +29,9 @@ <td class="tbl_col_active"><select name="search_active">{tmpl_var name='search_active'}</select></td> <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_domain"><input type="text" name="search_domain" value="{tmpl_var name='search_domain'}" /></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','sites/web_domain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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/web_domain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -40,9 +42,7 @@ <td class="tbl_col_server_id"><a href="#" onClick="loadContent('sites/web_domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="server_id"}</a></td> <td class="tbl_col_domain"><a href="#" onClick="loadContent('sites/web_domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="domain"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('sites/web_domain_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> + <a class="button icons16 icoDelete" href="javascript: del_record('sites/web_domain_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/sites/web_folder_list.htm b/interface/web/themes/default-v2/templates/sites/web_folder_list.htm index 925e4fe6e..6b7761c98 100644 --- a/interface/web/themes/default-v2/templates/sites/web_folder_list.htm +++ b/interface/web/themes/default-v2/templates/sites/web_folder_list.htm @@ -5,7 +5,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('sites/web_folder_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('sites/web_folder_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -28,7 +28,9 @@ <td class="tbl_col_server_id"><select name="search_server_id" onChange="submitForm('pageForm','sites/web_folder_list.php');">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_parent_domain_id"><select name="search_parent_domain_id" onChange="submitForm('pageForm','sites/web_folder_list.php');">{tmpl_var name='search_parent_domain_id'}</select></td> <td class="tbl_col_path"><input type="text" name="search_path" value="{tmpl_var name='search_path'}" /></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','sites/web_folder_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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/web_folder_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -39,9 +41,7 @@ <td class="tbl_col_parent_domain_id"><a href="#" onClick="loadContent('sites/web_folder_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="parent_domain_id"}</a></td> <td class="tbl_col_path"><a href="#" onClick="loadContent('sites/web_folder_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="path"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('sites/web_folder_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> + <a class="button icons16 icoDelete" href="javascript: del_record('sites/web_folder_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/sites/web_folder_user_list.htm b/interface/web/themes/default-v2/templates/sites/web_folder_user_list.htm index 1fe6974dc..ae00cccb2 100644 --- a/interface/web/themes/default-v2/templates/sites/web_folder_user_list.htm +++ b/interface/web/themes/default-v2/templates/sites/web_folder_user_list.htm @@ -5,7 +5,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('sites/web_folder_user_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('sites/web_folder_user_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -26,7 +26,9 @@ <td class="tbl_col_active"><select name="search_active" onChange="submitForm('pageForm','sites/web_folder_user_list.php');">{tmpl_var name='search_active'}</select></td> <td class="tbl_col_web_folder_id"><select name="search_web_folder_id" onChange="submitForm('pageForm','sites/web_folder_user_list.php');">{tmpl_var name='search_web_folder_id'}</select></td> <td class="tbl_col_username"><input type="text" name="search_username" value="{tmpl_var name='search_username'}" /></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','sites/web_folder_user_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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/web_folder_user_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -36,9 +38,7 @@ <td class="tbl_col_web_folder_id"><a href="#" onClick="loadContent('sites/web_folder_user_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="web_folder_id"}</a></td> <td class="tbl_col_username"><a href="#" onClick="loadContent('sites/web_folder_user_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="username"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('sites/web_folder_user_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> + <a class="button icons16 icoDelete" href="javascript: del_record('sites/web_folder_user_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/sites/web_sites_stats_list.htm b/interface/web/themes/default-v2/templates/sites/web_sites_stats_list.htm index bfed03d72..f791e1319 100644 --- a/interface/web/themes/default-v2/templates/sites/web_sites_stats_list.htm +++ b/interface/web/themes/default-v2/templates/sites/web_sites_stats_list.htm @@ -21,7 +21,9 @@ <td class="tbl_col_last_month"></td> <td class="tbl_col_this_year"></td> <td class="tbl_col_last_year"></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','sites/web_sites_stats.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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/web_sites_stats.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -32,10 +34,7 @@ <td class="tbl_col_last_month"><a href="#" onClick="loadContent('sites/web_domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="last_month"} MB</a></td> <td class="tbl_col_this_year"><a href="#" onClick="loadContent('sites/web_domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="this_year"} MB</a></td> <td class="tbl_col_last_year"><a href="#" onClick="loadContent('sites/web_domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="last_year"} MB</a></td> - <td class="tbl_col_buttons"> - <div class="buttons icons16"> - </div> - </td> + <td class="tbl_col_buttons"></td> </tr> </tmpl_loop> </tbody> diff --git a/interface/web/themes/default-v2/templates/sites/web_subdomain_list.htm b/interface/web/themes/default-v2/templates/sites/web_subdomain_list.htm index 4f4f9180b..7d097ec48 100644 --- a/interface/web/themes/default-v2/templates/sites/web_subdomain_list.htm +++ b/interface/web/themes/default-v2/templates/sites/web_subdomain_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('sites/web_subdomain_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('sites/web_subdomain_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -29,7 +29,9 @@ <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_parent_domain_id"><select name="search_parent_domain_id">{tmpl_var name='search_parent_domain_id'}</select></td> <td class="tbl_col_domain"><input type="text" name="search_domain" value="{tmpl_var name='search_domain'}" /></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','sites/web_subdomain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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/web_subdomain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -40,9 +42,7 @@ <td class="tbl_col_parent_domain_id"><a href="#" onClick="loadContent('sites/web_subdomain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="parent_domain_id"}</a></td> <td class="tbl_col_domain"><a href="#" onClick="loadContent('sites/web_subdomain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="domain"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('sites/web_subdomain_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> + <a class="button icons16 icoDelete" href="javascript: del_record('sites/web_subdomain_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/sites/webdav_user_list.htm b/interface/web/themes/default-v2/templates/sites/webdav_user_list.htm index d19410d93..e5b055a2b 100644 --- a/interface/web/themes/default-v2/templates/sites/webdav_user_list.htm +++ b/interface/web/themes/default-v2/templates/sites/webdav_user_list.htm @@ -6,7 +6,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('sites/webdav_user_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('sites/webdav_user_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -29,7 +29,9 @@ <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_parent_domain_id"><select name="search_parent_domain_id">{tmpl_var name='search_parent_domain_id'}</select></td> <td class="tbl_col_username"><input type="text" name="search_username" value="{tmpl_var name='search_username'}" /></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','sites/webdav_user_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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/webdav_user_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -40,9 +42,7 @@ <td class="tbl_col_parent_domain_id"><a href="#" onClick="loadContent('sites/webdav_user_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="parent_domain_id"}</a></td> <td class="tbl_col_username"><a href="#" onClick="loadContent('sites/webdav_user_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="username"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('sites/webdav_user_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> + <a class="button icons16 icoDelete" href="javascript: del_record('sites/webdav_user_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/vm/openvz_ip_list.htm b/interface/web/themes/default-v2/templates/vm/openvz_ip_list.htm index 5d2e8ca19..12d50da03 100644 --- a/interface/web/themes/default-v2/templates/vm/openvz_ip_list.htm +++ b/interface/web/themes/default-v2/templates/vm/openvz_ip_list.htm @@ -5,7 +5,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('vm/openvz_ip_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('vm/openvz_ip_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -28,7 +28,9 @@ <td class="tbl_col_vm_id"><select name="search_vm_id">{tmpl_var name='search_vm_id'}</select></td> <td class="tbl_col_ip_address"><input type="text" name="search_ip_address" value="{tmpl_var name='search_ip_address'}" /></td> <td class="tbl_col_reserved"><select name="search_reserved">{tmpl_var name='search_reserved'}</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','vm/openvz_ip_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','vm/openvz_ip_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -39,9 +41,7 @@ <td class="tbl_col_ip_address"><a href="#" onClick="loadContent('vm/openvz_ip_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="ip_address"}</a></td> <td class="tbl_col_reserved"><a href="#" onClick="loadContent('vm/openvz_ip_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="reserved"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('vm/openvz_ip_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> + <a class="button icons16 icoDelete" href="javascript: del_record('vm/openvz_ip_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/vm/openvz_ostemplate_list.htm b/interface/web/themes/default-v2/templates/vm/openvz_ostemplate_list.htm index 9d947558d..44be19367 100644 --- a/interface/web/themes/default-v2/templates/vm/openvz_ostemplate_list.htm +++ b/interface/web/themes/default-v2/templates/vm/openvz_ostemplate_list.htm @@ -5,7 +5,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('vm/openvz_ostemplate_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('vm/openvz_ostemplate_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -30,7 +30,9 @@ <td class="tbl_col_template_name"><input type="text" name="search_template_name" value="{tmpl_var name='search_template_name'}" /></td> <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> <td class="tbl_col_allservers"><select name="search_allservers">{tmpl_var name='search_allservers'}</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','vm/openvz_ostemplate_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','vm/openvz_ostemplate_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -42,9 +44,7 @@ <td class="tbl_col_server_id"><a href="#" onClick="loadContent('vm/openvz_ostemplate_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="server_id"}</a></td> <td class="tbl_col_allservers"><a href="#" onClick="loadContent('vm/openvz_ostemplate_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="allservers"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('vm/openvz_ostemplate_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> + <a class="button icons16 icoDelete" href="javascript: del_record('vm/openvz_ostemplate_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/vm/openvz_template_list.htm b/interface/web/themes/default-v2/templates/vm/openvz_template_list.htm index 3029512b3..d83eb31de 100644 --- a/interface/web/themes/default-v2/templates/vm/openvz_template_list.htm +++ b/interface/web/themes/default-v2/templates/vm/openvz_template_list.htm @@ -5,7 +5,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('vm/openvz_template_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('vm/openvz_template_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -24,7 +24,9 @@ <tr class="filter"> <td class="tbl_col_active"><select name="search_active">{tmpl_var name='search_active'}</select></td> <td class="tbl_col_template_name"><input type="text" name="search_template_name" value="{tmpl_var name='search_template_name'}" /></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','vm/openvz_template_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','vm/openvz_template_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -33,9 +35,7 @@ <td class="tbl_col_active"><a href="#" onClick="loadContent('vm/openvz_template_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="active"}</a></td> <td class="tbl_col_template_name"><a href="#" onClick="loadContent('vm/openvz_template_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="template_name"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoDelete" href="javascript: del_record('vm/openvz_template_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> + <a class="button icons16 icoDelete" href="javascript: del_record('vm/openvz_template_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> </tr> </tmpl_loop> diff --git a/interface/web/themes/default-v2/templates/vm/openvz_vm_list.htm b/interface/web/themes/default-v2/templates/vm/openvz_vm_list.htm index 6e2caa79b..b2d3cf415 100644 --- a/interface/web/themes/default-v2/templates/vm/openvz_vm_list.htm +++ b/interface/web/themes/default-v2/templates/vm/openvz_vm_list.htm @@ -5,7 +5,7 @@ <div class="pnl_toolsarea"> <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend> <div class="buttons"> - <button class="iconstxt icoAdd" type="button" onClick="loadContent('vm/openvz_vm_edit.php');"> + <button class="button iconstxt icoAdd" type="button" onClick="loadContent('vm/openvz_vm_edit.php');"> <span>{tmpl_var name="add_new_record_txt"}</span> </button> </div> @@ -34,7 +34,9 @@ <td class="tbl_col_template_id"><select name="search_template_id">{tmpl_var name='search_template_id'}</select></td> <td class="tbl_col_hostname"><input type="text" name="search_hostname" value="{tmpl_var name='search_hostname'}" /></td> <td class="tbl_col_ip_address"><input type="text" name="search_ip_address" style="width:80px;" value="{tmpl_var name='search_ip_address'}" /></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','vm/openvz_vm_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></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','vm/openvz_vm_list.php');"><span>{tmpl_var name="filter_txt"}</span></button> + </td> </tr> </thead> <tbody> @@ -48,10 +50,8 @@ <td class="tbl_col_hostname"><a href="#" onClick="loadContent('vm/openvz_vm_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="hostname"}</a></td> <td class="tbl_col_ip_address"><a href="#" onClick="loadContent('vm/openvz_vm_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="ip_address"}</a></td> <td class="tbl_col_buttons"> - <div class="buttons icons16"> - <a class="icons16 icoAction" href="javascript: loadContent('vm/openvz_action.php?id={tmpl_var name='id'}');"><span>Action</span></a> - <a class="icons16 icoDelete" href="javascript: del_record('vm/openvz_vm_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> + <a class="button icons16 icoAction" href="javascript: loadContent('vm/openvz_action.php?id={tmpl_var name='id'}');"><span>Action</span></a> + <a class="button icons16 icoDelete" href="javascript: del_record('vm/openvz_vm_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> </tr> </tmpl_loop> -- GitLab