diff --git a/event_controller.php b/event_controller.php index 3b7e14c..52f032e 100644 --- a/event_controller.php +++ b/event_controller.php @@ -39,7 +39,7 @@ function event_controller() $message = get('message'); $event->add($userid,$eventfeed,$eventtype,$eventvalue,$action,$setfeed,$setemail,$setvalue,$callcurl,$message,$mutetime,$priority); - $result = "Event added"; + $result = _("Event added"); } if ($route->action == 'edit' && $session['write']) { @@ -57,7 +57,7 @@ function event_controller() $message = get('message'); $event->update($userid,$eventid,$eventfeed,$eventtype,$eventvalue,$action,$setfeed,$setemail,$setvalue,$callcurl,$message,$mutetime,$priority); - $result = "Event updated"; + $result = _("Event updated"); } @@ -65,14 +65,14 @@ function event_controller() { $id = intval(get('id')); $event->delete($userid,$id); - $result = "Event deleted"; + $result = _("Event deleted"); } else if ($route->action == 'status' && $session['write']) { $id = intval(get('id')); $status = intval(get('status')); $event->set_status($userid,$id,$status); - $result = "Event deleted"; + $result = _("Event deleted"); } else if ($route->action == 'test' && $session['write']) @@ -80,7 +80,7 @@ function event_controller() $id = intval(get('id')); $feedid = intval(get('feedid')); $event->test($userid,$id,$feedid); - $result = "Event Test Sent"; + $result = _("Event Test Sent"); } else if ($route->action == 'settings' && $session['write']) diff --git a/event_list.php b/event_list.php index 17f19ec..d8d32dd 100644 --- a/event_list.php +++ b/event_list.php @@ -17,18 +17,18 @@ -
-Setup actions to occur when a feed goes above, below or is equal to a specified value, or becomes inactive. Send an email or set another feed to a specified value.
+To add an event based notification:
-1) Select the feed you wish to be notified about from the drop down menu
-2) Select whether you want to be notifed if the feed goes above, below or equals the value specified, or is inactive.
-3) Enter a value
+ + + + +| @@ -74,12 +74,12 @@ | get_field($item['setfeed'],'name'); ?> | @@ -88,7 +88,7 @@- | secs | +Edit |
+ >
- Delete |
+ - | Disable |
+ - | Enable |
+ - | Test |
+