2011-06-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* extensions/module_groups/brick.png
	images/skin/skin_default/images/agents_group.png
	images/skin/skin_default/images/note.png
	images/skin/skin_default/images/os_icons/android_small.png: Added 
	new icons.
	
	* include/styles/pandora.css
	include/functions_ui.php
	extensions/insert_data.php
	extensions/system_info.php
	extensions/pandora_logs.php
	extensions/agents_modules.php
	extensions/resource_registration.php
	extensions/resource_exportation.php
	extensions/module_groups.php
	extensions/update_manager/main.php
	extensions/plugin_registration.php
	operation/extensions.php
	operation/visual_console/render_view.php
	operation/visual_console/index.php
	operation/agentes/status_monitor.php
	operation/agentes/alerts_status.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/custom_fields.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/agentes/status_events.php
	operation/agentes/sla_view.php
	operation/agentes/exportdata.php
	operation/agentes/estado_monitores.php
	operation/agentes/ver_agente.php
	operation/agentes/group_view.php
	operation/agentes/networkmap.php
	operation/users/user_edit.php
	operation/gis_maps/index.php
	operation/events/events_list.php
	operation/messages/message.php
	operation/reporting/custom_reporting.php
	images/skin/skin_default/include/styles/pandora.css
	extras/pandora_diag.php
	general/logon_ok.php
	godmode/groups/modu_group_list.php
	godmode/groups/configure_group.php
	godmode/groups/configure_modu_group.php
	godmode/groups/group_list.php
	godmode/admin_access_logs.php
	godmode/extensions.php
	godmode/db/db_main.php
	godmode/db/db_audit.php
	godmode/db/db_sanity.php
	godmode/db/db_refine.php
	godmode/db/db_info.php
	godmode/db/db_event.php
	godmode/db/db_purge.php
	godmode/agentes/agent_template.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/fields_manager.php
	godmode/agentes/agent_conf_gis.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/configure_field.php
	godmode/agentes/planned_downtime.php
	godmode/agentes/manage_config_remote.php
	godmode/agentes/agent_manager.php
	godmode/servers/recon_script.php
	godmode/servers/plugin.php
	godmode/servers/modificar_server.php
	godmode/servers/manage_recontask_form.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/configure_alert_compound.php
	godmode/alerts/alert_compounds.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_templates.php
	godmode/alerts/configure_alert_action.php
	godmode/alerts/configure_alert_command.php
	godmode/alerts/alert_actions.php
	godmode/alerts/alert_list.builder.php
	godmode/alerts/alert_commands.php
	godmode/snmpconsole/snmp_alert.php
	godmode/snmpconsole/snmp_filters.php
	godmode/setup/os.list.php
	godmode/setup/news.php
	godmode/setup/links.php
	godmode/setup/setup.php
	godmode/setup/performance.php
	godmode/setup/setup_auth.php
	godmode/setup/gis.php
	godmode/setup/os.builder.php
	godmode/setup/setup_visuals.php
	godmode/users/user_list.php
	godmode/users/configure_user.php
	godmode/gis_maps/configure_gis_map.php
	godmode/gis_maps/index.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_copy_modules.php
	godmode/massive/massive_delete_agents.php
	godmode/massive/massive_enable_disable_alerts.php
	godmode/massive/massive_delete_profiles.php
	godmode/massive/massive_edit_agents.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_delete_modules.php
	godmode/massive/massive_add_profiles.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_edit_modules.php
	godmode/massive/massive_standby_alerts.php
	godmode/massive/massive_add_action_alerts.php
	godmode/modules/manage_nc_groups_form.php
	godmode/modules/manage_network_templates.php
	godmode/modules/module_list.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components_form_network.php
	godmode/modules/manage_network_templates_form.php
	godmode/modules/manage_network_components_form_wmi.php
	godmode/modules/manage_network_components.php
	godmode/modules/manage_nc_groups.php
	godmode/reporting/visual_console_builder.wizard.php
	godmode/reporting/graph_builder.main.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/reporting_builder.main.php
	godmode/reporting/visual_console_builder.data.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php
	godmode/reporting/map_builder.php
	godmode/reporting/graphs.php
	godmode/tag/tag.php
	godmode/tag/edit_tag.php: Css style improvements.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4494 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-06-28 13:31:52 +00:00
parent d35474b896
commit a520a4e740
127 changed files with 600 additions and 214 deletions

View File

@ -1,3 +1,134 @@
2011-06-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* extensions/module_groups/brick.png
images/skin/skin_default/images/agents_group.png
images/skin/skin_default/images/note.png
images/skin/skin_default/images/os_icons/android_small.png: Added
new icons.
* include/styles/pandora.css
include/functions_ui.php
extensions/insert_data.php
extensions/system_info.php
extensions/pandora_logs.php
extensions/agents_modules.php
extensions/resource_registration.php
extensions/resource_exportation.php
extensions/module_groups.php
extensions/update_manager/main.php
extensions/plugin_registration.php
operation/extensions.php
operation/visual_console/render_view.php
operation/visual_console/index.php
operation/agentes/status_monitor.php
operation/agentes/alerts_status.php
operation/agentes/estado_ultimopaquete.php
operation/agentes/custom_fields.php
operation/agentes/estado_generalagente.php
operation/agentes/estado_agente.php
operation/agentes/status_events.php
operation/agentes/sla_view.php
operation/agentes/exportdata.php
operation/agentes/estado_monitores.php
operation/agentes/ver_agente.php
operation/agentes/group_view.php
operation/agentes/networkmap.php
operation/users/user_edit.php
operation/gis_maps/index.php
operation/events/events_list.php
operation/messages/message.php
operation/reporting/custom_reporting.php
images/skin/skin_default/include/styles/pandora.css
extras/pandora_diag.php
general/logon_ok.php
godmode/groups/modu_group_list.php
godmode/groups/configure_group.php
godmode/groups/configure_modu_group.php
godmode/groups/group_list.php
godmode/admin_access_logs.php
godmode/extensions.php
godmode/db/db_main.php
godmode/db/db_audit.php
godmode/db/db_sanity.php
godmode/db/db_refine.php
godmode/db/db_info.php
godmode/db/db_event.php
godmode/db/db_purge.php
godmode/agentes/agent_template.php
godmode/agentes/module_manager_editor_common.php
godmode/agentes/fields_manager.php
godmode/agentes/agent_conf_gis.php
godmode/agentes/module_manager.php
godmode/agentes/modificar_agente.php
godmode/agentes/configurar_agente.php
godmode/agentes/configure_field.php
godmode/agentes/planned_downtime.php
godmode/agentes/manage_config_remote.php
godmode/agentes/agent_manager.php
godmode/servers/recon_script.php
godmode/servers/plugin.php
godmode/servers/modificar_server.php
godmode/servers/manage_recontask_form.php
godmode/alerts/alert_list.list.php
godmode/alerts/configure_alert_compound.php
godmode/alerts/alert_compounds.php
godmode/alerts/configure_alert_template.php
godmode/alerts/alert_templates.php
godmode/alerts/configure_alert_action.php
godmode/alerts/configure_alert_command.php
godmode/alerts/alert_actions.php
godmode/alerts/alert_list.builder.php
godmode/alerts/alert_commands.php
godmode/snmpconsole/snmp_alert.php
godmode/snmpconsole/snmp_filters.php
godmode/setup/os.list.php
godmode/setup/news.php
godmode/setup/links.php
godmode/setup/setup.php
godmode/setup/performance.php
godmode/setup/setup_auth.php
godmode/setup/gis.php
godmode/setup/os.builder.php
godmode/setup/setup_visuals.php
godmode/users/user_list.php
godmode/users/configure_user.php
godmode/gis_maps/configure_gis_map.php
godmode/gis_maps/index.php
godmode/massive/massive_add_alerts.php
godmode/massive/massive_copy_modules.php
godmode/massive/massive_delete_agents.php
godmode/massive/massive_enable_disable_alerts.php
godmode/massive/massive_delete_profiles.php
godmode/massive/massive_edit_agents.php
godmode/massive/massive_delete_action_alerts.php
godmode/massive/massive_delete_modules.php
godmode/massive/massive_add_profiles.php
godmode/massive/massive_delete_alerts.php
godmode/massive/massive_edit_modules.php
godmode/massive/massive_standby_alerts.php
godmode/massive/massive_add_action_alerts.php
godmode/modules/manage_nc_groups_form.php
godmode/modules/manage_network_templates.php
godmode/modules/module_list.php
godmode/modules/manage_network_components_form_common.php
godmode/modules/manage_network_components_form_network.php
godmode/modules/manage_network_templates_form.php
godmode/modules/manage_network_components_form_wmi.php
godmode/modules/manage_network_components.php
godmode/modules/manage_nc_groups.php
godmode/reporting/visual_console_builder.wizard.php
godmode/reporting/graph_builder.main.php
godmode/reporting/reporting_builder.list_items.php
godmode/reporting/reporting_builder.main.php
godmode/reporting/visual_console_builder.data.php
godmode/reporting/graph_builder.graph_editor.php
godmode/reporting/reporting_builder.php
godmode/reporting/reporting_builder.item_editor.php
godmode/reporting/map_builder.php
godmode/reporting/graphs.php
godmode/tag/tag.php
godmode/tag/edit_tag.php: Css style improvements.
2011-06-27 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_graph.php: Display units in the legend of module graph.

View File

@ -162,7 +162,7 @@ function mainAgentsModules() {
return;
}
echo '<table cellpadding="1" cellspacing="4" cellspacing="0" border="0" style="background-color: #EEE;">';
echo '<table cellpadding="1" cellspacing="4" cellspacing="0" border="0" style="background-color: #EEE; width:97%;">';
echo "<th width='140px' style='background-color: #799E48;'>".__("Agents")." / ".__("Modules")."</th>";

