2012-04-14 Junichi Satoh <junichi@rworks.jp>

* operation/agentes/stat_win.php: Fixed i18n support. Changed
	the description for reloading and the name of the submit button.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5972 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2012-04-14 02:30:59 +00:00
parent b6dc6b56a2
commit b8fffb6f4d
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2012-04-14 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/stat_win.php: Fixed i18n support. Changed
the description for reloading and the name of the submit button.
2012-04-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php

View File

@ -30,6 +30,12 @@ require_once ($config['homedir'] . '/include/functions_modules.php');
check_login ();
$user_language = get_user_language ($config['id_user']);
if (file_exists ('../../include/languages/'.$user_language.'.mo')) {
$l10n = new gettext_reader (new CachedFileReader ('../../include/languages/'.$user_language.'.mo'));
$l10n->load_tables();
}
echo '<link rel="stylesheet" href="../../include/styles/pandora.css" type="text/css"/>';
$id = get_parameter('id');
@ -202,7 +208,7 @@ switch ($graph_type) {
echo "</div>";
//z-index is 1 because 2 made the calendar show under the divmenu.
echo '<div id="divmenu" class="menu" style="z-index:1; height:280px;"><b>'.__('Pandora FMS Graph configuration menu').'</b><br />'.__('Please, make your changes and apply with the <i>Reload</i> button');
echo '<div id="divmenu" class="menu" style="z-index:1; height:280px;"><b>'.__('Pandora FMS Graph configuration menu').'</b><br />'.__('Please, make your changes and apply with the <i>Update</i> button');
echo '<form method="get" action="stat_win.php">';
html_print_input_hidden ("id", $id);
html_print_input_hidden ("label", $label);
@ -262,7 +268,7 @@ html_print_checkbox ("show_events_graph", 1, (bool) $show_events_graph);
echo '</td><td>';
html_print_submit_button (__('GO'), "submit", false, 'class="sub next"');
html_print_submit_button (__('Update'), "submit", false, 'class="sub next"');
echo '</td></tr></table></form></div></body></html>';
?>