diff --git a/app/registrations/app_languages.php b/app/registrations/app_languages.php index d67fe26915..0a055cbeb7 100644 --- a/app/registrations/app_languages.php +++ b/app/registrations/app_languages.php @@ -21,6 +21,20 @@ $text['label-response']['fr-fr'] = "Réponse:"; $text['label-response']['pt-br'] = "Resposta"; $text['label-response']['pl'] = "Odpowiedź"; +$text['label-refresh_pause']['en-us'] = "Pause Refresh"; +$text['label-refresh_pause']['es-cl'] = "Actualizar Pausa"; +$text['label-refresh_pause']['pt-pt'] = "Pausa Atualizar"; +$text['label-refresh_pause']['fr-fr'] = "Pause Actualiser"; +$text['label-refresh_pause']['pt-br'] = "Pausar atualização"; +$text['label-refresh_pause']['pl'] = "Pauzuj odÅ›wieżanie"; + +$text['label-refresh_enable']['en-us'] = "Enable Refresh"; +$text['label-refresh_enable']['es-cl'] = "Activar Actualizar"; +$text['label-refresh_enable']['pt-pt'] = "Habilitar Atualização"; +$text['label-refresh_enable']['fr-fr'] = "Activer Actualiser"; +$text['label-refresh_enable']['pt-br'] = "Habilitar atualização"; +$text['label-refresh_enable']['pl'] = "Włącz odÅ›wieżanie"; + $text['label-port']['en-us'] = "Port"; $text['label-port']['es-cl'] = "Puerto"; $text['label-port']['pt-pt'] = "Porto"; diff --git a/app/registrations/resources/images/refresh_active.gif b/app/registrations/resources/images/refresh_active.gif new file mode 100644 index 0000000000..305457831c Binary files /dev/null and b/app/registrations/resources/images/refresh_active.gif differ diff --git a/app/registrations/resources/images/refresh_paused.png b/app/registrations/resources/images/refresh_paused.png new file mode 100644 index 0000000000..38937ec1f2 Binary files /dev/null and b/app/registrations/resources/images/refresh_paused.png differ diff --git a/app/registrations/status_registrations.php b/app/registrations/status_registrations.php index 6e92dc68ef..cc087d9e8b 100644 --- a/app/registrations/status_registrations.php +++ b/app/registrations/status_registrations.php @@ -52,55 +52,74 @@ require_once "resources/check_auth.php"; //ajax for refresh ?> ".$text['error-event-socket']."
"; } +//define js function call var + $onhover_pause_refresh = " onmouseover='refresh_stop();' onmouseout='refresh_start();'"; + //show the error message or show the content if (strlen($msg) > 0) { echo "
\n"; @@ -120,16 +123,19 @@ require_once "resources/check_auth.php"; //show the registrations echo "\n"; echo "\n"; - echo "\n"; - echo ""; + echo "\n"; @@ -168,9 +174,9 @@ require_once "resources/check_auth.php"; echo " \n"; echo " \n"; echo " \n"; echo "\n"; if ($c==0) { $c=1; } else { $c=0; }
\n"; + echo "\n"; echo " ".$text['header-registrations'].": ".count($registrations)."\n"; echo "\n"; + echo ""; + echo " \"".$text['label-refresh_pause']."\""; + echo ""; if (permission_exists('registration_all')) { if ($show == "all") { - echo " \n"; + echo " \n"; } else { - echo " \n"; + echo " \n"; } } echo "".$row['host']." ".$row['status']." \n"; - echo " \n"; - echo " \n"; - echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; echo "