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:
parent
adeb4808a9
commit
f66deed9d2
|
@ -1,3 +1,10 @@
|
|||
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.
|
||||
|
||||
2008-10-22 Jorge Gonzalez <jorgegonz@artica.es>
|
||||
|
||||
* include/languages/es.po, include/languages/es.mo: Updated Spanish
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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'));
|
||||
|
|
Loading…
Reference in New Issue