2010-06-30 Sergio Martin <sergio.martin@artica.es>
* operation/events/events.php: Changed the Server and All text on the events filter to use gettext. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
618bc80b97
commit
4a868db26e
|
@ -1,3 +1,8 @@
|
|||
2010-06-30 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* operation/events/events.php: Changed the Server and All text
|
||||
on the events filter to use gettext.
|
||||
|
||||
2010-06-30 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* operation/events/events.php: Fixed the agent filter. Now the
|
||||
|
|
|
@ -107,10 +107,10 @@ if($id_agent == -2) {
|
|||
|
||||
switch ($text_agent)
|
||||
{
|
||||
case All:
|
||||
case __('All'):
|
||||
$id_agent = -1;
|
||||
break;
|
||||
case Server:
|
||||
case __('Server'):
|
||||
$id_agent = 0;
|
||||
break;
|
||||
default:
|
||||
|
@ -122,10 +122,10 @@ else{
|
|||
switch ($id_agent)
|
||||
{
|
||||
case -1:
|
||||
$text_agent = 'All';
|
||||
$text_agent = __('All');
|
||||
break;
|
||||
case 0:
|
||||
$text_agent = 'Server';
|
||||
$text_agent = __('Server');
|
||||
break;
|
||||
default:
|
||||
$text_agent = get_agent_name($id_agent);
|
||||
|
|
Loading…
Reference in New Issue