2009-07-01 Sancho Lerena <slerena@artica.es>
* include/functions_config.php: Fixed setup problem for fontpath token. * godmode/setup/setup.php, setup_visuals.php: Moved some items to other file (fontpath, flashgraph and agent graph options). * godmode/db/db_main.php: Bigger image. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1786 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c02d40b946
commit
4244beaa4a
|
@ -1,3 +1,12 @@
|
|||
2009-07-01 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* include/functions_config.php: Fixed setup problem for fontpath token.
|
||||
|
||||
* godmode/setup/setup.php, setup_visuals.php: Moved some items to other
|
||||
file (fontpath, flashgraph and agent graph options).
|
||||
|
||||
* godmode/db/db_main.php: Bigger image.
|
||||
|
||||
2009-07-01 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* include/functions_custom_graphs.php, include/fgraph.php,
|
||||
|
|
|
@ -49,9 +49,11 @@ echo '<h2>'.__('Database maintenance').' » '.__('Current database maintena
|
|||
'.__('Please check your Pandora Server setup and be sure that database maintenance daemon is running. It\'s very important to keep up-to-date database to get the best performance and results in Pandora').'
|
||||
</div><br />';
|
||||
if ($config['flash_charts']) {
|
||||
$width=600;
|
||||
$height=400;
|
||||
echo grafico_db_agentes_purge ($id_agente, $width, $height);
|
||||
} else {
|
||||
echo '<img src="include/fgraph.php?tipo=db_agente_purge&id=-1&height=250&width=490">';
|
||||
echo '<img src="include/fgraph.php?tipo=db_agente_purge&id=-1&height=400&width=600">';
|
||||
}
|
||||
echo '</td></tr>
|
||||
</table>';
|
||||
|
|
|
@ -102,22 +102,11 @@ $table->data[12][1] = __('Yes').' '.print_radio_button ('compact_header', 1
|
|||
$table->data[12][1] .= __('No').' '.print_radio_button ('compact_header', 0, '', $config["compact_header"], true);
|
||||
|
||||
|
||||
$table->data[13][0] = __('Font path');
|
||||
$table->data[13][1] = print_input_text ('fontpath', $config["fontpath"], '', 50, 255, true);
|
||||
|
||||
$table->data[14][0] = __('Attachment store');
|
||||
$table->data[14][1] = print_input_text ('attachment_store', $config["attachment_store"], '', 50, 255, true);
|
||||
|
||||
enterprise_hook ('setup');
|
||||
|
||||
$table->data[18][0] = __('Use agent access graph');
|
||||
$table->data[18][1] = __('Yes').' '.print_radio_button ('agentaccess', 1, '', $config["agentaccess"], true).' ';
|
||||
$table->data[18][1] .= __('No').' '.print_radio_button ('agentaccess', 0, '', $config["agentaccess"], true);
|
||||
|
||||
$table->data[19][0] = __('Flash charts');
|
||||
$table->data[19][1] = __('Yes').' '.print_radio_button ('flash_charts', 1, '', $config["flash_charts"], true).' ';
|
||||
$table->data[19][1] .= __('No').' '.print_radio_button ('flash_charts', 0, '', $config["flash_charts"], true);
|
||||
|
||||
echo '<form id="form_setup" method="post">';
|
||||
print_input_hidden ('update_config', 1);
|
||||
print_table ($table);
|
||||
|
|
|
@ -76,6 +76,19 @@ $iconsets["faces"] = __('Faces');
|
|||
$iconsets["color_text"] = __('Colors and text');
|
||||
$table->data[9][1] = print_select ($iconsets, 'status_images_set', $config["status_images_set"], '', '', '', true);
|
||||
|
||||
|
||||
$table->data[10][0] = __('Font path');
|
||||
$table->data[10][1] = print_input_text ('fontpath', $config["fontpath"], '', 50, 255, true);
|
||||
|
||||
$table->data[11][0] = __('Use agent access graph');
|
||||
$table->data[11][1] = __('Yes').' '.print_radio_button ('agentaccess', 1, '', $config["agentaccess"], true).' ';
|
||||
$table->data[11][1] .= __('No').' '.print_radio_button ('agentaccess', 0, '', $config["agentaccess"], true);
|
||||
|
||||
$table->data[12][0] = __('Flash charts');
|
||||
$table->data[12][1] = __('Yes').' '.print_radio_button ('flash_charts', 1, '', $config["flash_charts"], true).' ';
|
||||
$table->data[12][1] .= __('No').' '.print_radio_button ('flash_charts', 0, '', $config["flash_charts"], true);
|
||||
|
||||
|
||||
echo '<form id="form_setup" method="post">';
|
||||
print_input_hidden ('update_config', 1);
|
||||
print_table ($table);
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 76 KiB |
Binary file not shown.
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 97 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1017 B |
|
@ -100,6 +100,7 @@ function update_config () {
|
|||
update_config_value ('loginhash_pwd', (string) get_parameter ('loginhash_pwd', $config["loginhash_pwd"]));
|
||||
update_config_value ('https', (bool) get_parameter ('https', $config["https"]));
|
||||
update_config_value ('compact_header', (bool) get_parameter ('compact_header', $config["compact_header"]));
|
||||
update_config_value ('fontpath', (string) get_parameter ('fontpath', $config["fontpath"]));
|
||||
update_config_value ('round_corner', (bool) get_parameter ('round_corner', $config["round_corner"]));
|
||||
update_config_value ('status_images_set', (string) get_parameter ('status_images_set', $config["status_images_set"]));
|
||||
update_config_value ('agentaccess', (int) get_parameter ('agentaccess', $config['agentaccess']));
|
||||
|
|
Loading…
Reference in New Issue