2008-10-23 Esteban Sanchez <estebans@artica.es>

* operation/agentes/estado_agente.php: Use print_select() to show the
        filter group list.

        * operation/users/user.php: Fixed a typo in a string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Esteban Sanchez 2008-10-23 06:58:38 +00:00
parent adeb4808a9
commit f66deed9d2
3 changed files with 26 additions and 25 deletions

View File

@ -1,25 +1,32 @@
2008-10-22 Jorge Gonzalez <jorgegonz@artica.es>
2008-10-23 Esteban Sanchez <estebans@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish
translation.
* operation/agentes/estado_agente.php: Use print_select() to show the
filter group list.
* include/languages/index.pot: Updated po template file.
* operation/users/user.php: Fixed a typo in a string.
2008-10-22 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish
translation.
* include/languages/es.po, include/languages/es.mo: Updated Spanish
translation.
* include/languages/index.pot: Updated po template file.
* include/languages/index.pot: Updated po template file.
* operation/messages/message.php, operation/servers/view_server.php,
general/logon_ok.php, godmode/admin_access_logs.php,
godmode/db/db_purge.php, godmode/agentes/manage_config.php,
godmode/agentes/planned_downtime.php,
godmode/agentes/manage_config_remote.php,
godmode/reporting/graph_builder.php,
godmode/servers/modificar_server.php: Updated translation
infrastructure.
2008-10-22 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish
translation.
* include/languages/index.pot: Updated po template file.
* operation/messages/message.php, operation/servers/view_server.php,
general/logon_ok.php, godmode/admin_access_logs.php,
godmode/db/db_purge.php, godmode/agentes/manage_config.php,
godmode/agentes/planned_downtime.php,
godmode/agentes/manage_config_remote.php,
godmode/reporting/graph_builder.php,
godmode/servers/modificar_server.php: Updated translation
infrastructure.
2008-10-22 Evi Vanoost <vanooste@rcbi.rochester.edu>

View File

@ -55,16 +55,10 @@ if (isset($_POST["ag_group"])){
echo "<table cellpadding='4' cellspacing='4' class='databox'><tr>";
echo "<td valign='top'>".__('Group')."</td>";
echo "<td valign='top'>";
echo "<select name='ag_group' onChange='javascript:this.form.submit();'
class='w130'>";
if ($ag_group > 1){
echo "<option value='".$ag_group."'>".dame_nombre_grupo($ag_group).
"</option>";
}
$mis_grupos = list_group ($config['id_user']); //Print combo for groups and set an array with all groups
$groups = get_user_groups ();
print_select ($groups, 'ag_group', $ag_group, 'this.form.submit()', '', '');
echo "</select>";
echo "<td valign='top'>
<noscript>
<input name='uptbutton' type='submit' class='sub'
@ -174,7 +168,7 @@ if ($agents !== false) {
$ultimo_contacto = $agent["ultimo_contacto"];
$biginterval = $intervalo;
$pertenece = 0;
foreach ($mis_grupos as $migrupo) { //Verifiy if the group this agent begins is one of the user groups
foreach ($groups as $migrupo) { //Verifiy if the group this agent begins is one of the user groups
if ($migrupo || $id_grupo == $migrupo) {
$pertenece = 1;
break;

View File

@ -123,7 +123,7 @@ echo "</table><br>";
print_help_tip (__('Database management'));
echo "</font></th>";
echo "<th width='40px'><font size=1>LM";
print_help_tip (__('Alerts anagement'));
print_help_tip (__('Alerts management'));
echo "</font></th>";
echo "<th width='40px'><font size=1>PM";
print_help_tip (__('Pandora system management'));