change status online to •
This commit is contained in:
parent
690e5912c0
commit
0dc50a68f5
@ -114,10 +114,12 @@ switch ($action) {
|
||||
//don't wait more than 5 seconds for response from device, otherwise we get timeout error.
|
||||
ini_set('default_socket_timeout', 5);
|
||||
if ((new $p['device'])->online_customer($c, $p['routers'])) {
|
||||
echo '<span class="label label-success" title="online"> </span>';
|
||||
echo '<span style="color: green;" title="online">•</span>';
|
||||
}else{
|
||||
echo '<span style="color: yellow;" title="offline">•</span>';
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
echo '<span class="label label-danger" title="error"> </span>';
|
||||
echo '<span style="color: red;" title="'.$e->getMessage().'">•</span>';
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -141,10 +143,12 @@ switch ($action) {
|
||||
//don't wait more than 5 seconds for response from device, otherwise we get timeout error.
|
||||
ini_set('default_socket_timeout', 5);
|
||||
if ((new $p['device'])->online_customer($c, $p['routers'])) {
|
||||
$status = '<span class="label label-success" title="online"> </span>';
|
||||
$status = '<span style="color: green;" title="online">•</span>';
|
||||
}else{
|
||||
$status = '<span style="color: yellow;" title="offline">•</span>';
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
$status = '<span class="label label-danger" title="error"> </span>';
|
||||
$status = '<span style="color: red;" title="'.$e->getMessage().'">•</span>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -948,5 +948,10 @@
|
||||
"Total_SMS_Sent": "Total SMS Sent",
|
||||
"Total_SMS_Failed": "Total SMS Failed",
|
||||
"Total_WhatsApp_Sent": "Total WhatsApp Sent",
|
||||
"Total_WhatsApp_Failed": "Total WhatsApp Failed"
|
||||
"Total_WhatsApp_Failed": "Total WhatsApp Failed",
|
||||
"First_Name": "First Name",
|
||||
"Last_Name": "Last Name",
|
||||
"Not_Working_with_Freeradius_Mysql": "Not Working with Freeradius Mysql",
|
||||
"Radius_Rest_Interim_Update": "Radius Rest Interim-Update",
|
||||
"in_minutes__leave_0_to_disable_this_feature_": "in minutes, leave 0 to disable this feature."
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user