Merge dd63b7952e
into 7c87073242
This commit is contained in:
commit
7aca62fa0b
|
@ -172,6 +172,7 @@ $sm_lang = array(
|
|||
'sms_gateway_inetworx' => 'Inetworx',
|
||||
'sms_gateway_clickatell' => 'Clickatell',
|
||||
'sms_gateway_textmarketer' => 'Textmarketer',
|
||||
'sms_gateway_smsit' => 'Smsit',
|
||||
'sms_gateway_username' => 'Потребител',
|
||||
'sms_gateway_password' => 'Парола',
|
||||
'sms_from' => 'Номер на изпращача',
|
||||
|
|
|
@ -0,0 +1,243 @@
|
|||
<?php
|
||||
/**
|
||||
* PHP Server Monitor
|
||||
* Monitor your servers and websites.
|
||||
*
|
||||
* This file is part of PHP Server Monitor.
|
||||
* PHP Server Monitor is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* PHP Server Monitor is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with PHP Server Monitor. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @package phpservermon
|
||||
* @author Pepijn Over <pep@neanderthal-technology.com>
|
||||
* @copyright Copyright (c) 2008-2014 Pepijn Over <pep@neanderthal-technology.com>
|
||||
* @license http://www.gnu.org/licenses/gpl.txt GNU GPL v3
|
||||
* @version Release: @package_version@
|
||||
* @link http://www.phpservermonitor.org/
|
||||
**/
|
||||
|
||||
$sm_lang = array(
|
||||
'name' => 'Danish',
|
||||
'locale' => array('da_DK.UTF-8', 'da_DK', 'danish', 'danish-dk'),
|
||||
'system' => array(
|
||||
'title' => 'Server Monitor',
|
||||
'install' => 'Installere',
|
||||
'action' => 'Action',
|
||||
'save' => 'Gem',
|
||||
'edit' => 'Redigere',
|
||||
'delete' => 'Slet',
|
||||
'date' => 'Dato',
|
||||
'message' => 'Besked',
|
||||
'yes' => 'Ja',
|
||||
'no' => 'Nej',
|
||||
'insert' => 'Indsæt',
|
||||
'add_new' => 'Tilføj ny',
|
||||
'update_available' => 'En ny version ({version}) er tilgængelig på <a href="http://www.phpservermonitor.org" target="_blank">http://www.phpservermonitor.org</a>.',
|
||||
'back_to_top' => 'Til toppen',
|
||||
'go_back' => 'Tilbage',
|
||||
'ok' => 'OK',
|
||||
'cancel' => 'Annuller',
|
||||
// date/time format according the strftime php function format parameter http://php.net/manual/function.strftime.php
|
||||
'short_day_format' => '%B %e',
|
||||
'long_day_format' => '%B %e, %Y',
|
||||
'yesterday_format' => 'Igår %k:%M',
|
||||
'other_day_format' => '%A %k:%M',
|
||||
'never' => 'Aldrig',
|
||||
'hours_ago' => '%d timer siden',
|
||||
'an_hour_ago' => 'omkring en time siden',
|
||||
'minutes_ago' => '%d minutter siden',
|
||||
'a_minute_ago' => 'omkring et minut siden',
|
||||
'seconds_ago' => '%d sekunder siden',
|
||||
'a_second_ago' => 'et sekund siden',
|
||||
),
|
||||
'menu' => array(
|
||||
'config' => 'Indstillinger',
|
||||
'server' => 'Servere',
|
||||
'server_log' => 'Log',
|
||||
'server_status' => 'Status',
|
||||
'server_update' => 'Opdatere',
|
||||
'user' => 'Brugere',
|
||||
'help' => 'Hjælp',
|
||||
),
|
||||
'users' => array(
|
||||
'user' => 'Bruger',
|
||||
'name' => 'Navn',
|
||||
'user_name' => 'Brugernavn',
|
||||
'password' => 'Adgangskode',
|
||||
'password_repeat' => 'Adgangskode igen',
|
||||
'password_leave_blank' => 'Udfyldes hvis du vil skifte kode',
|
||||
'level' => 'Level',
|
||||
'level_10' => 'Administrator',
|
||||
'level_20' => 'Bruger',
|
||||
'level_description' => '<b>Administratore</b> har fuld adgang: De kan styre servere, brugere og indstillingere.<br/><b>Brugere</b> kan kun se og køre opdatere for servere som er tildelt til dem.',
|
||||
'mobile' => 'Mobil',
|
||||
'email' => 'Email',
|
||||
'delete_title' => 'Slet bruger',
|
||||
'delete_message' => 'Er du sikker på du vil slette bruger \'%1\'?',
|
||||
'deleted' => 'Bruger slettet.',
|
||||
'updated' => 'Bruger opdateret.',
|
||||
'inserted' => 'Bruger tilføjet.',
|
||||
'profile' => 'Profil',
|
||||
'profile_updated' => 'Din profil er opdateret.',
|
||||
'error_user_name_bad_length' => 'Brugernavn skal være mellem 2 til 64 tegn.',
|
||||
'error_user_name_invalid' => 'Brugernavn må kun indholde alfabetiske tegn (a-z, A-Z), tal (0-9) og (_).',
|
||||
'error_user_name_exists' => 'Det valgte brugernavn findes allerede.',
|
||||
'error_user_email_bad_length' => 'Email addresser skal være mellem 5 til 255 tegn.',
|
||||
'error_user_email_invalid' => 'Den valgte email er ugyldig.',
|
||||
'error_user_level_invalid' => 'Det angivet bruger niveau er ugyldig.',
|
||||
'error_user_no_match' => 'Brugeren findes ikke.',
|
||||
'error_user_password_invalid' => 'Den indtastede adgangskode er ugyldig.',
|
||||
'error_user_password_no_match' => 'De to adgangskode er ikke ens.',
|
||||
),
|
||||
'log' => array(
|
||||
'title' => 'Logposter',
|
||||
'type' => 'Type',
|
||||
'status' => 'Status',
|
||||
'email' => 'Email',
|
||||
'sms' => 'SMS',
|
||||
'no_logs' => 'Intet i loggen',
|
||||
),
|
||||
'servers' => array(
|
||||
'server' => 'Server',
|
||||
'status' => 'Status',
|
||||
'label' => 'Label',
|
||||
'domain' => 'Domæne/IP',
|
||||
'port' => 'Port',
|
||||
'type' => 'Type',
|
||||
'type_website' => 'Hjemmeside',
|
||||
'type_service' => 'Tjeneste',
|
||||
'pattern' => 'Søge streng/mønster',
|
||||
'pattern_description' => 'Hvis dette mønster ikke findes på hjemmesiden, vil serveren blive markeret offline. Regulære udtryk er tilladt.',
|
||||
'last_check' => 'Sidst kontrolleret',
|
||||
'last_online' => 'Sidst online',
|
||||
'monitoring' => 'Overvågning',
|
||||
'no_monitoring' => 'Ingen overvågning',
|
||||
'email' => 'Email',
|
||||
'send_email' => 'Send Email',
|
||||
'sms' => 'SMS',
|
||||
'send_sms' => 'Send SMS',
|
||||
'delete_title' => 'Slet server',
|
||||
'delete_message' => 'Er du sikker på du vil slette server \'%1\'?',
|
||||
'deleted' => 'Server slettet.',
|
||||
'updated' => 'Server opdateret.',
|
||||
'inserted' => 'Server tilføjet.',
|
||||
'latency' => 'Latency',
|
||||
'latency_max' => 'Latency (maksimum)',
|
||||
'latency_min' => 'Latency (minimum)',
|
||||
'latency_avg' => 'Latency (gennemsnitlig)',
|
||||
'uptime' => 'Oppetid',
|
||||
'year' => 'År',
|
||||
'month' => 'Måned',
|
||||
'week' => 'Uge',
|
||||
'day' => 'Dag',
|
||||
'hour' => 'Time',
|
||||
'warning_threshold' => 'Advarsel grænse',
|
||||
'warning_threshold_description' => 'Antal af fejl før status skifter til offline.',
|
||||
'chart_last_week' => 'Sidste uge',
|
||||
'chart_history' => 'Historie',
|
||||
// Charts date format according jqPlot date format http://www.jqplot.com/docs/files/plugins/jqplot-dateAxisRenderer-js.html
|
||||
'chart_day_format' => '%d-%m-%Y',
|
||||
'chart_long_date_format' => '%d-%m-%Y %H:%M:%S',
|
||||
'chart_short_date_format' => '%d/%m %H:%M',
|
||||
'chart_short_time_format' => '%H:%M',
|
||||
),
|
||||
'config' => array(
|
||||
'general' => 'Generelt',
|
||||
'language' => 'Sprog',
|
||||
'show_update' => 'Opdateringer',
|
||||
'email_status' => 'Tillad at sende mail',
|
||||
'email_from_email' => 'Email fra adresse',
|
||||
'email_from_name' => 'Email fra navn',
|
||||
'email_smtp' => 'Aktiver SMTP',
|
||||
'email_smtp_host' => 'SMTP vært',
|
||||
'email_smtp_port' => 'SMTP port',
|
||||
'email_smtp_username' => 'SMTP brugernavn',
|
||||
'email_smtp_password' => 'SMTP adgangskode',
|
||||
'email_smtp_noauth' => 'Efterladt blank hvis det ikke er opkrævet',
|
||||
'sms_status' => 'Tillad at sende SMS beskeder',
|
||||
'sms_gateway' => 'SMS Gateway',
|
||||
'sms_gateway_mosms' => 'Mosms',
|
||||
'sms_gateway_mollie' => 'Mollie',
|
||||
'sms_gateway_spryng' => 'Spryng',
|
||||
'sms_gateway_inetworx' => 'Inetworx',
|
||||
'sms_gateway_clickatell' => 'Clickatell',
|
||||
'sms_gateway_smsit' => 'Smsit',
|
||||
'sms_gateway_textmarketer' => 'Textmarketer',
|
||||
'sms_gateway_username' => 'Gateway brugernavn/apikey',
|
||||
'sms_gateway_password' => 'Gateway adgangskode',
|
||||
'sms_from' => 'Afsenders navn.',
|
||||
'alert_type' => 'Vælg hvornår du vil modtage besked.<br/>',
|
||||
'alert_type_description' => '<b>Status ændring:</b> '.
|
||||
'Du vil modtage en notifcation når en server har en ændring i status. Fra online -> offline eller offline -> online.<br/>'.
|
||||
'<br /><b>Offline:</b> '.
|
||||
'Du vil modtage en meddelelse, når en server går offline for * kun første gang *. for eksempel, '.
|
||||
'Hvis dit cronjob køre hvert kvatere og din server går ned kl 01 og kommer først op kl 06 '.
|
||||
' så vil du kun modtage en mail kl 01.<br/>'.
|
||||
'<br><b>Altid:</b> '.
|
||||
'Du vil modtage en besked, hver gang scriptet kører og et websted er nede, selvom site har været '.
|
||||
'offline i flere timer.',
|
||||
'alert_type_status' => 'Status ændret',
|
||||
'alert_type_offline' => 'Offline',
|
||||
'alert_type_always' => 'Altid',
|
||||
'log_status' => 'Log status',
|
||||
'log_status_description' => 'Hvis log status er sat til TRUE, vil monitoren logge hændelsen hver gang status ændre sig.',
|
||||
'log_email' => 'Log mails sendt af systemet',
|
||||
'log_sms' => 'Log SMS sendt af systemet',
|
||||
'updated' => 'Indstillingerne er blevet opdateret.',
|
||||
'tab_email' => 'Email',
|
||||
'tab_sms' => 'SMS',
|
||||
'tab_log' => 'Log',
|
||||
'settings_email' => 'Email indstillinger',
|
||||
'settings_sms' => 'SMS indstillinger',
|
||||
'settings_notification' => 'Meddelelse indstillinger',
|
||||
'settings_log' => 'Log indstillinger',
|
||||
'auto_refresh' => 'Genopfriske automatisk',
|
||||
'auto_refresh_servers' =>
|
||||
'Genopfriske automatisk server sider.<br/>'.
|
||||
'<span class="small">'.
|
||||
'Tid i sekunder, Hvis 0 vil siden ikke genopfriske automatisk'.
|
||||
'</span>',
|
||||
'seconds' => 'sekunder',
|
||||
),
|
||||
// for newlines in the email messages use <br/>
|
||||
'notifications' => array(
|
||||
'off_sms' => 'Server \'%LABEL%\' is DOWN: ip=%IP%, port=%PORT%. Fejl=%ERROR%',
|
||||
'off_email_subject' => 'VIGTIG: Server \'%LABEL%\' is DOWN',
|
||||
'off_email_body' => "Det lykkedes ikke at oprette forbindelse til følgende server:<br/><br/>Server: %LABEL%<br/>IP: %IP%<br/>Port: %PORT%<br/>Fejl: %ERROR%<br/>Date: %DATE%",
|
||||
'on_sms' => 'Server \'%LABEL%\' is RUNNING: ip=%IP%, port=%PORT%',
|
||||
'on_email_subject' => 'VIGTIG: Server \'%LABEL%\' is RUNNING',
|
||||
'on_email_body' => "Server '%LABEL%' køre igen:<br/><br/>Server: %LABEL%<br/>IP: %IP%<br/>Port: %PORT%<br/>Dato: %DATE%",
|
||||
),
|
||||
'login' => array(
|
||||
'welcome_usermenu' => 'Velkommen, %user_name%',
|
||||
'title_sign_in' => 'Log ind',
|
||||
'title_forgot' => 'Glemt adgangskode?',
|
||||
'title_reset' => 'Nulstil din adgangskode',
|
||||
'submit' => 'Indsend',
|
||||
'remember_me' => 'Husk kode',
|
||||
'login' => 'Log ind',
|
||||
'logout' => 'Log ud',
|
||||
'username' => 'Brugernavn',
|
||||
'password' => 'Adgangskode',
|
||||
'password_repeat' => 'Skriv adgangskode igen',
|
||||
'password_forgot' => 'Glemt adgangskode?',
|
||||
'password_reset' => 'Nulstil adgangskode',
|
||||
'password_reset_email_subject' => 'Nulstil din adgangskode for PHP Server Monitor',
|
||||
'password_reset_email_body' => 'Brug venligst følgende link for at nulstille din adgangskode. Bemærk det udløber på 1 time.<br/><br/>%link%',
|
||||
'error_user_incorrect' => 'Det angivet brugernavn kunne ikke findes.',
|
||||
'error_login_incorrect' => 'Oplysningerne stemmer ikke overens.',
|
||||
'error_login_passwords_nomatch' => 'De angivet adgangskoder matcher ikke.',
|
||||
'error_reset_invalid_link' => 'Følgende link er ugyldigt.',
|
||||
'success_password_forgot' => 'En e-mail er blevet sendt til dig med oplysninger om, hvordan du nulstiller din adgangskode.',
|
||||
'success_password_reset' => 'Dit password er blevet nulstillet. venligst log ind.',
|
||||
),
|
||||
);
|
|
@ -170,8 +170,9 @@ $sm_lang = array(
|
|||
'sms_gateway_mollie' => 'Mollie',
|
||||
'sms_gateway_spryng' => 'Spryng',
|
||||
'sms_gateway_inetworx' => 'Inetworx',
|
||||
'sms_gateway_clickatell' => 'Clickatell',
|
||||
'sms_gateway_textmarketer' => 'Textmarketer',
|
||||
'sms_gateway_clickatell' => 'Clickatell',
|
||||
'sms_gateway_smsit' => 'Smsit',
|
||||
'sms_gateway_textmarketer' => 'Textmarketer',
|
||||
'sms_gateway_username' => 'Gateway Benutzername',
|
||||
'sms_gateway_password' => 'Gateway Passwort',
|
||||
'sms_from' => 'SMS Sendernummer',
|
||||
|
|
|
@ -1,243 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* PHP Server Monitor
|
||||
* Monitor your servers and websites.
|
||||
*
|
||||
* This file is part of PHP Server Monitor.
|
||||
* PHP Server Monitor is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* PHP Server Monitor is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with PHP Server Monitor. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @package phpservermon
|
||||
* @author Pepijn Over <pep@neanderthal-technology.com>
|
||||
* @copyright Copyright (c) 2008-2014 Pepijn Over <pep@neanderthal-technology.com>
|
||||
* @license http://www.gnu.org/licenses/gpl.txt GNU GPL v3
|
||||
* @version Release: @package_version@
|
||||
* @link http://www.phpservermonitor.org/
|
||||
**/
|
||||
|
||||
$sm_lang = array(
|
||||
'name' => 'English',
|
||||
'locale' => array('en_US.UTF-8', 'en_US', 'american', 'english-us'),
|
||||
'system' => array(
|
||||
'title' => 'Server Monitor',
|
||||
'install' => 'Install',
|
||||
'action' => 'Action',
|
||||
'save' => 'Save',
|
||||
'edit' => 'Edit',
|
||||
'delete' => 'Delete',
|
||||
'date' => 'Date',
|
||||
'message' => 'Message',
|
||||
'yes' => 'Yes',
|
||||
'no' => 'No',
|
||||
'edit' => 'Edit',
|
||||
'insert' => 'Insert',
|
||||
'add_new' => 'Add new',
|
||||
'update_available' => 'A new version ({version}) is available from <a href="http://www.phpservermonitor.org" target="_blank">http://www.phpservermonitor.org</a>.',
|
||||
'back_to_top' => 'Back to top',
|
||||
'go_back' => 'Go back',
|
||||
'ok' => 'OK',
|
||||
'cancel' => 'Cancel',
|
||||
// date/time format according the strftime php function format parameter http://php.net/manual/function.strftime.php
|
||||
'short_day_format' => '%B %e',
|
||||
'long_day_format' => '%B %e, %Y',
|
||||
'yesterday_format' => 'Yesterday at %k:%M',
|
||||
'other_day_format' => '%A at %k:%M',
|
||||
'never' => 'Never',
|
||||
'hours_ago' => '%d hours ago',
|
||||
'an_hour_ago' => 'about an hour ago',
|
||||
'minutes_ago' => '%d minutes ago',
|
||||
'a_minute_ago' => 'about a minute ago',
|
||||
'seconds_ago' => '%d seconds ago',
|
||||
'a_second_ago' => 'a second ago',
|
||||
),
|
||||
'menu' => array(
|
||||
'config' => 'Config',
|
||||
'server' => 'Servers',
|
||||
'server_log' => 'Log',
|
||||
'server_status' => 'Status',
|
||||
'server_update' => 'Update',
|
||||
'user' => 'Users',
|
||||
'help' => 'Help',
|
||||
),
|
||||
'users' => array(
|
||||
'user' => 'User',
|
||||
'name' => 'Name',
|
||||
'user_name' => 'Username',
|
||||
'password' => 'Password',
|
||||
'password_repeat' => 'Password repeat',
|
||||
'password_leave_blank' => 'Leave blank to keep unchanged',
|
||||
'level' => 'Level',
|
||||
'level_10' => 'Administrator',
|
||||
'level_20' => 'User',
|
||||
'level_description' => '<b>Administrators</b> have full access: they can manage servers, users and edit the global configuration.<br/><b>Users</b> can only view and run the updater for the servers that have been assigned to them.',
|
||||
'mobile' => 'Mobile',
|
||||
'email' => 'Email',
|
||||
'delete_title' => 'Delete User',
|
||||
'delete_message' => 'Are you sure you want to delete user \'%1\'?',
|
||||
'deleted' => 'User deleted.',
|
||||
'updated' => 'User updated.',
|
||||
'inserted' => 'User added.',
|
||||
'profile' => 'Profile',
|
||||
'profile_updated' => 'Your profile has been updated.',
|
||||
'error_user_name_bad_length' => 'Usernames must be between 2 and 64 characters.',
|
||||
'error_user_name_invalid' => 'The username may only contain alphabetic characters (a-z, A-Z), digits (0-9) and underscores (_).',
|
||||
'error_user_name_exists' => 'The given username already exists in the database.',
|
||||
'error_user_email_bad_length' => 'Email addresses must be between 5 and 255 characters.',
|
||||
'error_user_email_invalid' => 'The email address is invalid.',
|
||||
'error_user_level_invalid' => 'The given user level is invalid.',
|
||||
'error_user_no_match' => 'The user could not be found in the database.',
|
||||
'error_user_password_invalid' => 'The entered password is invalid.',
|
||||
'error_user_password_no_match' => 'The entered passwords do not match.',
|
||||
),
|
||||
'log' => array(
|
||||
'title' => 'Log entries',
|
||||
'type' => 'Type',
|
||||
'status' => 'Status',
|
||||
'email' => 'Email',
|
||||
'sms' => 'SMS',
|
||||
'no_logs' => 'No logs',
|
||||
),
|
||||
'servers' => array(
|
||||
'server' => 'Server',
|
||||
'status' => 'Status',
|
||||
'label' => 'Label',
|
||||
'domain' => 'Domain/IP',
|
||||
'port' => 'Port',
|
||||
'type' => 'Type',
|
||||
'type_website' => 'Website',
|
||||
'type_service' => 'Service',
|
||||
'pattern' => 'Search string/pattern',
|
||||
'pattern_description' => 'If this pattern is not found on the website, the server will be marked offline. Regular expressions are allowed.',
|
||||
'last_check' => 'Last check',
|
||||
'last_online' => 'Last online',
|
||||
'monitoring' => 'Monitoring',
|
||||
'no_monitoring' => 'No monitoring',
|
||||
'email' => 'Email',
|
||||
'send_email' => 'Send Email',
|
||||
'sms' => 'SMS',
|
||||
'send_sms' => 'Send SMS',
|
||||
'delete_title' => 'Delete Server',
|
||||
'delete_message' => 'Are you sure you want to delete server \'%1\'?',
|
||||
'deleted' => 'Server deleted.',
|
||||
'updated' => 'Server updated.',
|
||||
'inserted' => 'Server added.',
|
||||
'latency' => 'Latency',
|
||||
'latency_max' => 'Latency (maximum)',
|
||||
'latency_min' => 'Latency (minimum)',
|
||||
'latency_avg' => 'Latency (average)',
|
||||
'uptime' => 'Uptime',
|
||||
'year' => 'Year',
|
||||
'month' => 'Month',
|
||||
'week' => 'Week',
|
||||
'day' => 'Day',
|
||||
'hour' => 'Hour',
|
||||
'warning_threshold' => 'Warning threshold',
|
||||
'warning_threshold_description' => 'Number of failed checks required before it is marked offline.',
|
||||
'chart_last_week' => 'Last week',
|
||||
'chart_history' => 'History',
|
||||
// Charts date format according jqPlot date format http://www.jqplot.com/docs/files/plugins/jqplot-dateAxisRenderer-js.html
|
||||
'chart_day_format' => '%Y-%m-%d',
|
||||
'chart_long_date_format' => '%Y-%m-%d %H:%M:%S',
|
||||
'chart_short_date_format' => '%m/%d %H:%M',
|
||||
'chart_short_time_format' => '%H:%M',
|
||||
),
|
||||
'config' => array(
|
||||
'general' => 'General',
|
||||
'language' => 'Language',
|
||||
'show_update' => 'Updates',
|
||||
'email_status' => 'Allow sending email',
|
||||
'email_from_email' => 'Email from address',
|
||||
'email_from_name' => 'Email from name',
|
||||
'email_smtp' => 'Enable SMTP',
|
||||
'email_smtp_host' => 'SMTP host',
|
||||
'email_smtp_port' => 'SMTP port',
|
||||
'email_smtp_username' => 'SMTP username',
|
||||
'email_smtp_password' => 'SMTP password',
|
||||
'email_smtp_noauth' => 'Leave blank for no authentication',
|
||||
'sms_status' => 'Allow sending text messages',
|
||||
'sms_gateway' => 'Gateway to use for sending messages',
|
||||
'sms_gateway_mosms' => 'Mosms',
|
||||
'sms_gateway_mollie' => 'Mollie',
|
||||
'sms_gateway_spryng' => 'Spryng',
|
||||
'sms_gateway_inetworx' => 'Inetworx',
|
||||
'sms_gateway_clickatell' => 'Clickatell',
|
||||
'sms_gateway_textmarketer' => 'Textmarketer',
|
||||
'sms_gateway_username' => 'Gateway username',
|
||||
'sms_gateway_password' => 'Gateway password',
|
||||
'sms_from' => 'Sender\'s phone number',
|
||||
'alert_type' => 'Select when you\'d like to be notified.<br/>',
|
||||
'alert_type_description' => '<b>Status change:</b> '.
|
||||
'You will receive a notifcation when a server has a change in status. So from online -> offline or offline -> online.<br/>'.
|
||||
'<br /><b>Offline:</b> '.
|
||||
'You will receive a notification when a server goes offline for the *FIRST TIME ONLY*. For example, '.
|
||||
'your cronjob is every 15 mins and your server goes down at 1 am and stays down till 6 am. '.
|
||||
'You will get 1 notification at 1 am and thats it.<br/>'.
|
||||
'<br><b>Always:</b> '.
|
||||
'You will receive a notification every time the script runs and a site is down, even if the site has been '.
|
||||
'offline for hours.',
|
||||
'alert_type_status' => 'Status change',
|
||||
'alert_type_offline' => 'Offline',
|
||||
'alert_type_always' => 'Always',
|
||||
'log_status' => 'Log status',
|
||||
'log_status_description' => 'If log status is set to TRUE, the monitor will log the event whenever the Notification settings are passed.',
|
||||
'log_email' => 'Log emails sent by the script',
|
||||
'log_sms' => 'Log text messages sent by the script',
|
||||
'updated' => 'The configuration has been updated.',
|
||||
'tab_email' => 'Email',
|
||||
'tab_sms' => 'SMS',
|
||||
'tab_log' => 'Log',
|
||||
'settings_email' => 'Email settings',
|
||||
'settings_sms' => 'Text message settings',
|
||||
'settings_notification' => 'Notification settings',
|
||||
'settings_log' => 'Log settings',
|
||||
'auto_refresh' => 'Auto-refresh',
|
||||
'auto_refresh_servers' =>
|
||||
'Auto-refresh servers page.<br/>'.
|
||||
'<span class="small">'.
|
||||
'Time in seconds, if 0 the page won\'t refresh.'.
|
||||
'</span>',
|
||||
'seconds' => 'seconds',
|
||||
),
|
||||
// for newlines in the email messages use <br/>
|
||||
'notifications' => array(
|
||||
'off_sms' => 'Server \'%LABEL%\' is DOWN: ip=%IP%, port=%PORT%. Error=%ERROR%',
|
||||
'off_email_subject' => 'IMPORTANT: Server \'%LABEL%\' is DOWN',
|
||||
'off_email_body' => "Failed to connect to the following server:<br/><br/>Server: %LABEL%<br/>IP: %IP%<br/>Port: %PORT%<br/>Error: %ERROR%<br/>Date: %DATE%",
|
||||
'on_sms' => 'Server \'%LABEL%\' is RUNNING: ip=%IP%, port=%PORT%',
|
||||
'on_email_subject' => 'IMPORTANT: Server \'%LABEL%\' is RUNNING',
|
||||
'on_email_body' => "Server '%LABEL%' is running again:<br/><br/>Server: %LABEL%<br/>IP: %IP%<br/>Port: %PORT%<br/>Date: %DATE%",
|
||||
),
|
||||
'login' => array(
|
||||
'welcome_usermenu' => 'Welcome, %user_name%',
|
||||
'title_sign_in' => 'Please sign in',
|
||||
'title_forgot' => 'Forgot your password?',
|
||||
'title_reset' => 'Reset your password',
|
||||
'submit' => 'Submit',
|
||||
'remember_me' => 'Remember me',
|
||||
'login' => 'Login',
|
||||
'logout' => 'Logout',
|
||||
'username' => 'Username',
|
||||
'password' => 'Password',
|
||||
'password_repeat' => 'Repeat password',
|
||||
'password_forgot' => 'Forgot password?',
|
||||
'password_reset' => 'Reset password',
|
||||
'password_reset_email_subject' => 'Reset your password for PHP Server Monitor',
|
||||
'password_reset_email_body' => 'Please use the following link to reset your password. Please note it expires in 1 hour.<br/><br/>%link%',
|
||||
'error_user_incorrect' => 'The provided username could not be found.',
|
||||
'error_login_incorrect' => 'The information is incorrect.',
|
||||
'error_login_passwords_nomatch' => 'The provided passwords do not match.',
|
||||
'error_reset_invalid_link' => 'The reset link you provided is invalid.',
|
||||
'success_password_forgot' => 'An email has been sent to you with information how to reset your password.',
|
||||
'success_password_reset' => 'Your password has been reset successfully. Please login.',
|
||||
),
|
||||
);
|
|
@ -170,12 +170,13 @@ $sm_lang = array(
|
|||
'sms_gateway_spryng' => 'Spryng',
|
||||
'sms_gateway_inetworx' => 'Inetworx',
|
||||
'sms_gateway_clickatell' => 'Clickatell',
|
||||
'sms_gateway_textmarketer' => 'Textmarketer',
|
||||
'sms_gateway_smsit' => 'Smsit',
|
||||
'sms_gateway_textmarketer' => 'Textmarketer',
|
||||
'sms_gateway_username' => 'Gateway username',
|
||||
'sms_gateway_password' => 'Gateway password',
|
||||
'sms_from' => 'Número origen del SMS',
|
||||
'alert_type' => 'Cuando desea recibir notificaciones ?<br/>',
|
||||
'alert_type_description' => '<b>... Al cambiar el estado:</b> '.
|
||||
'alert_type_description' => '<b>... Al cambiar el estado:</b> '.
|
||||
'p.ej. online -> offline o offline -> online.<br/>'.
|
||||
'<br /><b>Offline:</b> '.
|
||||
'Recibirá una notificación cuando el servidor va fuera de línea.'.
|
||||
|
|
|
@ -171,7 +171,8 @@ $sm_lang = array(
|
|||
'sms_gateway_spryng' => 'Spryng',
|
||||
'sms_gateway_inetworx' => 'Inetworx',
|
||||
'sms_gateway_clickatell' => 'Clickatell',
|
||||
'sms_gateway_textmarketer' => 'Textmarketer',
|
||||
'sms_gateway_textmarketer' => 'Textmarketer',
|
||||
'sms_gateway_smsit' => 'Smsit',
|
||||
'sms_gateway_username' => 'Nom utilisateur de la passerelle',
|
||||
'sms_gateway_password' => 'Mot de passe de la passerelle',
|
||||
'sms_from' => 'SMS de l\'expéditeur',
|
||||
|
|
|
@ -170,12 +170,13 @@ $sm_lang = array(
|
|||
'sms_gateway_spryng' => 'Spryng',
|
||||
'sms_gateway_inetworx' => 'Inetworx',
|
||||
'sms_gateway_clickatell' => 'Clickatell',
|
||||
'sms_gateway_textmarketer' => 'Textmarketer',
|
||||
'sms_gateway_textmarketer' => 'Textmarketer',
|
||||
'sms_gateway_smsit' => 'Smsit',
|
||||
'sms_gateway_username' => 'Nome Utente Gateway',
|
||||
'sms_gateway_password' => 'Password Gateway',
|
||||
'sms_from' => 'Numero di telefono del mittente',
|
||||
'alert_type' => 'Seleziona quando vuoi essere notificato.<br/>',
|
||||
'alert_type_description' => '<b>Cambio di Stato:</b> '.
|
||||
'alert_type_description' => '<b>Cambio di Stato:</b> '.
|
||||
'Riceverai una notifica solo quando un server cambierà stato. Quindi da online -> offline oppure da offline -> online.<br/>'.
|
||||
'<br /><b>Offline:</b> '.
|
||||
'Riceverai una notifica solo quando un server andrà offline *SOLO LA PRIMA VOLTA*. Per esempio, '.
|
||||
|
|
|
@ -171,7 +171,8 @@ $sm_lang = array(
|
|||
'sms_gateway_spryng' => 'Spryng',
|
||||
'sms_gateway_inetworx' => 'Inetworx',
|
||||
'sms_gateway_clickatell' => 'Clickatell',
|
||||
'sms_gateway_textmarketer' => 'Textmarketer',
|
||||
'sms_gateway_smsit' => 'Smsit',
|
||||
'sms_gateway_textmarketer' => 'Textmarketer',
|
||||
'sms_gateway_username' => 'Gateway username',
|
||||
'sms_gateway_password' => 'Gateway password',
|
||||
'sms_from' => 'Sender\'s phone number',
|
||||
|
|
|
@ -171,7 +171,8 @@ $sm_lang = array(
|
|||
'sms_gateway_spryng' => 'Spryng',
|
||||
'sms_gateway_inetworx' => 'Inetworx',
|
||||
'sms_gateway_clickatell' => 'Clickatell',
|
||||
'sms_gateway_textmarketer' => 'Textmarketer',
|
||||
'sms_gateway_textmarketer' => 'Textmarketer',
|
||||
'sms_gateway_smsit' => 'Smsit',
|
||||
'sms_gateway_username' => 'Gateway gebruikersnaam',
|
||||
'sms_gateway_password' => 'Gateway wachtwoord',
|
||||
'sms_from' => 'Telefoonnummer afzender',
|
||||
|
|
|
@ -172,6 +172,7 @@ $sm_lang = array(
|
|||
'sms_gateway_inetworx' => 'Inetworx',
|
||||
'sms_gateway_clickatell' => 'Clickatell',
|
||||
'sms_gateway_textmarketer' => 'Textmarketer',
|
||||
'sms_gateway_smsit' => 'Smsit',
|
||||
'sms_gateway_username' => 'Usuário do Gateway',
|
||||
'sms_gateway_password' => 'Senha do Gateway',
|
||||
'sms_from' => 'Número de telefone de envio',
|
||||
|
|
|
@ -171,6 +171,7 @@ $sm_lang = array(
|
|||
'sms_gateway_spryng' => 'Spryng',
|
||||
'sms_gateway_inetworx' => 'Inetworx',
|
||||
'sms_gateway_clickatell' => 'Clickatell',
|
||||
'sms_gateway_smsit' => 'Smsit',
|
||||
'sms_gateway_textmarketer' => 'Textmarketer',
|
||||
'sms_gateway_username' => 'SMS网关用户名',
|
||||
'sms_gateway_password' => 'SMS网关密码',
|
||||
|
|
|
@ -205,6 +205,7 @@ class ConfigController extends AbstractController {
|
|||
'label_sms_gateway_mollie' => psm_get_lang('config', 'sms_gateway_mollie'),
|
||||
'label_sms_gateway_spryng' => psm_get_lang('config', 'sms_gateway_spryng'),
|
||||
'label_sms_gateway_inetworx' => psm_get_lang('config', 'sms_gateway_inetworx'),
|
||||
'label_sms_gateway_smsit' => psm_get_lang('config', 'sms_gateway_smsit'),
|
||||
'label_sms_gateway_clickatell' => psm_get_lang('config', 'sms_gateway_clickatell'),
|
||||
'label_sms_gateway_textmarketer' => psm_get_lang('config', 'sms_gateway_textmarketer'),
|
||||
'label_sms_gateway_username' => psm_get_lang('config', 'sms_gateway_username'),
|
||||
|
|
|
@ -0,0 +1,60 @@
|
|||
<?php
|
||||
/**
|
||||
* PHP Server Monitor
|
||||
* Monitor your servers and websites.
|
||||
*
|
||||
* This file is part of PHP Server Monitor.
|
||||
* PHP Server Monitor is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* PHP Server Monitor is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with PHP Server Monitor. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @package phpservermon
|
||||
* @author Perri Vardy-Mason
|
||||
* @copyright Copyright (c) 2008-2014 Pepijn Over <pep@neanderthal-technology.com>
|
||||
* @license http://www.gnu.org/licenses/gpl.txt GNU GPL v3
|
||||
* @version Release: @package_version@
|
||||
* @link http://www.phpservermonitor.org/
|
||||
* @since phpservermon 2.1
|
||||
**/
|
||||
|
||||
namespace psm\Txtmsg;
|
||||
|
||||
class Smsit extends Core {
|
||||
// =========================================================================
|
||||
// [ Fields ]
|
||||
// =========================================================================
|
||||
public $gateway = 1;
|
||||
public $resultcode = null;
|
||||
public $resultmessage = null;
|
||||
public $success = false;
|
||||
public $successcount = 0;
|
||||
|
||||
public function sendSMS($message) {
|
||||
// http://www.smsit.dk/api/sendSms.php?apiKey=[KEY]x&senderId=[AFSENDER]&mobile=[MOBILNUMMER]&message=[BESKED]
|
||||
// Use USERNAME as API KEY, password not needed
|
||||
$textmarketer_url = "http://www.smsit.dk/api/sendSms.php";
|
||||
$textmarketer_data = urlencode( $message );
|
||||
$textmarketer_origin = urlencode( 'SERVERALERT' );
|
||||
|
||||
|
||||
foreach( $this->recipients as $phone ){
|
||||
|
||||
$URL = $textmarketer_url."?apiKey=" . $this->username . "&mobile=" . $phone . "&message=" . $textmarketer_data . "&senderId=" . $textmarketer_origin;
|
||||
|
||||
$result = file_get_contents( $URL );
|
||||
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
}
|
|
@ -23,7 +23,7 @@
|
|||
* @license http://www.gnu.org/licenses/gpl.txt GNU GPL v3
|
||||
* @version Release: @package_version@
|
||||
* @link http://www.phpservermonitor.org/
|
||||
* @since phpservermon 2.1
|
||||
* @since phpservermon 2.1
|
||||
**/
|
||||
|
||||
namespace psm\Txtmsg;
|
||||
|
|
|
@ -117,6 +117,7 @@
|
|||
<option value="inetworx" {sms_selected_inetworx}>{label_sms_gateway_inetworx}</option>
|
||||
<option value="clickatell" {sms_selected_clickatell}>{label_sms_gateway_clickatell}</option>
|
||||
<option value="textmarketer" {sms_selected_textmarketer}>{label_sms_gateway_textmarketer}</option>
|
||||
<option value="smsit" {sms_selected_smsit}>{label_sms_gateway_smsit}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -163,4 +164,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<!--%%tpl_config-->
|
||||
<!--%%tpl_config-->
|
||||
|
|
Loading…
Reference in New Issue