View File

@ -110,14 +110,15 @@ function mainInsertData() {
echo '</div>';
$table = null;
$table->width = '80%';
$table->width = '98%';
$table->style = array();
$table->style[0] = 'font-weight: bolder;';
$table->data = array();
$table->data[0][0] = __('Agent');
$src_code = html_print_image('images/lightning.png', true, false, true);
$table->data[0][1] = html_print_input_text_extended ('id_agent', $id_agent, 'text_id_agent', '', 30, 100, false, '',
array('style' => 'background: url(images/lightning.png) no-repeat right;'), true)
array('style' => 'background: url(' . $src_code . ') no-repeat right;'), true)
. '<a href="#" class="tip">&nbsp;<span>' . __("Type at least two characters to search") . '</span></a>';
$table->data[1][0] = __('Module');
$modules = array ();

View File

@ -275,6 +275,6 @@ function mainModuleGroups() {
<?php
}
extensions_add_operation_menu_option(__("Modules groups"), 'estado', 'module_groups/icon_menu.png');
extensions_add_operation_menu_option(__("Modules groups"), 'estado', 'module_groups/brick.png');
extensions_add_main_function('mainModuleGroups');
?>

Binary file not shown.

After

Width:  |  Height:  |  Size: 481 B

View File

@ -29,7 +29,7 @@ function view_logfile ($file_name) {
else {
$data = file_get_contents ($file_name);
echo "<h2>$file_name (".format_numeric(filesize ($file_name)/1024)." KB) </h2>";
echo "<textarea style='width: 95%; height: 200px;' name='$file_name'>";
echo "<textarea style='width: 98%; float:right; height: 200px; margin-bottom:20px;' name='$file_name'>";
echo $data;
echo "</textarea><br><br>";
}

View File

@ -34,7 +34,7 @@ function pluginreg_extension_main () {
if (!isset ($_FILES['plugin_upload']['tmp_name'])){
// Upload form
echo "<form name='submit_plugin' method='post' enctype='multipart/form-data'>";
echo '<table class="databox" id="table1" width="50%" border="0" cellpadding="4" cellspacing="4">';
echo '<table class="databox" id="table1" width="98%" border="0" cellpadding="4" cellspacing="4">';
echo "<tr><td class='datos'><input type='file' name='plugin_upload' />";
echo "<td class='datos'><input type='submit' class='sub next' value='".__('Upload')."' />";
echo "</form></table>";

View File

@ -347,7 +347,7 @@ function resource_exportation_extension_main() {
echo "<br /><br />";
$table = null;
$table->width = '50%';
$table->width = '98%';
$table->style[0] = 'width: 30%;';
$table->style[1] = 'width: 10%;';
$table->class = "databox_color";

View File

@ -836,7 +836,7 @@ function resource_registration_extension_main() {
// Upload form
echo "<form name='submit_plugin' method='post' enctype='multipart/form-data'>";
echo '<table class="databox" id="table1" width="50%" border="0" cellpadding="4" cellspacing="4">';
echo '<table class="databox" id="table1" width="98%" border="0" cellpadding="4" cellspacing="4">';
echo "<tr>";
echo "<td colspan='2' class='datos'><input type='file' name='resource_upload' />";
echo "</tr>";

View File

@ -158,7 +158,7 @@ function show_logfile($file_name, $numLines = 2000) {
}
else {
echo "<h2>" . $file_name . "</h2>";
echo "<textarea style='width: 95%; height: 200px;' name='$file_name'>";
echo "<textarea style='width: 98%; height: 200px;' name='$file_name'>";
echo shell_exec('tail -n ' . $numLines . ' ' . $file_name);
echo "</textarea>";
}
@ -263,7 +263,7 @@ function mainSystemInfo() {
echo "<form method='post'>";
$table = null;
$table->width = '80%';
$table->width = '98%';
$table->align = array();
$table->align[1] = 'right';
if ($pandora_diag) {

View File

@ -157,7 +157,7 @@ if (check_acl ($config['id_user'], 0, 'PM')) {
} else {
echo '<h5 class="suc">'.__('There\'s a new update for Pandora FMS').'</h5>';
$table->width = '80%';
$table->width = '98%';
$table->data = array ();
$table->data[0][0] = '<strong>'.__('Id').'</strong>';
@ -187,7 +187,7 @@ if (check_acl ($config['id_user'], 0, 'PM')) {
unset($table);
$table->width = '80%';
$table->width = '98%';
$table->data = array ();
$table->colspan[0][0] = 2;

View File

@ -89,7 +89,7 @@ else {
// Header
ui_print_page_header (__('Pandora FMS Diagnostic tool'), "", false, "", true);
echo "<table with='600px' cellpadding='4' cellspacing='4'>";
echo "<table with='98%' cellpadding='4' cellspacing='4'>";
echo "<tr><th align=left>".__("Item")."</th>";
echo "<th>".__("Data value")."</th></tr>";
}

View File

@ -34,7 +34,7 @@ ui_print_page_header (__('Welcome to Pandora FMS Web Console'));
// Site news !
// ---------------------------------------------------------------------------
echo '<div style="width:350px; float:left; padding-right: 30px;" id="leftcolumn">';
echo '<div style="width:50%; float:left; padding-right: 30px;" id="leftcolumn">';
echo '<h2>' . __('Site news') . '</h2>';
switch ($config["dbtype"]) {
case "mysql":
@ -66,7 +66,7 @@ echo '</div>';
// ---------------------------------------------------------------------------
// Site stats (global!)
// ---------------------------------------------------------------------------
echo '<div style="width:300px; float:left; padding-left: 30px;" id="rightcolumn">';
echo '<div style="width:30%; float:left; padding-left: 30px;" id="rightcolumn">';
$data = reporting_get_group_stats ();
$table->class = "databox";
@ -145,13 +145,13 @@ foreach ($cells as $key => $row) {
echo '</tbody></table>';
echo "</div>";
echo '<div id="activity" style="width:700px;">';
echo '<div id="activity" style="width:87%;">';
echo "<br /><br />";
// Show last activity from this user
echo "<h2>" . __('This is your last activity in Pandora FMS console') . "</h2>";
$table->width = 650; //Don't specify px
$table->width = '90%'; //Don't specify px
$table->data = array ();
$table->size = array ();
$table->size[2] = '130px';

View File

@ -43,7 +43,7 @@ $filter_text = get_parameter('filter_text', '');
$filter_hours_old = get_parameter('filter_hours_old', 24);
$filter_ip = get_parameter('filter_ip', '');
echo "<table width='90%' border='0' cellspacing='4' cellpadding='4' class='databox'>";
echo "<table width='98%' border='0' cellspacing='4' cellpadding='4' class='databox'>";
echo '<tr><td class="datost">';
echo '<div style="float: left; width: 400px;">';
echo '<b>'.__('Filter').'</b><br><br>';

View File

@ -42,7 +42,7 @@ if ($agentData === false) {
}
echo "<div class='warn'>" .__("Warning: When you change the Agent position, the agent automatically activates the 'Ignore new GIS data' option") . "</div>";
$table->width = '60%';
$table->width = '85%';
$table->data = array();
$table->head[0] =__('Agent position');

View File

@ -89,7 +89,7 @@ if ($disk_conf_delete) {
echo '<form name="conf_agent" method="post" action="index.php?sec=gagente&amp;sec2=godmode/agentes/configurar_agente">';
$table->width = '95%';
$table->width = '98%';
$table->class = "databox_color";
$table->head = array ();
@ -186,7 +186,7 @@ $table->data[7][1] = html_print_input_text ('comentarios', $comentarios, '', 45,
html_print_table ($table);
unset($table);
$table->width = '95%';
$table->width = '98%';
$table->class = "databox_color";
$table->head = array ();
@ -251,7 +251,7 @@ if ($config['activate_gis']) {
ui_toggle(html_print_table ($table, true), __('Advanced options'));
unset($table);
$table->width = '95%';
$table->width = '98%';
$table->class = "databox_color";
$table->head = array ();

View File

@ -100,13 +100,12 @@ if (isset ($_POST["template_id"])) {
// Main header
echo "<h2>".__('Module templates')."</h2>";
// ==========================
// TEMPLATE ASSIGMENT FORM
// ==========================
echo "<h3>".__('Available templates')."</h3>";
echo "<br>";
echo '<form method="post" action="index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=template&id_agente='.$id_agente.'">';
$nps = db_get_all_fields_in_table ("tnetwork_profile", "name");
@ -121,13 +120,14 @@ foreach ($nps as $row) {
echo '<div>'.__('Template');
html_print_select ($select, "template_id");
echo '&nbsp;';
html_print_submit_button (__('Assign'), 'crt', false, 'class="sub next"');
echo '</div></form>';
// ==========================
// MODULE VISUALIZATION TABLE
// ==========================
echo "<h3>".__('Assigned modules')."</h3>";
echo "<h4>".__('Assigned modules')."</h4>";
switch ($config["dbtype"]) {
case "mysql":
@ -143,7 +143,7 @@ if ($result === false) {
$result = array ();
}
$table->width = 700;
$table->width = '95%';
$table->cellpadding = 4;
$table->cellspacing = 4;
$table->class = "databox";

View File

@ -111,6 +111,7 @@ $icon_path = '';
$update_gis_data = 0;
$unit = "";
$id_tag = array();
$tab_description = '';
$create_agent = (bool) get_parameter ('create_agent');
@ -222,7 +223,7 @@ if ($id_agente) {
/* Module tab */
$moduletab['text'] = '<a href="index.php?sec=gagente&amp;sec2=godmode/agentes/configurar_agente&amp;tab=module&amp;id_agente='.$id_agente.'">'
. html_print_image ("images/lightbulb.png", true, array ("title" =>__('Modules')))
. html_print_image ("images/brick.png", true, array ("title" =>__('Modules')))
. '</a>';
if($tab == 'module')
@ -312,8 +313,37 @@ if ($id_agente) {
$onheader = $onheader + array($id => $extension_tab);
}
}
// This add information to the header
switch ($tab) {
case "main":
$tab_description = '- '. __('Setup');
break;
case "collection":
$tab_description = '- ' . __('Collection');
break;
case "inventory":
$tab_description = '- ' . __('Inventory');
break;
case "module":
$tab_description = '- '. __('Modules');
break;
case "alert":
$tab_description = '- ' . __('Alert');
break;
case "template":
$tab_description = '- ' . __('Templates');
break;
case "gis":
$tab_description = '- ' . __('Gis');
break;
case "extension":
break;
default:
ui_print_page_header (__('Agent configuration') . ' -&nbsp;' . ui_print_truncate_text(agents_get_name ($id_agente), 25, false), "images/setup.png", false, "", true, $onheader);
}
ui_print_page_header (__('Agent configuration') . ' -&nbsp;' . ui_print_truncate_text(agents_get_name ($id_agente), 25, false) . ' ' . $tab_description, "images/setup.png", false, "", true, $onheader);
}
// Create agent
@ -937,6 +967,8 @@ switch ($tab) {
break;
case "alert":
/* Because $id_agente is set, it will show only agent alerts */
/* This var is for not display create button on alert list */
$dont_display_alert_create_bttn = true;
require ("godmode/alerts/alert_list.php");
break;
case "template":

View File

@ -38,7 +38,7 @@ if ($id_field) {
ui_print_page_header (__("Create agent custom field"), "images/note.png", false, "", true, "");
}
$table->width = '450px';
$table->width = '98%';
$table->data = array ();
$table->data[0][0] = __('Name');
$table->data[0][1] = html_print_input_text ('name', $name, '', 35, 100, true);

View File

@ -87,7 +87,7 @@ if ($delete_field) {
$fields = db_get_all_fields_in_table('tagent_custom_fields');
$table->width = '65%';
$table->width = '98%';
if ($fields) {
$table->head = array ();
$table->head[0] = __('Field');

View File

@ -99,7 +99,7 @@ if ((isset($_GET["operacion"])) AND ($update_group == -1) ) {
// Header
ui_print_page_header (__("Remote configuration management"), "images/god1.png", false, "", true, "");
echo '<form method="post" action="index.php?sec=gagente&sec2=godmode/agentes/manage_config_remote&operacion=1">';
echo "<table width='650' border='0' cellspacing='4' cellpadding='4' class='databox'>";
echo "<table width='98%' border='0' cellspacing='4' cellpadding='4' class='databox'>";
// Source group
echo '<tr><td class="datost"><b>'. __('Source group'). '</b><br><br>';
@ -107,7 +107,7 @@ if ((isset($_GET["operacion"])) AND ($update_group == -1) ) {
$group_select = users_get_groups ($config['id_user']);
$grouplist = implode (',', array_keys ($group_select));
echo html_print_select_groups($config['id_user'], "AR", true, 'id_group', $id_group, '', '', '', true);
echo html_print_select_groups($config['id_user'], "AR", true, 'id_group', $id_group, '', '', '', true, false, true, '', false, 'width:180px;');
echo '&nbsp;&nbsp;';
echo '<input type=submit name="update_group" class="sub upd" value="'.__('Filter').'">';
echo '<br><br>';
@ -144,7 +144,7 @@ if ((isset($_GET["operacion"])) AND ($update_group == -1) ) {
// Destination agent
echo '<tr><td class="datost">';
echo '<b>'.__('To agent(s):').'</b><br><br>';
echo "<select name=destino[] size='10' multiple='multiple' style='width: 250px;'>";
echo "<select name=destino[] size='10' multiple='multiple' style='width: 350px;'>";
if ($id_group > 0)
$sql1 = "SELECT * FROM tagente WHERE id_grupo = $id_group ORDER BY nombre ";
else
@ -170,3 +170,18 @@ if ((isset($_GET["operacion"])) AND ($update_group == -1) ) {
}
?>
<script type="text/javascript">
$(document).ready (function () {
$("#id_group").click (
function () {
$(this).css ("width", "auto");
});
$("#id_group").blur (function () {
$(this).css ("width", "180px");
});
});
</script>

View File

@ -82,11 +82,11 @@ else {
action='index.php?sec=gagente&sec2=godmode/agentes/modificar_agente'>";
}
echo "<table cellpadding='4' cellspacing='4' class='databox' width='770'><tr>";
echo "<table cellpadding='4' cellspacing='4' class='databox' width='98%'><tr>";
echo "<td valign='top'>".__('Group')."</td>";
echo "<td valign='top'>";
html_print_select_groups(false, "AR", true, "ag_group", $ag_group, 'this.form.submit();', '', 0);
html_print_select_groups(false, "AR", true, "ag_group", $ag_group, 'this.form.submit();', '', 0, false, false, true, '', false, 'width:100px;');
echo "<td valign='top'>
<noscript>
@ -324,7 +324,7 @@ echo "<div style='height: 20px'> </div>";
if ($agents !== false) {
echo "<table cellpadding='4' id='agent_list' cellspacing='4' width='95%' class='databox'>";
echo "<table cellpadding='4' id='agent_list' cellspacing='4' width='98%' class='databox'>";
echo "<th>".__('Agent name') . ' ' .
'<a href="index.php?sec=gagente&sec2=godmode/agentes/modificar_agente&group_id='.$ag_group.'&search='.$search .'&offset='.$offset.'&sort_field=name&sort=up">' . html_print_image("images/sort_up.png", true, array("style" => $selectNameUp)) . '</a>' .
'<a href="index.php?sec=gagente&sec2=godmode/agentes/modificar_agente&group_id='.$ag_group.'&search='.$search .'&offset='.$offset.'&sort_field=name&sort=down">' . html_print_image("images/sort_down.png", true, array("style" => $selectNameDown)) . '</a>';
@ -373,7 +373,7 @@ if ($agents !== false) {
echo '<span class="left">';
echo "<strong><a href='index.php?sec=gagente&
sec2=godmode/agentes/configurar_agente&tab=main&
id_agente=".$agent["id_agente"]."'>" . ui_print_truncate_text($agent["nombre"], 30, true)."</a></strong>";
id_agente=".$agent["id_agente"]."'>" . ui_print_truncate_text($agent["nombre"], 40, true)."</a></strong>";
if ($agent["disabled"]) {
ui_print_help_tip(__('Disabled'));
echo "</em>";
@ -454,5 +454,20 @@ $(document).ready (function () {
function () {
$(".actions", this).css ("visibility", "hidden");
});
$("#ag_group").click (
function () {
$(this).css ("width", "auto");
});
/* $("#ag_group").hover (
function () {
$(this).css ("width", "auto");
});*/
$("#ag_group").blur (function () {
$(this).css ("width", "100px");
});
});
</script>

View File

@ -16,7 +16,7 @@
/* You can redefine $url and unset $id_agente to reuse the form. Dirty (hope temporal) hack */
if (isset ($id_agente)) {
$url = 'index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=module&id_agente='.$id_agente;
echo "<h2>".__('Modules')."</h2>";
}
enterprise_include ('godmode/agentes/module_manager.php');
@ -26,7 +26,7 @@ require_once ('include/functions_agents.php');
require_once ('include/functions_servers.php');
// Create module/type combo
echo '<table width="300" cellpadding="4" cellspacing="4" class="databox">';
echo '<table width="95%" cellpadding="4" cellspacing="4" class="databox" style="text-align:center; ">';
echo '<form id="create_module_type" method="post" action="'.$url.'">';
echo "<tr><td class='datos'>";
@ -64,7 +64,7 @@ if (strstr($sec2, "enterprise/godmode/policies/policies") !== false) {
unset($modules['predictionserver']);
}
html_print_select ($modules, 'moduletype', '', '', '', '', false, false, false);
html_print_select ($modules, 'moduletype', '', '', '', '', false, false, false, '', false, 'max-width:300px;' );
html_print_input_hidden ('edit_module', 1);
echo '</td>';
echo '<td class="datos">';
@ -153,7 +153,7 @@ if ($multiple_delete) {
// MODULE VISUALIZATION TABLE
// ==========================
echo "<h3>".__('Assigned modules')."</h3>";
echo "<h4>".__('Assigned modules')."</h4>";
$url = 'index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=module&id_agente=' . $id_agente;
$selectNameUp = '';
@ -413,7 +413,7 @@ foreach ($modules as $module) {
$data[4] = $agent_interval;
}
$data[5] = ui_print_string_substr ($module["descripcion"], 32, true, 9);
$data[5] = ui_print_truncate_text($module['descripcion'], 25, false);
// MAX / MIN values
$data[6] = ui_print_module_warn_value ($module["max_warning"], $module["min_warning"], $module["max_critical"], $module["min_critical"]);

View File

@ -113,7 +113,7 @@ $update_module_id = (int) get_parameter_get ('update_module');
html_print_input_hidden ('moduletype', $moduletype);
$table_simple->id = 'simple';
$table_simple->width = '90%';
$table_simple->width = '98%';
$table_simple->class = 'databox_color';
$table_simple->data = array ();
$table_simple->colspan = array ();
@ -192,7 +192,7 @@ $table_simple->data[3][3] = html_print_checkbox ("history_data", 1, $history_dat
/* Advanced form part */
$table_advanced->id = 'advanced';
$table_advanced->width = '90%';
$table_advanced->width = '98%';
$table_advanced->class = 'databox_color';
$table_advanced->data = array ();
$table_advanced->style = array ();

View File

@ -166,7 +166,7 @@ if ($create_downtime || $update_downtime) {
}
$table->class = 'databox_color';
$table->width = '90%';
$table->width = '98%';
$table->data = array ();
$table->data[0][0] = __('Name');
$table->data[0][1] = html_print_input_text ('name', $name, '', 25, 40, true);
@ -186,7 +186,7 @@ if ($create_downtime || $update_downtime) {
if ($id_downtime > 0){
echo "<table width=100% border=0 cellpadding=4 >";
echo "<tr><td width=65% valign='top'>";
echo "<tr><td width=75% valign='top'>";
}
//Editor form
@ -238,14 +238,15 @@ if ($create_downtime || $update_downtime) {
echo "<form method=post action='index.php?sec=gagente&sec2=godmode/agentes/planned_downtime&first_update=1&id_downtime=$id_downtime'>";
html_print_select_groups(false, "AR", true, 'filter_group', $filter_group);
html_print_select_groups(false, "AR", true, 'filter_group', $filter_group, '', '', '', false, false, true, '', false, 'width:180px');
echo "<br /><br />";
html_print_submit_button (__('Filter by group'), '', false, 'class="sub next"',false);
echo "</form>";
echo "<form method=post action='index.php?sec=gagente&sec2=godmode/agentes/planned_downtime&first_update=1&insert_downtime_agent=1&id_downtime=$id_downtime'>";
echo html_print_select ($data, "id_agent[]", '', '', '', 0, false, true);
echo html_print_select ($data, "id_agent[]", '', '', '', 0, false, true, true, '', false, 'width: 180px;');
echo "<br /><br /><br />";
html_print_submit_button (__('Add'), '', false, 'class="sub next"',false);
echo "</form>";
@ -267,7 +268,7 @@ if ($create_downtime || $update_downtime) {
}
else {
$table->class = 'databox';
$table->width = '80%';
$table->width = '98%';
$table->data = array ();
$table->head = array ();
$table->head[0] = __('Name');
@ -304,7 +305,7 @@ else {
// View available downtimes present in database (if any of them)
$table->class = 'databox';
//Start Overview of existing planned downtime
$table->width = '90%';
$table->width = '98%';
$table->data = array ();
$table->head = array ();
$table->head[0] = __('Name #Ag.');
@ -326,7 +327,6 @@ else {
echo '<div class="nf">'.__('No planned downtime').'</div>';
}
else {
echo '<h3>'.__('Planned Downtime present on system').':</h3>';
foreach ($downtimes as $downtime) {
$data = array();
$total = db_get_sql ("SELECT COUNT(id_agent) FROM tplanned_downtime_agents WHERE id_downtime = ".$downtime["id"]);
@ -381,5 +381,25 @@ $(document).ready (function () {
});
$("#text-date_from, #text-date_to").datepicker ();
$.datepicker.regional["<?php echo $config['language']; ?>"];
$("#filter_group").click (
function () {
$(this).css ("width", "auto");
});
$("#filter_group").blur (function () {
$(this).css ("width", "180px");
});
$("#id_agent").click (
function () {
$(this).css ("width", "auto");
});
$("#id_agent").blur (function () {
$(this).css ("width", "180px");
});
});
</script>

View File

@ -250,7 +250,7 @@ if ($delete_action) {
__('Could not be deleted'));
}
$table->width = '90%';
$table->width = '98%';
$table->data = array ();
$table->head = array ();
$table->head[0] = __('Name');

View File

@ -123,7 +123,7 @@ if ($delete_command) {
__('Could not be deleted'));
}
$table->width = '90%';
$table->width = '98%';
$table->data = array ();
$table->head = array ();
$table->head[0] = __('Name');

View File

@ -102,7 +102,7 @@ if ($disable_alert) {
}
$table->id = 'filter_compound_table';
$table->width = '90%';
$table->width = '98%';
$table->data = array ();
$table->style = array ();
$table->style[0] = 'font-weight: bold; vertical-align:top';
@ -165,7 +165,7 @@ ui_pagination ($total, $url);
$table->id = 'alert_list';
$table->class = 'alert_list databox';
$table->width = '90%';
$table->width = '98%';
$table->data = array ();
$table->head = array ();
$table->style = array ();

View File

@ -30,7 +30,7 @@ include_once($config['homedir'] . '/include/functions_users.php');
$table->id = 'add_alert_table';
$table->class = 'databox';
$table->width = '95%';
$table->width = '98%';
$table->head = array ();
$table->data = array ();
$table->size = array ();

View File

@ -41,7 +41,7 @@ require_once ($config['homedir'].'/include/functions_users.php');
// Table for filter controls
$form_filter = '<form method="post" action="index.php?sec=galertas&amp;sec2=godmode/alerts/alert_list&amp;refr='.$config["refr"].'&amp;pure='.$config["pure"].'">';
$form_filter .= "<input type='hidden' name='search' value='1' />\n";
$form_filter .= '<table style="width: 90%;" cellpadding="4" cellspacing="4" class="databox">'."\n";
$form_filter .= '<table style="width: 98%;" cellpadding="4" cellspacing="4" class="databox">'."\n";
$form_filter .= "<tr>\n";
$form_filter .= "<td>".__('Template name')."</td><td>";
$form_filter .= html_print_input_text ('template_name', $templateName, '', 12, 255, true);
@ -57,7 +57,7 @@ if ($temp){
}
$form_filter .= "<td>".__('Agents')."</td><td>";
//Image srv with skins
//Image src with skins
$src_code = html_print_image('images/lightning.png', true, false, true);
$form_filter .= html_print_input_text_extended ('agent_name', $agentName, 'text-agent_name', '', 12, 100, false, '',
array('style' => 'background: url(' . $src_code . ') no-repeat right;'), true);
@ -119,6 +119,7 @@ $form_filter .= "</tr>\n";
$form_filter .= "</table>\n";
$form_filter .= "</form>\n";
echo "<br>";
ui_toggle($form_filter,__('Alert control filter'), __('Toggle filter(s)'));
$simple_alerts = array();
@ -296,7 +297,7 @@ else {
}
$table->class = 'alert_list';
$table->width = '95%';
$table->width = '98%';
$table->size = array ();
$table->align[0] = 'center';
@ -570,12 +571,20 @@ else {
}
// Create alert button
echo '<div class="action-buttons" style="width: '.$table->width.'">';
echo '<form method="post" action="index.php?sec=galertas&sec2=godmode/alerts/alert_list&tab=builder">';
html_print_submit_button (__('Create'), 'crtbtn', false, 'class="sub next"');
echo '</form>';
echo '</div>';
// $dont_display_alert_create_bttn is setted in configurar_agente.php in order to not display create button
$display_create = true;
if (isset($dont_display_alert_create_bttn))
if ($dont_display_alert_create_bttn)
$display_create = false;
if ($display_create){
echo '<div class="action-buttons" style="width: '.$table->width.'">';
echo '<form method="post" action="index.php?sec=galertas&sec2=godmode/alerts/alert_list&tab=builder">';
html_print_submit_button (__('Create'), 'crtbtn', false, 'class="sub next"');
echo '</form>';
echo '</div>';
}
ui_require_css_file ('cluetip');
ui_require_jquery_file ('cluetip');
ui_require_jquery_file ('pandora.controls');

View File

@ -191,7 +191,7 @@ $url = ui_get_url_refresh (array ('offset' => false));
$search_string = (string) get_parameter ('search_string');
$search_type = (string) get_parameter ('search_type');
$table->width = '600px';
$table->width = '98%';
$table->data = array ();
$table->head = array ();
$table->style = array ();
@ -229,7 +229,7 @@ $templates = alerts_get_alert_templates ($filter,
if ($templates === false)
$templates = array ();
$table->width = '90%';
$table->width = '98%';
$table->data = array ();
$table->head = array ();
$table->head[0] = __('Name');

View File

@ -86,7 +86,7 @@ if ($id) {
$action_threshold = $action ['action_threshold'];
}
$table->width = '90%';
$table->width = '98%';
$table->style = array ();
$table->style[0] = 'font-weight: bold';
$table->size = array ();
@ -152,7 +152,7 @@ ui_require_javascript_file ('pandora_alerts');
<script type="text/javascript">
$(document).ready (function () {
<?php if ($id_command) : ?>
original_command = "<?php $command = get_alert_command_command ($id_command);
original_command = "<?php $command = alerts_get_alert_command_command ($id_command);
$command = io_safe_output($command);
echo addslashes($command);
?>";

View File

@ -41,7 +41,7 @@ if ($id) {
// Header
ui_print_page_header (__('Alerts').' &raquo; '.__('Configure alert command'), "images/god2.png", false, "", true);
$table->width = '90%';
$table->width = '98%';
$table->style = array ();
$table->style[0] = 'font-weight: bold';
$table->size = array ();

View File

@ -303,7 +303,7 @@ print_alert_compound_steps ($step, $id);
$groups = users_get_groups ();
$table->id = 'compound';
$table->width = '90%';
$table->width = '98%';
$table->style = array ();
$table->style[0] = 'font-weight: bold; vertical-align: top';
$table->style[2] = 'font-weight: bold';
@ -587,7 +587,7 @@ if ($step == 1) {
/* Rest of fields are reused */
$table_alerts->id = 'alert_list';
$table_alerts->width = '80%';
$table_alerts->width = '98%';
$table_alerts->data = array ();
unset ($table_alerts->head[3]);

View File

@ -420,7 +420,7 @@ if ($id && ! $create_template) {
print_alert_template_steps ($step, $id);
$table->id = 'template';
$table->width = '90%';
$table->width = '98%';
$table->style = array ();
$table->style[0] = 'font-weight: bold; vertical-align: top';
$table->style[2] = 'font-weight: bold; vertical-align: top';

View File

@ -68,7 +68,7 @@ if (isset($_POST["purgedb"])){ # Fixed 2005-1-13, nil
}
# End of get parameters block
echo "<table cellpadding='4' cellspacing='4' class='databox'>";
echo "<table cellpadding='4' cellspacing='4' class='databox' width='98%'>";
echo "<tr><td class='datos'>";
$result = db_get_row_sql ("SELECT COUNT(*) AS total, MIN(fecha) AS first_date, MAX(fecha) AS latest_date FROM tsesion");
@ -86,7 +86,7 @@ echo "</tr></table>";
?>
<h3><?php echo __('Purge data') ?></h3>
<form name="db_audit" method="post" action="index.php?sec=gdbman&sec2=godmode/db/db_audit">
<table width='300' cellpadding='4' cellspacing='4' class='databox'>
<table width='98%' cellpadding='4' cellspacing='4' class='databox'>
<tr><td class='datos'>
<select name="date_purge">
<option value="<?php echo $time["3month"] ?>"><?php echo __('Purge audit data over 90 days') ?></option>

View File

@ -49,7 +49,7 @@ $table->data = array ();
$table->cellpadding = 4;
$table->cellspacing = 4;
$table->class = "databox";
$table->width = 300;
$table->width = '98%';
$table->data[0][0] = '<b>'.__('Total').':</b>';
$table->data[0][1] = $row["total"].' '.__('Records');
@ -66,7 +66,7 @@ unset ($table);
echo '<h3>'.__('Purge data').'</h3>';
echo '<form name="db_audit" method="post" action="index.php?sec=gdbman&sec2=godmode/db/db_event">';
echo '<table width="300" cellpadding="4" cellspacing="4" class="databox">
echo '<table width="98%" cellpadding="4" cellspacing="4" class="databox">
<tr><td class="datos">';
$time = get_system_time ();

View File

@ -46,7 +46,7 @@ if (! check_acl ($config['id_user'], 0, "DM")) {
echo grafico_db_agentes_purge2(0, 600, 400);
echo '<div id="db_info_graph">';
echo '<table border=0>';
echo '<table border=0 width="98%">';
echo '<tr><td>';
echo '<h3>'.__('Modules per agent').'</h3>';

View File

@ -68,7 +68,7 @@ $max_data = 12000000;
ui_print_page_header (__('Current database maintenance setup'), "", false, "", true);
echo '<table class=databox width="550" cellspacing="4" cellpadding="4" border="0">';
echo '<table class=databox width="98%" cellspacing="4" cellpadding="4" border="0">';
// Current setup

View File

@ -214,7 +214,7 @@ $data["1month"] += db_get_sql (sprintf ("SELECT COUNT(*) FROM tagente_datos_log4
$data["3month"] += db_get_sql (sprintf ("SELECT COUNT(*) FROM tagente_datos_log4x WHERE utimestamp > %d %s", $time["3month"], $query));
$data["total"] += db_get_sql (sprintf ("SELECT COUNT(*) FROM tagente_datos_log4x WHERE 1=1 %s", $query));
$table->width = '50%';
$table->width = '98%';
$table->border = 0;
$table->class = "databox";

View File

@ -61,7 +61,7 @@ if ((isset ($_GET["operacion"])) && (!isset ($_POST["update_agent"]))) {
echo '<br /><br /><h3 class="suc">'.__('Filtering completed').'</h3>';
}
echo '<form method="post" action="index.php?sec=gdbman&sec2=godmode/db/db_refine&operacion=1">';
echo "<table width='650' border='0' cellspacing='4' cellpadding='4' class='databox'>";
echo "<table width='98%' border='0' cellspacing='4' cellpadding='4' class='databox'>";
echo '<tr><td class="datost">';
echo '<div style="float:left; width: 250px;">';
@ -86,7 +86,7 @@ html_print_select ($modules, "origen_modulo[]", $module_selected, '', '', '0', f
echo '</div>'; //Left div
echo '<div style="float:left; width:250px;"><b>'.__('Purge data out of these limits').'</b><br /><br />';
echo '<div style="float:left; width:"98%";"><b>'.__('Purge data out of these limits').'</b><br /><br />';
echo '<table><tr><td>';
echo __('Minimum').': ';
echo '</td><td>';

View File

@ -97,7 +97,7 @@ elseif ($sanity == 2) {
}
echo "<br>";
echo "<div style='width:520px'>";
echo "<div style='width:98%'>";
echo __('Pandora FMS Sanity tool is used to remove bad database structure data, created modules with missing status, or modules that cannot be initialized (and don\'t report any valid data) but retry each its own interval to get data. This kind of bad modules could degrade performance of Pandora FMS. This database sanity tool is also implemented in the <b>pandora_db.pl</b> that you should be running each day or week. This console sanity DONT compact your database, only delete bad structured data.');
echo "<br><br>";

View File

@ -141,7 +141,7 @@ if ($disabled != '') {
$extensions = extensions_get_extension_info();
$table->width = '95%';
$table->width = '98%';
$table->head = array();
$table->head[] = __('File');

View File

@ -297,7 +297,7 @@ switch ($action) {
break;
}
$table->width = '90%';
$table->width = '98%';
$table->data = array ();
$table->valign[0] = 'top';
@ -366,7 +366,7 @@ html_print_table($table);
echo "<h3>" . __('Layers') . ui_print_help_tip (__('Each layer can show agents from one group or the agents added to that layer or both.'), true). "</h3>";
$table->width = '90%';
$table->width = '98%';
$table->data = array ();
$table->valign[0] = 'top';
$table->valign[1] = 'top';

View File

@ -64,7 +64,7 @@ switch ($action) {
ui_print_page_header (__('GIS Maps builder'), "images/server_web.png", false, "gis_map_builder", true);
$table->width = '500px';
$table->width = '98%';
$table->head[0] = __('Map name');
$table->head[1] = __('Group');
$table->head[2] = __('View');

View File

@ -66,7 +66,7 @@ else {
ui_print_page_header (__("Create group"), "images/god1.png", false, "", true, "");
}
$table->width = '450px';
$table->width = '98%';
$table->data = array ();
$table->data[0][0] = __('Name');
$table->data[0][1] = html_print_input_text ('name', $name, '', 35, 100, true);

View File

@ -51,7 +51,7 @@ if ($id_group) {
}
$table->width = '450px';
$table->width = '98%';
$table->data = array ();
$table->data[0][0] = __('Name');
$table->data[0][1] = html_print_input_text ('name', $name, '', 35, 100, true);

View File

@ -195,7 +195,8 @@ if ($delete_group) {
}
$table->width = '90%';
$table->width = '98%';
$table->head = array ();
$table->head[0] = __('Name');
$table->head[1] = __('ID');

View File

@ -105,7 +105,7 @@ if ($delete_group) {
echo "<h3 class='suc'>".__('Group successfully deleted')."</h3>";
}
$table->width = '500px';
$table->width = '98%';
$table->head = array ();
$table->head[0] = __('ID');
$table->head[1] = __('Name');

View File

@ -134,7 +134,7 @@ if ($add) {
$groups = users_get_groups ();
$table->id = 'delete_table';
$table->width = '95%';
$table->width = '98%';
$table->data = array ();
$table->style = array ();
$table->style[0] = 'font-weight: bold; vertical-align:top';

View File

@ -103,7 +103,7 @@ if ($add) {
$groups = users_get_groups ();
$table->id = 'add_table';
$table->width = '95%';
$table->width = '98%';
$table->data = array ();
$table->style = array ();
$table->style[0] = 'font-weight: bold; vertical-align:top';
@ -118,7 +118,7 @@ $table->data = array ();
$table->data[0][0] = __('Group');
$table->data[0][1] = html_print_select_groups(false, "AR", true, 'id_group', 0,
'', 'Select', -1, true, false, true, '', false);
'', 'Select', -1, true, false, true, '', false, 'width:180px;');
$table->data[0][2] = '';
$table->data[0][3] = '';
@ -130,9 +130,9 @@ $agents_alerts = alerts_get_agents_with_alert_template ($id_alert_template, $id_
false, array ('tagente.nombre', 'tagente.id_agente'));
$agents = agents_get_agents();
$table->data[1][1] = html_print_select (index_array ($agents, 'id_agente', 'nombre'),
'id_agents[]', '', '', '', '', true, true, true, '', false);
'id_agents[]', '', '', '', '', true, true, true, '', false, 'width:180px;');
$table->data[1][2] = __('Modules');
$table->data[1][3] = html_print_select (array(), 'module[]', '', false, '', '', true, true, false);
$table->data[1][3] = html_print_select (array(), 'module[]', '', false, '', '', true, true, false, '', false, 'width:180px;');
$templates = alerts_get_alert_templates (false, array ('id', 'name'));
$table->data[2][0] = __('Alert template');
@ -188,6 +188,34 @@ $(document).ready (function () {
});
$("#id_group").value = "0";
$("#id_group").click (
function () {
$(this).css ("width", "auto");
});
$("#id_group").blur (function () {
$(this).css ("width", "180px");
});
$("#id_agents").click (
function () {
$(this).css ("width", "auto");
});
$("#id_agents").blur (function () {
$(this).css ("width", "180px");
});
$("#module").click (
function () {
$(this).css ("width", "auto");
});
$("#module").blur (function () {
$(this).css ("width", "180px");
});
});
/* ]]> */
</script>

View File

@ -77,7 +77,7 @@ html_print_table ($table);
unset($table);
$table->width = '90%';
$table->width = '98%';
$table->data = array ();
$table->head = array ();
$table->align = array ();

View File

@ -52,7 +52,7 @@ if ($do_operation) {
$groups = users_get_groups ();
$table->class = 'databox';
$table->width = '95%';
$table->width = '98%';
$table->data = array ();
$table->style = array ();
$table->style[0] = 'font-weight: bold; vertical-align:top';

View File

@ -143,7 +143,7 @@ if ($delete) {
$groups = users_get_groups ();
$table->id = 'delete_table';
$table->width = '95%';
$table->width = '98%';
$table->data = array ();
$table->style = array ();
$table->style[0] = 'font-weight: bold; vertical-align:top';

View File

@ -84,7 +84,7 @@ if ($delete) {
$groups = users_get_groups ();
$table->id = 'delete_table';
$table->width = '95%';
$table->width = '98%';
$table->data = array ();
$table->style = array ();
$table->style[0] = 'font-weight: bold; vertical-align:top';

View File

@ -110,7 +110,7 @@ if ($delete) {
$groups = users_get_groups ();
$table->id = 'delete_table';
$table->width = '95%';
$table->width = '98%';
$table->data = array ();
$table->style = array ();
$table->style[0] = 'font-weight: bold; vertical-align:top';

View File

@ -97,7 +97,7 @@ if ($delete) {
$groups = users_get_groups ();
$table->id = 'delete_table';
$table->width = '95%';
$table->width = '98%';
$table->data = array ();
$table->style = array ();
$table->style[0] = 'font-weight: bold; vertical-align:top';

View File

@ -86,7 +86,7 @@ html_print_table ($table);
unset($table);
$table->width = '90%';
$table->width = '98%';
$table->data = array ();
$table->head = array ();
$table->align = array ();

View File

@ -177,7 +177,7 @@ $id_group = 0;
$groups = users_get_groups();
$table->id = 'delete_table';
$table->width = '95%';
$table->width = '98%';
$table->data = array ();
$table->style = array ();
$table->style[0] = 'font-weight: bold; vertical-align:top';

View File

@ -187,7 +187,7 @@ if ($update) {
}
$table->id = 'delete_table';
$table->width = '95%';
$table->width = '98%';
$table->data = array ();
$table->style = array ();
$table->style[0] = 'font-weight: bold; vertical-align:top';

View File

@ -109,7 +109,7 @@ switch($action) {
$groups = users_get_groups ();
$table->id = 'delete_table';
$table->width = '95%';
$table->width = '98%';
$table->data = array ();
$table->style = array ();
$table->style[0] = 'font-weight: bold; vertical-align:top';

View File

@ -110,7 +110,7 @@ switch($action) {
$groups = users_get_groups ();
$table->id = 'delete_table';
$table->width = '95%';
$table->width = '98%';
$table->data = array ();
$table->style = array ();
$table->style[0] = 'font-weight: bold; vertical-align:top';

View File

@ -85,7 +85,7 @@ $url = ui_get_url_refresh (array ('offset' => false,
'upd' => false,
'id_sg' => false));
$table->width = '90%';
$table->width = '98%';
$table->head = array ();
$table->head[0] = __('Name');
$table->head[1] = __('Parent');

View File

@ -38,7 +38,7 @@ if ($id) {
$parent = '';
}
$table->width = '50%';
$table->width = '98%';
$table->style = array ();
$table->style[0] = 'font-weight: bold';
$table->data = array ();

View File

@ -252,7 +252,7 @@ $url = ui_get_url_refresh (array ('offset' => false,
$search_id_group = (int) get_parameter ('search_id_group');
$search_string = (string) get_parameter ('search_string');
$table->width = '600px';
$table->width = '98%';
$table->style = array ();
$table->style[0] = 'font-weight: bold';
$table->style[2] = 'font-weight: bold';
@ -291,7 +291,7 @@ if ($components === false)
$components = array ();
unset ($table);
$table->width = '95%';
$table->width = '98%';
$table->head = array ();
$table->head[0] = __('Module name');
$table->head[1] = __('Type');

View File

@ -35,7 +35,7 @@ function push_table_row ($row, $id = false) {
$table->id = 'network_component';
$table->width = '90%';
$table->width = '98%';
$table->class = 'databox_color';
$table->style = array ();
$table->style[0] = 'font-weight: bold';

View File

@ -29,7 +29,7 @@ if (! $id) {
$snmp_community = "public";
}
echo "<h3>".__('Network component')."</h3>";
$snmp_versions['1'] = 'v. 1';
$snmp_versions['2'] = 'v. 2';
@ -59,7 +59,7 @@ $data = array();
$data[0] = __('Auth user');
$data[1] = html_print_input_text ('snmp3_auth_user', $snmp3_auth_user, '', 15, 60, true);
$data[2] = __('Auth password');
$data[3] = print_input_text ('snmp3_auth_pass', $snmp3_auth_pass, '', 15, 60, true);
$data[3] = html_print_input_text ('snmp3_auth_pass', $snmp3_auth_pass, '', 15, 60, true);
$data[3] .= html_print_input_hidden('active_snmp_v3', 0, true);
push_table_row($data, 'field_snmpv3_row1');

View File

@ -79,7 +79,7 @@ if (! $id) {
echo '<form method="post" action="index.php?sec=gmodules&sec2=godmode/modules/manage_network_components">';
echo '<table width="95%" cellspacing="4" cellpadding="4" class="databox_color">';
echo '<table width="98%" cellspacing="4" cellpadding="4" class="databox_color">';
echo '<tr>';
// Name

View File

@ -137,7 +137,7 @@ $result = db_get_all_rows_in_table ("tnetwork_profile", "name");
$table->cellpadding = 4;
$table->cellspacing = 4;
$table->width = "95%";
$table->width = "98%";
$table->class = "databox";
$table->head = array ();

View File

@ -120,7 +120,7 @@ else {
echo '<form name="mod_temp" method="post" action="index.php?sec=gmodules&sec2=godmode/modules/manage_network_templates_form&id_np='.$id_np.'&update='.$id_np.'">';
}
echo '<table width="550" cellpadding="4" cellspacing="4" class="databox_color">';
echo '<table width="98%" cellpadding="4" cellspacing="4" class="databox_color">';
echo '<tr><td class="datos">'.__('Name').'</td><td class="datos">';
html_print_input_text ("name", $name, '', 63);
@ -169,7 +169,7 @@ if ($id_np > 0) {
$table->head = array ();
$table->data = array ();
$table->align = array ();
$table->width = 550;
$table->width = '98%';
$table->cellpadding = 4;
$table->cellspacing = 4;
$table->class = "databox";
@ -196,13 +196,13 @@ if ($id_np > 0) {
if (!empty ($table->data)) {
echo '<form name="component_delete" method="post" action="index.php?sec=gmodules&sec2=godmode/modules/manage_network_templates_form&id_np='.$id_np.'&delete_module=1">';
html_print_table ($table);
echo '<div style="width:540px; text-align:right">';
echo '<div style="width:98%; text-align:right">';
html_print_submit_button (__('Delete'), "delbutton", false, 'class="sub delete" onClick="if (!confirm(\'Are you sure?\')) return false;"');
echo '</div></form>';
}
unset ($table);
echo "<h3>".__('Add modules')."</h3>";
echo "<h4 style='margin-top:0px !important;'>".__('Add modules')."</h4>";
//Here should be a form to filter group
@ -232,7 +232,7 @@ if ($id_np > 0) {
echo '</noscript></div></form>';
echo '<form name="add_module" method="post" action="index.php?sec=gmodules&sec2=godmode/modules/manage_network_templates_form&id_np='.$id_np.'&add_module=1">';
echo '<div style="width:540px">';
echo '<div style="width: 98%">';
if ($ncgroup > 0) {
$sql = sprintf ("SELECT id_nc, name, id_group FROM tnetwork_component WHERE id_group = %d ORDER BY name", $ncgroup);
}

View File

@ -53,7 +53,7 @@ if ($update_module) {
}
echo "<table cellpadding='4' cellspacing='4' width='750' class='databox'>";
echo "<table cellpadding='4' cellspacing='4' width='98%' class='databox'>";
echo "<th>".__('Icon')."</th>";
echo "<th>".__('ID')."</th>";
echo "<th>".__('Name')."</th>";

View File

@ -75,7 +75,7 @@ if ($editGraph) {
// Modules table
if(count($module_array) > 0){
echo "<table width='500' cellpadding=4 cellpadding=4 class='databox'>";
echo "<table width='98%' cellpadding=4 cellpadding=4 class='databox'>";
echo "<tr>
<th>".__('Agent')."</th>
<th>".__('Module')."</th>
@ -118,7 +118,7 @@ if(count($module_array) > 0){
echo '<span id ="none_text" style="display: none;">' . __('None') . '</span>';
echo "<form method='post' action='index.php?sec=greporting&sec2=godmode/reporting/graph_builder&tab=graph_editor&add_module=1&edit_graph=1&id=" . $id . "'>";
echo "<table width='500' cellpadding='4' cellpadding='4' class='databox_color'>";
echo "<table width='98%' cellpadding='4' cellpadding='4' class='databox_color'>";
echo "<tr>";
echo "<td colspan='3'>".__('Filter group')."</td>";
echo "</tr><tr>";

View File

@ -83,7 +83,7 @@ if ($edit_graph) {
// CREATE/EDIT GRAPH FORM
// -----------------------
echo "<table width='500' cellpadding=4 cellspacing=4 class='databox_color'>";
echo "<table width='98%' cellpadding=4 cellspacing=4 class='databox_color'>";
if ($edit_graph)
echo "<form method='post' action='index.php?sec=greporting&sec2=godmode/reporting/graph_builder&edit_graph=1&update_graph=1&id=" . $id_graph . "'>";

View File

@ -69,7 +69,7 @@ else
$graphs = custom_graphs_get_user ($config['id_user'], false, $return_all_group, "IW");
if (! empty ($graphs)) {
$table->width = '720px';
$table->width = '98%';
$tale->class = 'databox_frame';
$table->align = array ();
$table->align[0] = 'center';
@ -118,7 +118,7 @@ else {
}
echo '<form method="post" action="index.php?sec=greporting&sec2=godmode/reporting/graph_builder">';
echo '<div class="action-buttons" style="width: 720px;">';
echo '<div class="action-buttons" style="width: 98%;">';
html_print_submit_button (__('Create graph'), 'create', false, 'class="sub next"');
echo "</div>";
echo "</form>";

View File

@ -101,7 +101,7 @@ if ($copy_layout) {
}
$table->width = '550px';
$table->width = '98%';
$table->data = array ();
$table->head = array ();
$table->head[0] = __('Map name');

View File

@ -301,7 +301,7 @@ $urlForm = 'index.php?sec=greporting&sec2=godmode/reporting/reporting_builder&ta
echo '<form action="' . $urlForm . '" method="post">';
html_print_input_hidden('id_item', $idItem);
?>
<table style="" class="databox" id="" border="0" cellpadding="4" cellspacing="4" width="95%">
<table style="" class="databox" id="" border="0" cellpadding="4" cellspacing="4" width="98%">
<tbody>
<tr id="row_type" style="" class="datos">
<td style="vertical-align: top;"><?php echo __('Type'); ?></td>
@ -558,7 +558,7 @@ if ($config ['metaconsole'] == 1) {
function print_SLA_list($width, $action, $idItem = null) {
global $config;
?>
<table class="databox" id="sla_list" border="0" cellpadding="4" cellspacing="4" width="95%">
<table class="databox" id="sla_list" border="0" cellpadding="4" cellspacing="4" width="98%">
<thead>
<tr>
<th class="header" scope="col"><?php echo __('Agent');?></th>
@ -654,7 +654,7 @@ function print_SLA_list($width, $action, $idItem = null) {
function print_General_list($width, $action, $idItem = null) {
global $config;
?>
<table class="databox" id="general_list" border="0" cellpadding="4" cellspacing="4" width="95%">
<table class="databox" id="general_list" border="0" cellpadding="4" cellspacing="4" width="98%">
<thead>
<tr>
<th class="header" scope="col"><?php echo __('Agent');?></th>

View File

@ -134,7 +134,7 @@ $urlFilter = '&agent_filter=' . $agentFilter . '&module_filter=' . $moduleFilter
echo '<a href="javascript: toggleFormFilter();"><b>'.__('Items filter').'</b> ' . html_print_image("images/down.png", true, array("title" => __('Toggle filter(s)'), "id" => 'image_form_filter')) . '</a>';
$table = null;
$table->width = '80%';
$table->width = '98%';
$table->data[0][0] = __('Agents');
$table->data[0][1] = html_print_select($agents, 'agent_filter', $agentFilter, '', __('All'), 0, true);
$table->data[0][2] = __('Modules');

View File

@ -39,7 +39,7 @@ switch ($action) {
break;
}
$table->width = '90%';
$table->width = '98%';
$table->id = 'add_alert_table';
$table->class = 'databox';
$table->head = array ();

View File

@ -61,7 +61,7 @@ switch ($action) {
$table->width = '0px';
if (sizeof ($reports)) {
$table->id = 'report_list';
$table->width = '720px';
$table->width = '98%';
$table->head = array ();
$table->align = array ();
$table->align[2] = 'center';
@ -112,7 +112,7 @@ switch ($action) {
}
echo '<form method="post" action="index.php?sec=greporting&sec2=godmode/reporting/reporting_builder&tab=main&action=new">';
echo '<div class="action-buttons" style="width: 720px;">';
echo '<div class="action-buttons" style="width: 98%;">';
html_print_submit_button (__('Create report'), 'create', false, 'class="sub next"');
echo "</div>";
echo "</form>";

View File

@ -43,7 +43,7 @@ switch ($action) {
break;
}
$table->width = '70%';
$table->width = '98%';
$table->data = array ();
$table->data[0][0] = __('Name:'). ui_print_help_tip (__("Use [ or ( as first character, for example '[*] Map name', to render this map name in main menu"), true);

View File

@ -29,7 +29,7 @@ require_once ('include/functions_visual_map.php');
require_once($config['homedir'] . "/include/functions_agents.php");
$table->id = 'wizard_table';
$table->width = '65%';
$table->width = '98%';
$table->data = array ();
$table->style = array ();
$table->style[0] = 'font-weight: bold; vertical-align:top';

View File

@ -76,7 +76,7 @@ if (isset ($_GET["update"])) { // Edit mode
ui_print_page_header (__('Manage recontask') . " " . ui_print_help_icon ("recontask", true), "", false, "", true);
$table->width='90%';
$table->width='98%';
$table->cellspacing=4;
$table->cellpadding=4;
$table->class="databox_color";

View File

@ -38,7 +38,7 @@ if (isset($_GET["server"])) {
$table->cellpadding=4;
$table->cellspacing=4;
$table->width=450;
$table->width='98%';
$table->class="databox_color";
$table->data[] = array (__('Name'),$row["name"]);
@ -84,7 +84,7 @@ else {
$servers = servers_get_info ();
if ($servers !== false) {
$table->width = "90%";
$table->width = "98%";
$table->class = "databox";
$table->data = array ();

View File

@ -82,7 +82,7 @@ if (($create != "") OR ($view != "")){
else
echo "<form name=plugin method='post' action='index.php?sec=gservers&sec2=godmode/servers/plugin&create_plugin=1'>";
echo '<table width="600" cellspacing="4" cellpadding="4" class="databox_color">';
echo '<table width="98%" cellspacing="4" cellpadding="4" class="databox_color">';
echo '<tr><td class="datos">'.__('Name');
echo '<td class="datos">';
@ -125,7 +125,7 @@ if (($create != "") OR ($view != "")){
echo '</textarea></td></tr>';
echo '</table>';
echo '<table width=600>';
echo '<table width="98%">';
echo '<tr><td align="right">';
if ($create != ""){
@ -227,7 +227,7 @@ else {
$rows = db_get_all_rows_sql('SELECT * FROM tplugin ORDER BY name');
if ($rows !== false) {
echo '<table width="730" cellspacing="4" cellpadding="4" class="databox">';
echo '<table width="98%" cellspacing="4" cellpadding="4" class="databox">';
echo "<th>".__('Name')."</th>";
echo "<th>".__('Type')."</th>";
echo "<th>".__('Command')."</th>";

View File

@ -70,7 +70,7 @@ if (($create != "") OR ($view != "")){
else
echo "<form name=reconscript method='post' action='index.php?sec=gservers&sec2=godmode/servers/recon_script&create_reconscript=1'>";
echo '<table width="90%" cellspacing="4" cellpadding="4" class="databox_color">';
echo '<table width="98%" cellspacing="4" cellpadding="4" class="databox_color">';
echo '<tr><td class="datos">'.__('Name');
echo '<td class="datos">';
@ -86,7 +86,7 @@ if (($create != "") OR ($view != "")){
echo '</textarea></td></tr>';
echo '</table>';
echo '<table width=90%>';
echo '<table width=98%>';
echo '<tr><td align="right">';
if ($create != ""){
@ -164,7 +164,7 @@ else {
$rows = db_get_all_rows_in_table('trecon_script');
if ($rows !== false) {
echo '<table width="730" cellspacing="4" cellpadding="4" class="databox">';
echo '<table width="98%" cellspacing="4" cellpadding="4" class="databox">';
echo "<th>".__('Name')."</th>";
echo "<th>".__('Command')."</th>";
echo "<th>".__('Description')."</th>";
@ -198,7 +198,7 @@ else {
echo '<div class="nf">'. __('There are no recon scripts in the system');
echo "<br>";
}
echo "<table width=730>";
echo "<table width=98%>";
echo "<tr><td align=right>";
echo "<form name=reconscript method='post' action='index.php?sec=gservers&sec2=godmode/servers/recon_script&create=1'>";
echo "<input name='crtbutton' type='submit' class='sub next' value='".__('Add')."'>";

View File

@ -58,7 +58,7 @@ switch ($action) {
break;
}
$table->width = '500px';
$table->width = '98%';
$table->head[0] = __('Map connection name');
$table->head[1] = __('Group');
$table->head[3] = __('Delete');

View File

@ -85,7 +85,7 @@ if ((isset($_GET["form_add"])) or (isset($_GET["form_edit"]))){
$nombre = "";
$link = "";
}
echo '<table class="databox" cellpadding="4" cellspacing="4" width="500">';
echo '<table class="databox" cellpadding="4" cellspacing="4" width="98%">';
echo '<form name="ilink" method="post" action="index.php?sec=gsetup&sec2=godmode/setup/links">';
if ($creation_mode == 1)
echo "<input type='hidden' name='create' value='1'>";
@ -105,7 +105,7 @@ if ((isset($_GET["form_add"])) or (isset($_GET["form_edit"]))){
<input type="text" name="link" size="35" value="'.$link.'"></td>';
echo '</tr>';
echo "</table>";
echo "<table width='500px'>";
echo "<table width='98%'>";
echo "<tr><td align='right'>";
if (isset($_GET["form_add"])) {
echo "<input name='crtbutton' type='submit' class='sub wand' value='".__('Create')."'>";
@ -116,7 +116,7 @@ if ((isset($_GET["form_add"])) or (isset($_GET["form_edit"]))){
echo '</form></td></tr></table>';
}
else { // Main list view for Links editor
echo "<table cellpadding='4' cellspacing='4' class='databox'>";
echo "<table cellpadding='4' cellspacing='4' class='databox' style='width:98%'>";
echo "<th width='180px'>".__('Link name')."</th>";
echo "<th width='80px'>".__('Delete')."</th>";
@ -139,7 +139,7 @@ else { // Main list view for Links editor
echo '<td class="'.$tdcolor.'" align="center"><a href="index.php?sec=gsetup&sec2=godmode/setup/links&id_link='.$row["id_link"].'&borrar='.$row["id_link"].'" onClick="if (!confirm(\' '.__('Are you sure?').'\')) return false;">' . html_print_image("images/cross.png", true) . '</a></td></tr>';
}
echo "</table>";
echo "<table width='290px'>";
echo "<table width='98%'>";
echo "<tr><td align='right'>";
echo "<form method='post' action='index.php?sec=gsetup&sec2=godmode/setup/links&form_add=1'>";
echo "<input type='submit' class='sub next' name='form_add' value='".__('Add')."'>";

View File

@ -93,7 +93,7 @@ if ((isset ($_GET["form_add"])) || (isset ($_GET["form_edit"]))) {
// Create news
echo '<table class="databox" cellpadding="4" cellspacing="4" width="500">';
echo '<table class="databox" cellpadding="4" cellspacing="4" width="98%">';
echo '<form name="ilink" method="post" action="index.php?sec=gsetup&sec2=godmode/setup/news">';
if ($creation_mode == 1)
echo "<input type='hidden' name='create' value='1'>";
@ -115,7 +115,7 @@ if ((isset ($_GET["form_add"])) || (isset ($_GET["form_edit"]))) {
echo '</textarea></td>';
echo '</tr>';
echo "</table>";
echo "<table width='500px'>";
echo "<table width='98%'>";
echo "<tr><td align='right'>";
if (isset($_GET["form_add"])) {
echo "<input name='crtbutton' type='submit' class='sub wand' value='".__('Create')."'>";
@ -128,7 +128,7 @@ if ((isset ($_GET["form_add"])) || (isset ($_GET["form_edit"]))) {
else {
// Main list view for Links editor
echo "<table cellpadding='4' cellspacing='4' class='databox' width=90%>";
echo "<table cellpadding='4' cellspacing='4' class='databox' width=98%>";
echo "<th>".__('Subject')."</th>";
echo "<th>".__('Author')."</th>";
echo "<th>".__('Timestamp')."</th>";
@ -157,7 +157,7 @@ else {
echo '<td class="'.$tdcolor.'" align="center"><a href="index.php?sec=gsetup&sec2=godmode/setup/news&id_news='.$row["id_news"].'&borrar='.$row["id_news"].'" onClick="if (!confirm(\' '.__('Are you sure?').'\')) return false;">' . html_print_image("images/cross.png", true, array("border" => '0')) . '</a></td></tr>';
}
echo "</table>";
echo "<table width='90%'>";
echo "<table width='98%'>";
echo "<tr><td align='right'>";
echo "<form method='post' action='index.php?sec=gsetup&sec2=godmode/setup/news&form_add=1'>";
echo "<input type='submit' class='sub next' name='form_add' value='".__('Add')."'>";

View File

@ -26,7 +26,7 @@ if (! check_acl ($config['id_user'], 0, "PM") && ! is_user_admin ($config['id_us
echo '<form id="form_setup" method="post">';
$table = null;
$table->width = '50%';
$table->width = '98%';
$table->style[0] = 'font-weight: bolder; vertical-align: top;';

View File

@ -26,7 +26,7 @@ if (! check_acl ($config['id_user'], 0, "PM") && ! is_user_admin ($config['id_us
$table = null;
$table->width = '80%';
$table->width = '98%';
$table->head[0] = '';
$table->head[1] = __('ID');
$table->head[2] = __('Name');

View File

@ -39,7 +39,7 @@ enterprise_include ('godmode/setup/setup.php');
// Header
ui_print_page_header (__('Performance configuration'), "", false, "", true);
$table->width = '90%';
$table->width = '98%';
$table->data = array ();

View File

@ -52,7 +52,7 @@ enterprise_include ('godmode/setup/setup.php');
ui_print_page_header (__('General configuration'), "", false, "", true);
$table->width = '90%';
$table->width = '98%';
$table->data = array ();
// Current config["language"] could be set by user, not taken from global setup !

View File

@ -33,7 +33,7 @@ enterprise_include ('godmode/setup/setup_auth.php');
ui_print_page_header (__('Authentication configuration'), "", false, "", true);
$table->data = array ();
$table->width = '90%';
$table->width = '98%';
$table->size[0] = '30%';
$table->data[0][0] = __('Authentication method');

View File

@ -41,7 +41,7 @@ require_once ('include/functions_themes.php');
// Header
ui_print_page_header (__('Visual configuration'), "", false, "", true);
$table->width = '90%';
$table->width = '98%';
$table->data = array ();
$table->data[1][0] = __('Date format string') . ui_print_help_icon("date_format", true);

View File

@ -149,7 +149,7 @@ if (isset ($_GET["delete_alert"])) { // Delete alert
if (isset ($_GET["update_alert"])) {
//the update_alert means the form should be displayed. If update_alert > 1 then an existing alert is updated
echo '<form name="agente" method="post" action="index.php?sec=gsnmpconsole&sec2=godmode/snmpconsole/snmp_alert&submit='.$id_as.'">';
echo '<table cellpadding="4" cellspacing="4" width="650" class="databox_color">';
echo '<table cellpadding="4" cellspacing="4" width="98%" class="databox_color">';
// Alert type (e-mail, event etc.)
echo '<tr><td class="datos">'.__('Alert action').'</td><td class="datos">';
@ -271,7 +271,7 @@ if (isset ($_GET["update_alert"])) {
$table->size = array ();
$table->cellpadding = 4;
$table->cellspacing = 4;
$table->width = "750 px";
$table->width = "98%";
$table->class= "databox";
$table->align = array ();
@ -335,7 +335,7 @@ if (isset ($_GET["update_alert"])) {
unset ($table);
echo '<div style="text-align:right; width:740px">';
echo '<div style="text-align:right; width:98%">';
echo '<form name="agente" method="post" action="index.php?sec=gsnmpconsole&sec2=godmode/snmpconsole/snmp_alert&update_alert=-1">';
html_print_submit_button (__('Create'), "add_alert", false, 'class="sub next"');
echo "</form></div>";

View File

@ -89,7 +89,7 @@ if ($edit_filter > -1) {
// Create/update form
if ($edit_filter > -2) {
$table->data = array ();
$table->width = '90%';
$table->width = '98%';
$table->data[0][0] = __('Description');
$table->data[0][1] = html_print_input_text ('description', $description, '', 60, 100, true);
$table->data[1][0] = __('Filter');
@ -119,7 +119,7 @@ if ($edit_filter > -2) {
$table->size = array ();
$table->cellpadding = 4;
$table->cellspacing = 4;
$table->width = "750px";
$table->width = "98%";
$table->class= "databox";
$table->align = array ();

View File

@ -113,7 +113,7 @@ echo '<form method="post" action="index.php?sec=gtag&sec2=godmode/tag/edit_tag&a
echo '<div align=left style="width: 98%" class="pandora_form">';
echo "<table border=0 cellpadding=4 cellspacing=4 class=databox width=85%>";
echo "<table border=0 cellpadding=4 cellspacing=4 class=databox width=98%>";
echo "<tr>";
echo "<td>";
if ($action == "update"){

View File

@ -97,7 +97,7 @@ else{
}
// Form to add new tags or search tags
echo "<table border=0 cellpadding=4 cellspacing=4 class=databox width=95%>";
echo "<table border=0 cellpadding=4 cellspacing=4 class=databox width=98%>";
echo "<tr>";
echo "<td>";
echo '<b>' . __("Name") . "/" . __("Description") . '</b>';
@ -124,7 +124,7 @@ $iterator = 0;
if (!empty($result)){
$table->width = '95%';
$table->width = '98%';
$table->data = array ();
$table->head = array ();
$table->align = array ();

View File

@ -267,7 +267,7 @@ if ($delete_profile) {
__('Could not be deleted'));
}
$table->width = '80%';
$table->width = '98%';
$table->data = array ();
$table->colspan = array ();
$table->size = array ();
@ -379,7 +379,7 @@ if (empty ($id) || $new_user)
echo '<h3>'.__('Profiles/Groups assigned to this user').'</h3>';
$table->width = '85%';
$table->width = '98%';
$table->data = array ();
$table->head = array ();
$table->align = array ();

View File

@ -119,7 +119,7 @@ elseif (isset ($_GET["profile_del"])) { //delete profile
$table->cellpadding = 4;
$table->cellspacing = 4;
$table->width = '700px';
$table->width = '98%';
$table->class = "databox";
$table->head = array ();
$table->data = array ();
@ -243,7 +243,7 @@ echo '<h3>'.__('Profiles defined in Pandora').'</h3>';
$table->cellpadding = 4;
$table->cellspacing = 4;
$table->class = 'databox';
$table->width = '700px';
$table->width = '98%';
$table->head = array ();
$table->data = array ();

Some files were not shown because too many files have changed in this diff Show More