Internationalization further in progress

This commit is contained in:
dg9vh 2017-03-14 14:32:06 +00:00
parent 9ec7d19d36
commit 79d76b43d3
11 changed files with 1415 additions and 715 deletions

View file

@ -10,15 +10,15 @@
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
<!-- Das neueste kompilierte und minimierte JavaScript --> <!-- Das neueste kompilierte und minimierte JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<title>MMDVM-Dashboard by DG9VH - Credits</title> <title>MMDVM-Dashboard by DG9VH - <?php echo _("Credits"); ?></title>
</head> </head>
<body> <body>
<div class="page-header"> <div class="page-header">
<h1><small>MMDVM-Dashboard by DG9VH</small> Credits</h1> <h1><small>MMDVM-Dashboard by DG9VH</small> <?php echo _("Credits"); ?></h1>
</div> </div>
<div class="container"> <div class="container">
<p>I think, after all the time this dashboard is developed mainly by myself, it is time to say "Thank you" to all those, wo delivered some ideas or code into this project.</p> <p><?php echo _("I think, after all the time this dashboard is developed mainly by myself, it is time to say \"Thank you\" to all those, wo delivered some ideas or code into this project."); ?></p>
<p>This are explicit named following persons:</p> <p><?php echo _("This are explicit named following persons:"); ?></p>
<ul> <ul>
<li>df2et</li> <li>df2et</li>
<li>dg1tal</li> <li>dg1tal</li>
@ -28,11 +28,11 @@
<li>dg0cco</li> <li>dg0cco</li>
<li>sa7bnt</li> <li>sa7bnt</li>
<li>ct2jay</li> <li>ct2jay</li>
<li>and some others...</li> <li><?php echo _("and some others..."); ?></li>
</ul> </ul>
<p>Those, who felt forgotten, feel free to comit a change into github of this file.</p> <p><?php echo _("Those, who felt forgotten, feel free to commit a change into github of this file."); ?></p>
<p>Many thanks to you all!</p> <p><?php echo _("Many thanks to you all!"); ?></p>
<p>Best 73, Kim, DG9VH</p> <p><?php echo _("Best 73, Kim, DG9VH"); ?></p>
</div> </div>
</body> </body>
</html> </html>

13
internationalization.md Normal file
View file

@ -0,0 +1,13 @@
# Internationalization
If you want to have the static-text-output in other languages than default
(english), you have to do following steps:
* activate your locale with raspi-config as default-locale
* set your locale within setup.php
# Be a part of translators!
To be a part of the translators-community, feel free to copy an existing
locale-tree within the locale-directory to your own locale, modify the
settings.php-file within this directory and modify the messages.po within
the LC_MESSAGES-directory. After this, you should generate a messages.mo
with the command 'msgfmt messages.po -o messages.mo'. The command is part
of the gettext-package to be installed before with 'apt-get install gettext'.

Binary file not shown.

View file

@ -8,8 +8,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 2017-03-13\n" "Project-Id-Version: 2017-03-13\n"
"Report-Msgid-Bugs-To: dg9vh@darc.de\n" "Report-Msgid-Bugs-To: dg9vh@darc.de\n"
"POT-Creation-Date: 2017-03-13 21:28+0000\n" "POT-Creation-Date: 2017-03-14 13:47+0000\n"
"PO-Revision-Date: 2017-03-13 21:30+0000\n" "PO-Revision-Date: 2017-03-14 14:47+0000\n"
"Last-Translator: Kim - DG9VH <dg9vh@darc.de>\n" "Last-Translator: Kim - DG9VH <dg9vh@darc.de>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: de\n" "Language: de\n"
@ -17,327 +17,646 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:214 #: include/sysinfo_ajax.php:3
msgid "Power"
msgstr "Spannung"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:219
msgid "CPU-Temperature"
msgstr "CPU-Temperatur"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:224
msgid "CPU-Frequency"
msgstr "CPU-Frequenz"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:228
msgid "System-Load"
msgstr "System-Last"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:229
msgid "CPU-Usage"
msgstr "CPU-Nutzung"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:230
msgid "Uptime"
msgstr "Laufzeit"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:231
msgid "Idle"
msgstr "Nichts tuend"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:237
msgid "online"
msgstr "am Netz"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:237
msgid "on battery"
msgstr "an der Baterie"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:59
msgid "for"
msgstr "für"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:61
msgid "Repeater"
msgstr "Relais"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:63
msgid "Hotspot"
msgstr "Zugangspunkt"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:70
msgid "DMR-Network: "
msgstr "DNR-Netzwerk: "
#: /var/www/html/Codiad/workspace/Dashboard/index.php:100
msgid "View Log"
msgstr "Log anzeigen"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:101
msgid "Reboot MMDVMHost"
msgstr "MMDVMHost neustarten"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:102
msgid "Reboot System"
msgstr "System neustarten"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:103
msgid "ShutDown System"
msgstr "System herunterfahren"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:108
msgid "DMRplus"
msgstr "DMRplus"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:109
msgid "BrandMeister"
msgstr "BrandMeister"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:159
msgid "Last Reload"
msgstr "Letzte Aktualisierung"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:169
msgid "stop refreshing"
msgstr "autom. neuladen stoppen"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:171
msgid "autom. neuladen starten"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:174
msgid "get your own at:"
msgstr "lade dein eigenes unter:"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:174
msgid "Credits"
msgstr "Dankeschön"
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:3
msgid "Disk Use"
msgstr "Auslastung"
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:10
msgid "File System"
msgstr "Datei-System"
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:11
msgid "Mount Point"
msgstr "Einhängepunkt"
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:12
msgid "Use"
msgstr "Benutzt"
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:13
msgid "Free"
msgstr "Frei"
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:14
msgid "Used"
msgstr "Benutzt"
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:15
msgid "Total"
msgstr "Gesamt"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:6
msgid "Last Heard List of today's"
msgstr "Liste zuletzt gehörter"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:6
msgid "callsigns."
msgstr "Rufzeichen."
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:13
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:13
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:10
msgid "Time"
msgstr "Zeit"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:14
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:14
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:11
msgid "Mode"
msgstr "Modus"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:15
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:15
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:12
msgid "Callsign"
msgstr "Rufzeichen"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:19
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:19
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:16
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:38
msgid "Name"
msgstr "Name"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:23
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:23
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:25
msgid "DSTAR-ID"
msgstr "DSTAR-ID"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:24
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:24
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:26
msgid "Target"
msgstr "Ziel"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:25
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:25
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:27
msgid "Source"
msgstr "Quelle"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:26
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:26
msgid "Dur (s)"
msgstr "Dauer (s)"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:27
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:27
msgid "Loss"
msgstr "Verlust"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:28
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:28
msgid "BER"
msgstr "BER"
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:6
msgid "Today's local transmissions"
msgstr "Lokale Aussendungen heute"
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:30
msgid "RSSI (min)"
msgstr "RSSI (min)"
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:31
msgid "RSSI (max)"
msgstr "RSSI (max)"
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:32
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:33
msgid "RSSI (avg)"
msgstr "RSSI (mw)"
#: /var/www/html/Codiad/workspace/Dashboard/include/modes.php:3
msgid "Enabled Modes"
msgstr "Aktivierte Modi"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:3
msgid "Repeater Info"
msgstr "Repeater Info"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:9
msgid "Current Mode"
msgstr "Aktueller Modus"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:13
msgid "D-Star linked to"
msgstr "D-Star verbunden mit"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:18
msgid "YSF linked to"
msgstr "YSF verbunden mit"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:23
msgid "DMR TS1 last linked to"
msgstr "DMR TS1 zuletzt verbunden mit"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:24
msgid "DMR TS2 last linked to"
msgstr "DMR TS2 zuletzt verbunden mit"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:48
msgid "Location"
msgstr "Ort"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:49
msgid "TX-Freq."
msgstr "TX-Freq."
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:50
msgid "RX-Freq."
msgstr "RX-Freq."
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:54
msgid "YSFGateway"
msgstr "YSFGateway"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:59
msgid "DMR CC"
msgstr "DMR CC"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:63
msgid "DMR-Master"
msgstr "DMR-Master"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:64
msgid "TS1"
msgstr "TS1"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:65
msgid "TS2"
msgstr "TS2"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:97
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:104
msgid "enabled"
msgstr "aktiv"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:99
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:106
msgid "disabled"
msgstr "inaktiv"
#: /var/www/html/Codiad/workspace/Dashboard/include/sysinfo_ajax.php:3
msgid "System Info" msgid "System Info"
msgstr "System Informationen" msgstr "System Informationen"
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:3 #: include/ysfgatewayinfo.php:5
msgid "Currently TXing"
msgstr "Aktuelle Aussendung"
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:21
msgid "Talker Alias"
msgstr "Talker Alias"
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:28
msgid "TX-Time"
msgstr "Sende-Zeit"
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:5
msgid "YSFGateway-Infos" msgid "YSFGateway-Infos"
msgstr "YSFGateway-Informationen" msgstr "YSFGateway-Informationen"
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:13 #: include/ysfgatewayinfo.php:13
msgid "YSFGateway Process is running" msgid "YSFGateway Process is running"
msgstr "YSFGateway Prozess läuft" msgstr "YSFGateway läuft"
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:16 #: include/ysfgatewayinfo.php:16
msgid "YSFGateway Process is down!" msgid "YSFGateway Process is down!"
msgstr "YSFGateway Prozess läuft nicht!" msgstr "YSFGateway beendet!"
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:25 #: include/ysfgatewayinfo.php:25
msgid "YSFReflectors reported active" msgid "YSFReflectors reported active"
msgstr "YSFReflectoren aktiv" msgstr "YSFReflektoren, die aktiv gemeldet sind"
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:37 #: include/ysfgatewayinfo.php:37
msgid "No." msgid "No."
msgstr "Nr." msgstr "Nr."
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:39 #: include/ysfgatewayinfo.php:38 include/localtx_ajax.php:19
#: include/lh_ajax.php:19 include/txinfo.php:16
msgid "Name"
msgstr "Name"
#: include/ysfgatewayinfo.php:39
msgid "Description" msgid "Description"
msgstr "Beschreibung" msgstr "Beschreibung"
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:40 #: include/ysfgatewayinfo.php:40
msgid "ID" msgid "ID"
msgstr "ID" msgstr "ID"
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:41 #: include/ysfgatewayinfo.php:41
msgid "Connections" msgid "Connections"
msgstr "Verbindungen" msgstr "Verbindungen"
#: include/localtx_ajax.php:6
msgid "Today's local transmissions"
msgstr "Heute lokal gehört"
#: include/localtx_ajax.php:13 include/lh_ajax.php:13 include/txinfo.php:10
msgid "Time"
msgstr "Zeit"
#: include/localtx_ajax.php:14 include/lh_ajax.php:14 include/txinfo.php:11
msgid "Mode"
msgstr "Modus"
#: include/localtx_ajax.php:15 include/lh_ajax.php:15 include/txinfo.php:12
msgid "Callsign"
msgstr "Rufzeichen"
#: include/localtx_ajax.php:23 include/lh_ajax.php:23 include/txinfo.php:25
msgid "DSTAR-ID"
msgstr "DSTAR-ID"
#: include/localtx_ajax.php:24 include/lh_ajax.php:24 include/txinfo.php:26
msgid "Target"
msgstr "Ziel"
#: include/localtx_ajax.php:25 include/lh_ajax.php:25 include/txinfo.php:27
msgid "Source"
msgstr "Quelle"
#: include/localtx_ajax.php:26 include/lh_ajax.php:26
msgid "Dur (s)"
msgstr "Dauer (s)"
#: include/localtx_ajax.php:27 include/lh_ajax.php:27
msgid "Loss"
msgstr "Verlust"
#: include/localtx_ajax.php:28 include/lh_ajax.php:28
msgid "BER"
msgstr "BER"
#: include/localtx_ajax.php:30
msgid "RSSI (min)"
msgstr "RSSI (min)"
#: include/localtx_ajax.php:31
msgid "RSSI (max)"
msgstr "RSSI (max)"
#: include/localtx_ajax.php:32 include/localtx_ajax.php:33
msgid "RSSI (avg)"
msgstr "RSSI (Mittel)"
#: include/repeaterinfo.php:3
msgid "Repeater Info"
msgstr "Repeater Informationen"
#: include/repeaterinfo.php:9
msgid "Current Mode"
msgstr "Aktueller Mode"
#: include/repeaterinfo.php:13
msgid "D-Star linked to"
msgstr "D-Star verlinkt mit"
#: include/repeaterinfo.php:18
msgid "YSF linked to"
msgstr "YSF verlinkt mit"
#: include/repeaterinfo.php:23
msgid "DMR TS1 last linked to"
msgstr "DMR TS1 zuletzt verlinkt mit"
#: include/repeaterinfo.php:24
msgid "DMR TS2 last linked to"
msgstr "DMR TS2 zuletzt verlinkt mit"
#: include/repeaterinfo.php:48
msgid "Location"
msgstr "Standort"
#: include/repeaterinfo.php:49
msgid "TX-Freq."
msgstr "TX-Freq."
#: include/repeaterinfo.php:50
msgid "RX-Freq."
msgstr "RX-Freq."
#: include/repeaterinfo.php:54
msgid "YSFGateway"
msgstr "YSFGateway"
#: include/repeaterinfo.php:59
msgid "DMR CC"
msgstr "DMR CC"
#: include/repeaterinfo.php:63
msgid "DMR-Master"
msgstr "DMR-Master"
#: include/repeaterinfo.php:64
msgid "TS1"
msgstr "TS1"
#: include/repeaterinfo.php:65
msgid "TS2"
msgstr "TS2"
#: include/repeaterinfo.php:97 include/repeaterinfo.php:104
msgid "enabled"
msgstr "aktiviert"
#: include/repeaterinfo.php:99 include/repeaterinfo.php:106
msgid "disabled"
msgstr "deaktiviert"
#: include/tools.php:73
msgid ""
"You are using an old config.php. Please configure your Dashboard by calling "
"<a href=\"setup.php\">setup.php</a>!"
msgstr "Du benutzt eine alte config.php. Bitte das Dashboard noch einmal konfigurieren mit <a href=\"setup.php\">setup.php</a>!"
#: include/tools.php:79
msgid ""
"You forgot to remove setup.php in root-directory of your dashboard or you "
"forgot to configure it! Please delete the file or configure your Dashboard "
"by calling <a href=\"setup.php\">setup.php</a>!"
msgstr "Du hast vergessen, die setup.php im Hauptverzeichnis des Dashboards zu löschen oder du hast das Dashboard vergessen zu konfigurieren. Bitte die Datei löschen oder das Dashboard konfigurieren unter <a href=\"setup.php\">setup.php</a>!"
#: include/modes.php:3
msgid "Enabled Modes"
msgstr "Aktive Modi"
#: include/lh_ajax.php:6
msgid "Last Heard List of today's"
msgstr "Zuletzt gehörte"
#: include/lh_ajax.php:6
msgid "callsigns."
msgstr "Rufzeichen von heute."
#: include/disk.php:3
msgid "Disk Use"
msgstr "Plattennutzung"
#: include/disk.php:10
msgid "File System"
msgstr "Dateisystem"
#: include/disk.php:11
msgid "Mount Point"
msgstr "Einhängepunkt"
#: include/disk.php:12
msgid "Use"
msgstr "Benutzt"
#: include/disk.php:13
msgid "Free"
msgstr "Frei"
#: include/disk.php:14
msgid "Used"
msgstr "Benutzt"
#: include/disk.php:15
msgid "Total"
msgstr "Gesamt"
#: include/txinfo.php:3
msgid "Currently TXing"
msgstr "Aktuelle Aussendung"
#: include/txinfo.php:21
msgid "Talker Alias"
msgstr "Talker Alias"
#: include/txinfo.php:28
msgid "TX-Time"
msgstr "TX-Zeit"
#: scripts/rebootmmdvm.php:50 scripts/halt.php:49 scripts/log.php:53
#: scripts/reboot.php:50 index.php:59
msgid "for"
msgstr "für"
#: scripts/rebootmmdvm.php:52 scripts/halt.php:51 scripts/log.php:55
#: scripts/reboot.php:52 index.php:61
msgid "Repeater"
msgstr "Repeater"
#: scripts/rebootmmdvm.php:54 scripts/halt.php:53 scripts/log.php:57
#: scripts/reboot.php:54 index.php:63
msgid "Hotspot"
msgstr "Hotspot"
#: scripts/rebootmmdvm.php:58 scripts/reboot.php:58
msgid "Home"
msgstr "Startseite"
#: scripts/rebootmmdvm.php:67 scripts/reboot.php:66
msgid "Executing"
msgstr "Ausführung von"
#: scripts/rebootmmdvm.php:67
msgid "Reboot MMDVMHost service in progress"
msgstr "Neustart des MMDVMHost läuft"
#: scripts/rebootmmdvm.php:90 scripts/halt.php:89 scripts/log.php:134
#: scripts/reboot.php:89 index.php:174
msgid "get your own at:"
msgstr "herunterladen unter:"
#: scripts/rebootmmdvm.php:90 scripts/halt.php:89 scripts/log.php:134
#: scripts/reboot.php:89 index.php:174 credits.php:13 credits.php:17
msgid "Credits"
msgstr "Dankesworte"
#: scripts/halt.php:66
msgid "Halt in progress...bye"
msgstr "System wird heruntergefahen ... Tschüss"
#: scripts/log.php:61 index.php:100
msgid "View Log"
msgstr "Log anzeigen"
#: scripts/log.php:62 index.php:101
msgid "Reboot MMDVMHost"
msgstr "MMDVMHost neustarten"
#: scripts/log.php:63 index.php:102
msgid "Reboot System"
msgstr "System neustarten"
#: scripts/log.php:64 index.php:103
msgid "ShutDown System"
msgstr "System heruntefahren"
#: scripts/log.php:68 index.php:108
msgid "DMRplus"
msgstr "DMRplus"
#: scripts/log.php:69 index.php:109
msgid "BrandMeister"
msgstr "BrandMeister"
#: scripts/log.php:76
msgid "Viewing log"
msgstr "Zeige Log"
#: scripts/log.php:82
msgid "Level"
msgstr "Niveau"
#: scripts/log.php:83
msgid "Timestamp"
msgstr "Zeitstempel"
#: scripts/log.php:84
msgid "Info"
msgstr "Information"
#: scripts/reboot.php:66
msgid "Reboot system in progress"
msgstr "System wird neugestartet"
#: ajax.php:214
msgid "Power"
msgstr "Stromversorgung"
#: ajax.php:219
msgid "CPU-Temperature"
msgstr "CPU-Temperatur"
#: ajax.php:224
msgid "CPU-Frequency"
msgstr "CPU-Frequenz"
#: ajax.php:228
msgid "System-Load"
msgstr "System-Last"
#: ajax.php:229
msgid "CPU-Usage"
msgstr "CPU-Nutzung"
#: ajax.php:230
msgid "Uptime"
msgstr "Laufzeit"
#: ajax.php:231
msgid "Idle"
msgstr "wartend"
#: ajax.php:237
msgid "online"
msgstr "Netzbetrieb"
#: ajax.php:237
msgid "on battery"
msgstr "Batteriebetrieb"
#: index.php:70
msgid "DMR-Network: "
msgstr "DMR-Netzwerk: "
#: index.php:159
msgid "Last Reload"
msgstr "Letzte Aktualisierung"
#: index.php:169
msgid "stop refreshing"
msgstr "Neuladen stoppen"
#: index.php:171
msgid "start refreshing"
msgstr "Neuladen aktivieren"
#: credits.php:20
msgid ""
"I think, after all the time this dashboard is developed mainly by myself, it "
"is time to say \"Thank you\" to all those, wo delivered some ideas or code "
"into this project."
msgstr "Ich denke, nach all der Zeit, die dieses Dashboard hauptsächlich durch mich entwickelt wurde, ist es Zeit, einmal \"Danke\" all denen zu sagen, die Ideen oder Code diesem Projekt beisteuerten."
#: credits.php:21
msgid "This are explicit named following persons:"
msgstr "Da wären im speziellen folgende Personen:"
#: credits.php:31
msgid "and some others..."
msgstr "und weitere..."
#: credits.php:33
msgid ""
"Those, who felt forgotten, feel free to commit a change into github of this "
"file."
msgstr "Die, die ich vergessen habe, dürfen sich gerne per Commit über Github hier eintragen."
#: credits.php:34
msgid "Many thanks to you all!"
msgstr "Vielen Dank euch allen!"
#: credits.php:35
msgid "Best 73, Kim, DG9VH"
msgstr "Beste 73, Kim, DG9VH"
#: setup.php:26
msgid ""
"You forgot to give write-permissions to your webserver-user, see point 3 in "
"<a href=\"linux-step-by-step.md\">linux-step-by-step.md</a>!"
msgstr "Bitte Schreibrechte für den Webserver geben, siehe Punkt 3 in <a href=\"linux-step-by-step.md\">linux-step-by-step.md</a>!"
#: setup.php:41 setup.php:50
msgid "Setup-Process"
msgstr "Setup-Prozess"
#: setup.php:42
msgid ""
"Your config-file is written in config/config.php, please remove setup.php "
"for security reasons!"
msgstr "Deine Konfiguration ist in config/config.php, bitte setup.php entfernen!"
#: setup.php:43
msgid "Your dashboard is now available."
msgstr "Dein Dashboard ist nun verfügbar."
#: setup.php:51
msgid "Please give necessary information below"
msgstr "Bitte unten die notwendigen Informationen ausfüllen"
#: setup.php:56
msgid "MMDVMHost-Configuration"
msgstr "MMDVMHost-Einstellungen"
#: setup.php:58
msgid "Path to MMDVMHost-logfile"
msgstr "Pfad zur MMDVMHost-Logdatei"
#: setup.php:62
msgid "Path to MMDVM.ini"
msgstr "PFad zur MMDVM.ini"
#: setup.php:66
msgid "MMDVM.ini-filename"
msgstr "MMDVM.ini-Dateiname"
#: setup.php:70
msgid "Path to MMDVMHost-executable"
msgstr "Pfad zum MMDVMHost-Programm"
#: setup.php:74
msgid "Enable extended lookup (show names)"
msgstr "Aktiviere Namensauflösung"
#: setup.php:78
msgid "Show Talker Alias"
msgstr "Zeige Talker Alias"
#: setup.php:82
msgid "Path to DMR-ID-Database-File (including filename)"
msgstr "Pfad zur DMRIDs.dat (inkl. Dateiname)"
#: setup.php:87
msgid "YSFGateway-Configuration"
msgstr "YSFGateway-Einstellungen"
#: setup.php:89
msgid "Enable YSFGateway"
msgstr "YSFGateway aktiv"
#: setup.php:93
msgid "Path to YSFGateway-logfile"
msgstr "Pfad zu YSFGateway-Logdatei"
#: setup.php:97
msgid "Logfile-prefix"
msgstr "Logdatei-Prefix"
#: setup.php:101
msgid "Path to YSFGateway.ini"
msgstr "Pfat zu YSFGateway.ini"
#: setup.php:105
msgid "YSFGateway.ini-filename"
msgstr "YSFGateway.ini-Dateiname"
#: setup.php:109
msgid "Path to YSFHosts.txt"
msgstr "Pfad zu YSFHosts.txt"
#: setup.php:113
msgid "YSFHosts.txt-filename"
msgstr "YSFHosts.txt-Dateiname"
#: setup.php:118
msgid "ircddbgateway-Configuration"
msgstr "ircddbgateway-Einstellungen"
#: setup.php:120
msgid "Path to Links.log"
msgstr "Pfad zu Links.log"
#: setup.php:124
msgid "Name of ircddbgateway-executeable"
msgstr "Name des ircddbgateway-Prozesses"
#: setup.php:129
msgid "Global Configuration"
msgstr "Globale Einstellungen"
#: setup.php:188
msgid "Locale"
msgstr "Locale"
#: setup.php:192
msgid "URL to Logo"
msgstr "URL zu allg. Logo"
#: setup.php:196
msgid "URL to DMRplus-Logo"
msgstr "URL zu DMRplus-Logo"
#: setup.php:200
msgid "URL to BrandMeister-Logo"
msgstr "URL zu BrandMeister-Logo"
#: setup.php:204
msgid "Refresh page after in seconds"
msgstr "Seite neuladen nach ... Sekunden"
#: setup.php:208
msgid "Show System Info"
msgstr "Zeige System Informationen"
#: setup.php:212
msgid "Show Disk Use"
msgstr "Zeige Disk-Nutzung"
#: setup.php:216
msgid "Show Repeater Info"
msgstr "Zeige Repeater Informationen"
#: setup.php:220
msgid "Show Enabled Modes"
msgstr "Zeige aktive Modi"
#: setup.php:224
msgid "Show Last Heard List of today's"
msgstr "Zeige Zuletzt-gehört-Liste"
#: setup.php:228
msgid "Show Today's local transmissions"
msgstr "Zeige heutige lokale Aussendungen"
#: setup.php:232
msgid "Show progressbars"
msgstr "Fortschrittsbalken"
#: setup.php:236
msgid "Enable CPU-temperature-warning"
msgstr "CPU-Temp. Warung aktivieren"
#: setup.php:240
msgid "Warning temperature"
msgstr "Warn-Temperatur"
#: setup.php:244
msgid "Enable Network-Switching-Function"
msgstr "Netzwerk-Umschaltung aktivieren"
#: setup.php:248
msgid "Username for switching networks:"
msgstr "Netzwerk-Umschalten-Benutzer:"
#: setup.php:252
msgid "Password for switching networks:"
msgstr "Netzwerk-Umschalten-Passwort:"
#: setup.php:257
msgid "Enable Management-Functions below"
msgstr "Wartungs-Funktionen unten aktivieren"
#: setup.php:261
msgid "Username for view log:"
msgstr "Log-Anzeigen-Benutzer:"
#: setup.php:265
msgid "Password for view log:"
msgstr "Log-Anzeigen-Passwort:"
#: setup.php:269
msgid "Username for halt:"
msgstr "Ausschalten-Benutzer:"
#: setup.php:273
msgid "Password for halt:"
msgstr "Ausschalten-Passwort:"
#: setup.php:277
msgid "Username for reboot:"
msgstr "Reboot-Benutzer:"
#: setup.php:281
msgid "Password for reboot:"
msgstr "Reboot-Passwort:"
#: setup.php:285
msgid "Username for restart:"
msgstr "Neustart-Benutzer:"
#: setup.php:289
msgid "Password for restart:"
msgstr "Neustart-Passwort:"
#: setup.php:293
msgid "Reboot MMDVMHost command:"
msgstr "MMDVMHost-Neustart Kommando:"
#: setup.php:297
msgid "Reboot system command:"
msgstr "Reboot-Kommando:"
#: setup.php:301
msgid "Halt system command:"
msgstr "Herunterfahren-Kommando:"
#: setup.php:305
msgid "Show Powerstate (online or battery, wiringpi needed)"
msgstr "Stromversorgung (Netz oder Batterie, wiringpi notwendig)"
#: setup.php:309
msgid "GPIO pin to monitor:"
msgstr "GPIO-Pin zur Auswertung:"
#: setup.php:313
msgid "State that signalizes online-state:"
msgstr "Status für Netzversorgung:"
#: setup.php:317
msgid "Show link to QRZ.com on Callsigns"
msgstr "QRZ.com-Link auf Rufzeichen"
#: setup.php:321
msgid "RSSI value"
msgstr "RSSI Wert"
#: setup.php:323
msgid "minimal"
msgstr "Minimum"
#: setup.php:324
msgid "maximal"
msgstr "Maximum"
#: setup.php:325
msgid "average"
msgstr "Mittelwert"
#: setup.php:331
msgid "Save configuration"
msgstr "Konfiguration speichern"

View file

@ -1,4 +1,4 @@
# Translation-Template # SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package. # This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
@ -6,338 +6,657 @@
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 2017-03-13\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: dg9vh@darc.de\n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-13 21:28+0000\n" "POT-Creation-Date: 2017-03-14 13:47+0000\n"
"PO-Revision-Date: 2017-03-13 21:30+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Kim - DG9VH <dg9vh@darc.de>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: de\n" "Language: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:214 #: include/sysinfo_ajax.php:3
msgid "Power"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:219
msgid "CPU-Temperature"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:224
msgid "CPU-Frequency"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:228
msgid "System-Load"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:229
msgid "CPU-Usage"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:230
msgid "Uptime"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:231
msgid "Idle"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:237
msgid "online"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:237
msgid "on battery"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:59
msgid "for"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:61
msgid "Repeater"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:63
msgid "Hotspot"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:70
msgid "DMR-Network: "
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:100
msgid "View Log"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:101
msgid "Reboot MMDVMHost"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:102
msgid "Reboot System"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:103
msgid "ShutDown System"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:108
msgid "DMRplus"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:109
msgid "BrandMeister"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:159
msgid "Last Reload"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:169
msgid "stop refreshing"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:171
msgid "start refreshing"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:174
msgid "get your own at:"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:174
msgid "Credits"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:3
msgid "Disk Use"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:10
msgid "File System"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:11
msgid "Mount Point"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:12
msgid "Use"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:13
msgid "Free"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:14
msgid "Used"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:15
msgid "Total"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:6
msgid "Last Heard List of today's"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:6
msgid "callsigns."
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:13
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:13
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:10
msgid "Time"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:14
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:14
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:11
msgid "Mode"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:15
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:15
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:12
msgid "Callsign"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:19
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:19
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:16
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:38
msgid "Name"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:23
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:23
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:25
msgid "DSTAR-ID"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:24
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:24
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:26
msgid "Target"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:25
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:25
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:27
msgid "Source"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:26
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:26
msgid "Dur (s)"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:27
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:27
msgid "Loss"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:28
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:28
msgid "BER"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:6
msgid "Today's local transmissions"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:30
msgid "RSSI (min)"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:31
msgid "RSSI (max)"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:32
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:33
msgid "RSSI (avg)"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/modes.php:3
msgid "Enabled Modes"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:3
msgid "Repeater Info"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:9
msgid "Current Mode"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:13
msgid "D-Star linked to"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:18
msgid "YSF linked to"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:23
msgid "DMR TS1 last linked to"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:24
msgid "DMR TS2 last linked to"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:48
msgid "Location"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:49
msgid "TX-Freq."
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:50
msgid "RX-Freq."
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:54
msgid "YSFGateway"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:59
msgid "DMR CC"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:63
msgid "DMR-Master"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:64
msgid "TS1"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:65
msgid "TS2"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:97
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:104
msgid "enabled"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:99
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:106
msgid "disabled"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/sysinfo_ajax.php:3
msgid "System Info" msgid "System Info"
msgstr "" msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:3 #: include/ysfgatewayinfo.php:5
msgid "Currently TXing"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:21
msgid "Talker Alias"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:28
msgid "TX-Time"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:5
msgid "YSFGateway-Infos" msgid "YSFGateway-Infos"
msgstr "" msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:13 #: include/ysfgatewayinfo.php:13
msgid "YSFGateway Process is running" msgid "YSFGateway Process is running"
msgstr "" msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:16 #: include/ysfgatewayinfo.php:16
msgid "YSFGateway Process is down!" msgid "YSFGateway Process is down!"
msgstr "" msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:25 #: include/ysfgatewayinfo.php:25
msgid "YSFReflectors reported active" msgid "YSFReflectors reported active"
msgstr "" msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:37 #: include/ysfgatewayinfo.php:37
msgid "No." msgid "No."
msgstr "" msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:39 #: include/ysfgatewayinfo.php:38 include/localtx_ajax.php:19
#: include/lh_ajax.php:19 include/txinfo.php:16
msgid "Name"
msgstr ""
#: include/ysfgatewayinfo.php:39
msgid "Description" msgid "Description"
msgstr "" msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:40 #: include/ysfgatewayinfo.php:40
msgid "ID" msgid "ID"
msgstr "" msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:41 #: include/ysfgatewayinfo.php:41
msgid "Connections" msgid "Connections"
msgstr "" msgstr ""
#: include/localtx_ajax.php:6
msgid "Today's local transmissions"
msgstr ""
#: include/localtx_ajax.php:13 include/lh_ajax.php:13 include/txinfo.php:10
msgid "Time"
msgstr ""
#: include/localtx_ajax.php:14 include/lh_ajax.php:14 include/txinfo.php:11
msgid "Mode"
msgstr ""
#: include/localtx_ajax.php:15 include/lh_ajax.php:15 include/txinfo.php:12
msgid "Callsign"
msgstr ""
#: include/localtx_ajax.php:23 include/lh_ajax.php:23 include/txinfo.php:25
msgid "DSTAR-ID"
msgstr ""
#: include/localtx_ajax.php:24 include/lh_ajax.php:24 include/txinfo.php:26
msgid "Target"
msgstr ""
#: include/localtx_ajax.php:25 include/lh_ajax.php:25 include/txinfo.php:27
msgid "Source"
msgstr ""
#: include/localtx_ajax.php:26 include/lh_ajax.php:26
msgid "Dur (s)"
msgstr ""
#: include/localtx_ajax.php:27 include/lh_ajax.php:27
msgid "Loss"
msgstr ""
#: include/localtx_ajax.php:28 include/lh_ajax.php:28
msgid "BER"
msgstr ""
#: include/localtx_ajax.php:30
msgid "RSSI (min)"
msgstr ""
#: include/localtx_ajax.php:31
msgid "RSSI (max)"
msgstr ""
#: include/localtx_ajax.php:32 include/localtx_ajax.php:33
msgid "RSSI (avg)"
msgstr ""
#: include/repeaterinfo.php:3
msgid "Repeater Info"
msgstr ""
#: include/repeaterinfo.php:9
msgid "Current Mode"
msgstr ""
#: include/repeaterinfo.php:13
msgid "D-Star linked to"
msgstr ""
#: include/repeaterinfo.php:18
msgid "YSF linked to"
msgstr ""
#: include/repeaterinfo.php:23
msgid "DMR TS1 last linked to"
msgstr ""
#: include/repeaterinfo.php:24
msgid "DMR TS2 last linked to"
msgstr ""
#: include/repeaterinfo.php:48
msgid "Location"
msgstr ""
#: include/repeaterinfo.php:49
msgid "TX-Freq."
msgstr ""
#: include/repeaterinfo.php:50
msgid "RX-Freq."
msgstr ""
#: include/repeaterinfo.php:54
msgid "YSFGateway"
msgstr ""
#: include/repeaterinfo.php:59
msgid "DMR CC"
msgstr ""
#: include/repeaterinfo.php:63
msgid "DMR-Master"
msgstr ""
#: include/repeaterinfo.php:64
msgid "TS1"
msgstr ""
#: include/repeaterinfo.php:65
msgid "TS2"
msgstr ""
#: include/repeaterinfo.php:97 include/repeaterinfo.php:104
msgid "enabled"
msgstr ""
#: include/repeaterinfo.php:99 include/repeaterinfo.php:106
msgid "disabled"
msgstr ""
#: include/tools.php:73
msgid ""
"You are using an old config.php. Please configure your Dashboard by calling "
"<a href=\"setup.php\">setup.php</a>!"
msgstr ""
#: include/tools.php:79
msgid ""
"You forgot to remove setup.php in root-directory of your dashboard or you "
"forgot to configure it! Please delete the file or configure your Dashboard "
"by calling <a href=\"setup.php\">setup.php</a>!"
msgstr ""
#: include/modes.php:3
msgid "Enabled Modes"
msgstr ""
#: include/lh_ajax.php:6
msgid "Last Heard List of today's"
msgstr ""
#: include/lh_ajax.php:6
msgid "callsigns."
msgstr ""
#: include/disk.php:3
msgid "Disk Use"
msgstr ""
#: include/disk.php:10
msgid "File System"
msgstr ""
#: include/disk.php:11
msgid "Mount Point"
msgstr ""
#: include/disk.php:12
msgid "Use"
msgstr ""
#: include/disk.php:13
msgid "Free"
msgstr ""
#: include/disk.php:14
msgid "Used"
msgstr ""
#: include/disk.php:15
msgid "Total"
msgstr ""
#: include/txinfo.php:3
msgid "Currently TXing"
msgstr ""
#: include/txinfo.php:21
msgid "Talker Alias"
msgstr ""
#: include/txinfo.php:28
msgid "TX-Time"
msgstr ""
#: scripts/rebootmmdvm.php:50 scripts/halt.php:49 scripts/log.php:53
#: scripts/reboot.php:50 index.php:59
msgid "for"
msgstr ""
#: scripts/rebootmmdvm.php:52 scripts/halt.php:51 scripts/log.php:55
#: scripts/reboot.php:52 index.php:61
msgid "Repeater"
msgstr ""
#: scripts/rebootmmdvm.php:54 scripts/halt.php:53 scripts/log.php:57
#: scripts/reboot.php:54 index.php:63
msgid "Hotspot"
msgstr ""
#: scripts/rebootmmdvm.php:58 scripts/reboot.php:58
msgid "Home"
msgstr ""
#: scripts/rebootmmdvm.php:67 scripts/reboot.php:66
msgid "Executing"
msgstr ""
#: scripts/rebootmmdvm.php:67
msgid "Reboot MMDVMHost service in progress"
msgstr ""
#: scripts/rebootmmdvm.php:90 scripts/halt.php:89 scripts/log.php:134
#: scripts/reboot.php:89 index.php:174
msgid "get your own at:"
msgstr ""
#: scripts/rebootmmdvm.php:90 scripts/halt.php:89 scripts/log.php:134
#: scripts/reboot.php:89 index.php:174 credits.php:13 credits.php:17
msgid "Credits"
msgstr ""
#: scripts/halt.php:66
msgid "Halt in progress...bye"
msgstr ""
#: scripts/log.php:61 index.php:100
msgid "View Log"
msgstr ""
#: scripts/log.php:62 index.php:101
msgid "Reboot MMDVMHost"
msgstr ""
#: scripts/log.php:63 index.php:102
msgid "Reboot System"
msgstr ""
#: scripts/log.php:64 index.php:103
msgid "ShutDown System"
msgstr ""
#: scripts/log.php:68 index.php:108
msgid "DMRplus"
msgstr ""
#: scripts/log.php:69 index.php:109
msgid "BrandMeister"
msgstr ""
#: scripts/log.php:76
msgid "Viewing log"
msgstr ""
#: scripts/log.php:82
msgid "Level"
msgstr ""
#: scripts/log.php:83
msgid "Timestamp"
msgstr ""
#: scripts/log.php:84
msgid "Info"
msgstr ""
#: scripts/reboot.php:66
msgid "Reboot system in progress"
msgstr ""
#: ajax.php:214
msgid "Power"
msgstr ""
#: ajax.php:219
msgid "CPU-Temperature"
msgstr ""
#: ajax.php:224
msgid "CPU-Frequency"
msgstr ""
#: ajax.php:228
msgid "System-Load"
msgstr ""
#: ajax.php:229
msgid "CPU-Usage"
msgstr ""
#: ajax.php:230
msgid "Uptime"
msgstr ""
#: ajax.php:231
msgid "Idle"
msgstr ""
#: ajax.php:237
msgid "online"
msgstr ""
#: ajax.php:237
msgid "on battery"
msgstr ""
#: index.php:70
msgid "DMR-Network: "
msgstr ""
#: index.php:159
msgid "Last Reload"
msgstr ""
#: index.php:169
msgid "stop refreshing"
msgstr ""
#: index.php:171
msgid "start refreshing"
msgstr ""
#: credits.php:20
msgid ""
"I think, after all the time this dashboard is developed mainly by myself, it "
"is time to say \"Thank you\" to all those, wo delivered some ideas or code "
"into this project."
msgstr ""
#: credits.php:21
msgid "This are explicit named following persons:"
msgstr ""
#: credits.php:31
msgid "and some others..."
msgstr ""
#: credits.php:33
msgid ""
"Those, who felt forgotten, feel free to commit a change into github of this "
"file."
msgstr ""
#: credits.php:34
msgid "Many thanks to you all!"
msgstr ""
#: credits.php:35
msgid "Best 73, Kim, DG9VH"
msgstr ""
#: setup.php:26
msgid ""
"You forgot to give write-permissions to your webserver-user, see point 3 in "
"<a href=\"linux-step-by-step.md\">linux-step-by-step.md</a>!"
msgstr ""
#: setup.php:41 setup.php:50
msgid "Setup-Process"
msgstr ""
#: setup.php:42
msgid ""
"Your config-file is written in config/config.php, please remove setup.php "
"for security reasons!"
msgstr ""
#: setup.php:43
msgid "Your dashboard is now available."
msgstr ""
#: setup.php:51
msgid "Please give necessary information below"
msgstr ""
#: setup.php:56
msgid "MMDVMHost-Configuration"
msgstr ""
#: setup.php:58
msgid "Path to MMDVMHost-logfile"
msgstr ""
#: setup.php:62
msgid "Path to MMDVM.ini"
msgstr ""
#: setup.php:66
msgid "MMDVM.ini-filename"
msgstr ""
#: setup.php:70
msgid "Path to MMDVMHost-executable"
msgstr ""
#: setup.php:74
msgid "Enable extended lookup (show names)"
msgstr ""
#: setup.php:78
msgid "Show Talker Alias"
msgstr ""
#: setup.php:82
msgid "Path to DMR-ID-Database-File (including filename)"
msgstr ""
#: setup.php:87
msgid "YSFGateway-Configuration"
msgstr ""
#: setup.php:89
msgid "Enable YSFGateway"
msgstr ""
#: setup.php:93
msgid "Path to YSFGateway-logfile"
msgstr ""
#: setup.php:97
msgid "Logfile-prefix"
msgstr ""
#: setup.php:101
msgid "Path to YSFGateway.ini"
msgstr ""
#: setup.php:105
msgid "YSFGateway.ini-filename"
msgstr ""
#: setup.php:109
msgid "Path to YSFHosts.txt"
msgstr ""
#: setup.php:113
msgid "YSFHosts.txt-filename"
msgstr ""
#: setup.php:118
msgid "ircddbgateway-Configuration"
msgstr ""
#: setup.php:120
msgid "Path to Links.log"
msgstr ""
#: setup.php:124
msgid "Name of ircddbgateway-executeable"
msgstr ""
#: setup.php:129
msgid "Global Configuration"
msgstr ""
#: setup.php:188
msgid "Locale"
msgstr ""
#: setup.php:192
msgid "URL to Logo"
msgstr ""
#: setup.php:196
msgid "URL to DMRplus-Logo"
msgstr ""
#: setup.php:200
msgid "URL to BrandMeister-Logo"
msgstr ""
#: setup.php:204
msgid "Refresh page after in seconds"
msgstr ""
#: setup.php:208
msgid "Show System Info"
msgstr ""
#: setup.php:212
msgid "Show Disk Use"
msgstr ""
#: setup.php:216
msgid "Show Repeater Info"
msgstr ""
#: setup.php:220
msgid "Show Enabled Modes"
msgstr ""
#: setup.php:224
msgid "Show Last Heard List of today's"
msgstr ""
#: setup.php:228
msgid "Show Today's local transmissions"
msgstr ""
#: setup.php:232
msgid "Show progressbars"
msgstr ""
#: setup.php:236
msgid "Enable CPU-temperature-warning"
msgstr ""
#: setup.php:240
msgid "Warning temperature"
msgstr ""
#: setup.php:244
msgid "Enable Network-Switching-Function"
msgstr ""
#: setup.php:248
msgid "Username for switching networks:"
msgstr ""
#: setup.php:252
msgid "Password for switching networks:"
msgstr ""
#: setup.php:257
msgid "Enable Management-Functions below"
msgstr ""
#: setup.php:261
msgid "Username for view log:"
msgstr ""
#: setup.php:265
msgid "Password for view log:"
msgstr ""
#: setup.php:269
msgid "Username for halt:"
msgstr ""
#: setup.php:273
msgid "Password for halt:"
msgstr ""
#: setup.php:277
msgid "Username for reboot:"
msgstr ""
#: setup.php:281
msgid "Password for reboot:"
msgstr ""
#: setup.php:285
msgid "Username for restart:"
msgstr ""
#: setup.php:289
msgid "Password for restart:"
msgstr ""
#: setup.php:293
msgid "Reboot MMDVMHost command:"
msgstr ""
#: setup.php:297
msgid "Reboot system command:"
msgstr ""
#: setup.php:301
msgid "Halt system command:"
msgstr ""
#: setup.php:305
msgid "Show Powerstate (online or battery, wiringpi needed)"
msgstr ""
#: setup.php:309
msgid "GPIO pin to monitor:"
msgstr ""
#: setup.php:313
msgid "State that signalizes online-state:"
msgstr ""
#: setup.php:317
msgid "Show link to QRZ.com on Callsigns"
msgstr ""
#: setup.php:321
msgid "RSSI value"
msgstr ""
#: setup.php:323
msgid "minimal"
msgstr ""
#: setup.php:324
msgid "maximal"
msgstr ""
#: setup.php:325
msgid "average"
msgstr ""
#: setup.php:331
msgid "Save configuration"
msgstr ""

View file

@ -6,6 +6,16 @@ $start = $time;
// do not touch this includes!!! Never ever!!! // do not touch this includes!!! Never ever!!!
include "../config/config.php"; include "../config/config.php";
include "../locale/".LOCALE."/settings.php";
$codeset = "UTF8";
putenv('LANG='.LANG_LOCALE.'.'.$codeset);
putenv('LANGUAGE='.LANG_LOCALE.'.'.$codeset);
bind_textdomain_codeset('messages', $codeset);
bindtextdomain('messages', dirname(__FILE__).'/../locale/');
setlocale(LC_ALL, LANG_LOCALE.'.'.$codeset);
textdomain('messages');
include "../include/tools.php"; include "../include/tools.php";
include "../include/functions.php"; include "../include/functions.php";
if (!isset($_SERVER['PHP_AUTH_USER']) && HALTUSER !== "" && HALTPW !== "") { if (!isset($_SERVER['PHP_AUTH_USER']) && HALTUSER !== "" && HALTPW !== "") {
@ -35,11 +45,12 @@ if (!isset($_SERVER['PHP_AUTH_USER']) && HALTUSER !== "" && HALTPW !== "") {
</head> </head>
<body> <body>
<div class="page-header"> <div class="page-header">
<h1><small>MMDVM-Dashboard by DG9VH for <?php <h1><small>MMDVM-Dashboard by DG9VH <?php
echo _("for");
if (getConfigItem("General", "Duplex", $mmdvmconfigs) == "1") { if (getConfigItem("General", "Duplex", $mmdvmconfigs) == "1") {
echo "Repeater"; echo " "._("Repeater");
} else { } else {
echo "Hotspot"; echo " "._("Hotspot");
} }
?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1> ?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1>
<h4>MMDVMHost by G4KLX Version: <?php echo getMMDVMHostVersion() ?></h4> <h4>MMDVMHost by G4KLX Version: <?php echo getMMDVMHostVersion() ?></h4>
@ -52,7 +63,7 @@ checkSetup();
include "../include/sysinfo.php"; include "../include/sysinfo.php";
exec(HALTSYS. ' > /dev/null 2>&1 &'); exec(HALTSYS. ' > /dev/null 2>&1 &');
?> ?>
<div class="alert alert-info" role="alert">Executing <b><?php echo HALTSYS ?></b><br>Halt in progress...bye</div> <div class="alert alert-info" role="alert">Executing <b><?php echo HALTSYS ?></b><br><?php echo _("Halt in progress...bye"); ?></div>
<div class="panel panel-info"> <div class="panel panel-info">
@ -75,7 +86,7 @@ echo '<!--Page generated in '.$total_time.' seconds.-->';
exit; exit;
} }
} }
?> | get your own at: <a href="https://github.com/dg9vh/MMDVMHost-Dashboard">https://github.com/dg9vh/MMDVMHost-Dashboard</a> ?> | <?php echo _("get your own at:");?> <a href="https://github.com/dg9vh/MMDVMHost-Dashboard">https://github.com/dg9vh/MMDVMHost-Dashboard</a> | <a href="../credits.php"><?php echo _("Credits");?></a>
</div> </div>
</body> </body>
</html> </html>

View file

@ -6,6 +6,16 @@ $start = $time;
// do not touch this includes!!! Never ever!!! // do not touch this includes!!! Never ever!!!
include "../config/config.php"; include "../config/config.php";
include "../locale/".LOCALE."/settings.php";
$codeset = "UTF8";
putenv('LANG='.LANG_LOCALE.'.'.$codeset);
putenv('LANGUAGE='.LANG_LOCALE.'.'.$codeset);
bind_textdomain_codeset('messages', $codeset);
bindtextdomain('messages', dirname(__FILE__).'/../locale/');
setlocale(LC_ALL, LANG_LOCALE.'.'.$codeset);
textdomain('messages');
include "../include/tools.php"; include "../include/tools.php";
include "../include/functions.php"; include "../include/functions.php";
include "../include/init.php"; include "../include/init.php";
@ -39,32 +49,39 @@ if (!isset($_SERVER['PHP_AUTH_USER']) && VIEWLOGUSER !== "" && VIEWLOGPW !== "")
</head> </head>
<body> <body>
<div class="page-header"> <div class="page-header">
<h1><small>MMDVM-Dashboard by DG9VH for <?php <h1><small>MMDVM-Dashboard by DG9VH <?php
echo _("for");
if (getConfigItem("General", "Duplex", $mmdvmconfigs) == "1") { if (getConfigItem("General", "Duplex", $mmdvmconfigs) == "1") {
echo "Repeater"; echo " "._("Repeater");
} else { } else {
echo "Hotspot"; echo " "._("Hotspot");
} }
?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1> ?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1>
<h4>MMDVMHost by G4KLX Version: <?php echo getMMDVMHostVersion() ?></h4> <h4>MMDVMHost by G4KLX Version: <?php echo getMMDVMHostVersion() ?></h4>
<button onclick="window.location.href='../index.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;Home</button> <button onclick="window.location.href='./scripts/log.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span>&nbsp;<?php echo _("View Log"); ?></button>
<button onclick="window.location.href='./rebootmmdvm.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-refresh" aria-hidden="true"></span>&nbsp;Reboot MMDVMHost</button> <button onclick="window.location.href='./scripts/rebootmmdvm.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-refresh" aria-hidden="true"></span>&nbsp;<?php echo _("Reboot MMDVMHost"); ?></button>
<button onclick="window.location.href='./reboot.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-repeat" aria-hidden="true"></span>&nbsp;Reboot System</button> <button onclick="window.location.href='./scripts/reboot.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-repeat" aria-hidden="true"></span>&nbsp;<?php echo _("Reboot System"); ?></button>
<button onclick="window.location.href='./halt.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-off" aria-hidden="true"></span>&nbsp;ShutDown System</button> <button onclick="window.location.href='./scripts/halt.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-off" aria-hidden="true"></span>&nbsp;<?php echo _("ShutDown System"); ?></button>
<?php
if (defined("ENABLENETWORKSWITCHING")) {
?>
<button onclick="window.location.href='./scripts/switchnetwork.php?network=DMRPLUS'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span>&nbsp;<?php echo _("DMRplus"); ?></button>
<button onclick="window.location.href='./scripts/switchnetwork.php?network=BRANDMEISTER'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-fire" aria-hidden="true"></span>&nbsp;<?php echo _("BrandMeister"); ?></button>
<?php
}
</script> </script>
</div> </div>
<div class="panel panel-log"> <div class="panel panel-log">
<div class="panel-heading"> <div class="panel-heading">
<span class="label label-info">Viewing log <?php echo $fileName ?></span> <span class="label label-info"><?php echo _("Viewing log"); ?> <?php echo $fileName ?></span>
</div> </div>
<div class="table-responsive"> <div class="table-responsive">
<table id="log" class="table table-condensed table-striped table-hover"> <table id="log" class="table table-condensed table-striped table-hover">
<thead> <thead>
<tr> <tr>
<th>Level</th> <th><?php echo _("Level"); ?></th>
<th>Timestamp</th> <th><?php echo _("Timestamp"); ?></th>
<th>Info</th> <th><?php echo _("Info"); ?></th>
</tr> </tr>
</thead> </thead>
<?php <?php
@ -114,7 +131,7 @@ echo '<!--Page generated in '.$total_time.' seconds.-->';
exit; exit;
} }
} }
?> | get your own at: <a href="https://github.com/dg9vh/MMDVMHost-Dashboard">https://github.com/dg9vh/MMDVMHost-Dashboard</a> ?> | <?php echo _("get your own at:");?> <a href="https://github.com/dg9vh/MMDVMHost-Dashboard">https://github.com/dg9vh/MMDVMHost-Dashboard</a> | <a href="../credits.php"><?php echo _("Credits");?></a>
</div> </div>
<script> <script>
$(document).ready(function(){ $(document).ready(function(){

View file

@ -6,6 +6,16 @@ $start = $time;
// do not touch this includes!!! Never ever!!! // do not touch this includes!!! Never ever!!!
include "../config/config.php"; include "../config/config.php";
include "../locale/".LOCALE."/settings.php";
$codeset = "UTF8";
putenv('LANG='.LANG_LOCALE.'.'.$codeset);
putenv('LANGUAGE='.LANG_LOCALE.'.'.$codeset);
bind_textdomain_codeset('messages', $codeset);
bindtextdomain('messages', dirname(__FILE__).'/../locale/');
setlocale(LC_ALL, LANG_LOCALE.'.'.$codeset);
textdomain('messages');
include "../include/tools.php"; include "../include/tools.php";
include "../include/functions.php"; include "../include/functions.php";
if (!isset($_SERVER['PHP_AUTH_USER']) && REBOOTUSER !== "" && REBOOTPW !== "") { if (!isset($_SERVER['PHP_AUTH_USER']) && REBOOTUSER !== "" && REBOOTPW !== "") {
@ -36,15 +46,16 @@ if (!isset($_SERVER['PHP_AUTH_USER']) && REBOOTUSER !== "" && REBOOTPW !== "") {
</head> </head>
<body> <body>
<div class="page-header"> <div class="page-header">
<h1><small>MMDVM-Dashboard by DG9VH for <?php <h1><small>MMDVM-Dashboard by DG9VH <?php
echo _("for");
if (getConfigItem("General", "Duplex", $mmdvmconfigs) == "1") { if (getConfigItem("General", "Duplex", $mmdvmconfigs) == "1") {
echo "Repeater"; echo " "._("Repeater");
} else { } else {
echo "Hotspot"; echo " "._("Hotspot");
} }
?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1> ?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1>
<h4>MMDVMHost by G4KLX Version: <?php echo getMMDVMHostVersion() ?></h4> <h4>MMDVMHost by G4KLX Version: <?php echo getMMDVMHostVersion() ?></h4>
<button onclick="window.location.href='../index.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;Home</button> <button onclick="window.location.href='../index.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;<?php echo _("Home"); ?></button>
</script> </script>
</div> </div>
@ -52,7 +63,7 @@ if (!isset($_SERVER['PHP_AUTH_USER']) && REBOOTUSER !== "" && REBOOTPW !== "") {
checkSetup(); checkSetup();
exec('sleep 5s && '. REBOOTSYS . ' > /dev/null 2>&1 &'); exec('sleep 5s && '. REBOOTSYS . ' > /dev/null 2>&1 &');
?> ?>
<div class="alert alert-info" role="alert">Executing <b><?php echo 'sleep 5s && '. REBOOTSYS . ' > /dev/null 2>&1 &'?></b><br>Reboot system in progress</div> <div class="alert alert-info" role="alert"><?php echo _("Executing"); ?> <b><?php echo 'sleep 5s && '. REBOOTSYS . ' > /dev/null 2>&1 &'?></b><br><?php echo _("Reboot system in progress"); ?></div>
<div class="panel panel-info"> <div class="panel panel-info">
@ -75,7 +86,7 @@ echo '<!--Page generated in '.$total_time.' seconds.-->';
exit; exit;
} }
} }
?> | get your own at: <a href="https://github.com/dg9vh/MMDVMHost-Dashboard">https://github.com/dg9vh/MMDVMHost-Dashboard</a> ?> | <?php echo _("get your own at:");?> <a href="https://github.com/dg9vh/MMDVMHost-Dashboard">https://github.com/dg9vh/MMDVMHost-Dashboard</a> | <a href="../credits.php"><?php echo _("Credits");?></a>
</div> </div>
</body> </body>
</html> </html>

View file

@ -7,6 +7,16 @@ $start = $time;
// do not touch this includes!!! Never ever!!! // do not touch this includes!!! Never ever!!!
include "../config/config.php"; include "../config/config.php";
include "../locale/".LOCALE."/settings.php";
$codeset = "UTF8";
putenv('LANG='.LANG_LOCALE.'.'.$codeset);
putenv('LANGUAGE='.LANG_LOCALE.'.'.$codeset);
bind_textdomain_codeset('messages', $codeset);
bindtextdomain('messages', dirname(__FILE__).'/../locale/');
setlocale(LC_ALL, LANG_LOCALE.'.'.$codeset);
textdomain('messages');
include "../include/tools.php"; include "../include/tools.php";
include "../include/functions.php"; include "../include/functions.php";
if (!isset($_SERVER['PHP_AUTH_USER']) && RESTARTUSER !== "" && RESTARTPW !== "") { if (!isset($_SERVER['PHP_AUTH_USER']) && RESTARTUSER !== "" && RESTARTPW !== "") {
@ -36,15 +46,16 @@ if (!isset($_SERVER['PHP_AUTH_USER']) && RESTARTUSER !== "" && RESTARTPW !== "")
</head> </head>
<body> <body>
<div class="page-header"> <div class="page-header">
<h1><small>MMDVM-Dashboard by DG9VH for <?php <h1><small>MMDVM-Dashboard by DG9VH <?php
echo _("for");
if (getConfigItem("General", "Duplex", $mmdvmconfigs) == "1") { if (getConfigItem("General", "Duplex", $mmdvmconfigs) == "1") {
echo "Repeater"; echo " "._("Repeater");
} else { } else {
echo "Hotspot"; echo " "._("Hotspot");
} }
?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1> ?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1>
<h4>MMDVMHost by G4KLX Version: <?php echo getMMDVMHostVersion() ?></h4> <h4>MMDVMHost by G4KLX Version: <?php echo getMMDVMHostVersion() ?></h4>
<button onclick="window.location.href='../index.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;Home</button> <button onclick="window.location.href='../index.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;<?php echo _("Home"); ?></button>
</script> </script>
</div> </div>
@ -53,7 +64,7 @@ checkSetup();
include "../include/sysinfo.php"; include "../include/sysinfo.php";
exec( REBOOTMMDVM ); exec( REBOOTMMDVM );
?> ?>
<div class="alert alert-info" role="alert">Executing <b><?php echo REBOOTMMDVM ?></b><br>Reboot MMDVMHost service in progress</div> <div class="alert alert-info" role="alert"><?php echo _("Executing"); ?> <b><?php echo REBOOTMMDVM ?></b><br><?php echo _("Reboot MMDVMHost service in progress"); ?></div>
<div class="panel panel-info"> <div class="panel panel-info">
@ -76,7 +87,7 @@ echo '<!--Page generated in '.$total_time.' seconds.-->';
exit; exit;
} }
} }
?> | get your own at: <a href="https://github.com/dg9vh/MMDVMHost-Dashboard">https://github.com/dg9vh/MMDVMHost-Dashboard</a> ?> | <?php echo _("get your own at:");?> <a href="https://github.com/dg9vh/MMDVMHost-Dashboard">https://github.com/dg9vh/MMDVMHost-Dashboard</a> | <a href="../credits.php"><?php echo _("Credits");?></a>
</div> </div>
</body> </body>
</html> </html>

131
setup.php
View file

@ -23,7 +23,7 @@ include "include/tools.php";
if (!file_exists('./config')) { if (!file_exists('./config')) {
if (!mkdir('./config', 0777, true)) { if (!mkdir('./config', 0777, true)) {
?> ?>
<div class="alert alert-danger" role="alert">You forgot to give write-permissions to your webserver-user, see point 3 in <a href="linux-step-by-step.md">linux-step-by-step.md</a>!</div> <div class="alert alert-danger" role="alert"><?php echo _("You forgot to give write-permissions to your webserver-user, see point 3 in <a href=\"linux-step-by-step.md\">linux-step-by-step.md</a>!"); ?></div>
<?php <?php
} }
@ -38,99 +38,99 @@ include "include/tools.php";
fclose($configfile); fclose($configfile);
?> ?>
<div class="page-header"> <div class="page-header">
<h1><small>MMDVM-Dashboard by DG9VH</small> Setup-Process</h1> <h1><small>MMDVM-Dashboard by DG9VH</small> <?php echo _("Setup-Process"); ?></h1>
<div class="alert alert-success" role="alert">Your config-file is written in config/config.php, please remove setup.php for security reasons!</div> <div class="alert alert-success" role="alert"><?php echo _("Your config-file is written in config/config.php, please remove setup.php for security reasons!"); ?></div>
<p><a href="index.php">Your dashboard is now available.</a></p> <p><a href="index.php"><?php echo _("Your dashboard is now available."); ?></a></p>
</div> </div>
<?php <?php
} }
} else { } else {
?> ?>
<div class="page-header"> <div class="page-header">
<h1><small>MMDVM-Dashboard by DG9VH</small> Setup-Process</h1> <h1><small>MMDVM-Dashboard by DG9VH</small> <?php echo _("Setup-Process"); ?></h1>
<h4>Please give necessary information below</h4> <h4><?php echo _("Please give necessary information below"); ?></h4>
</div> </div>
<form id="config" action="setup.php" method="get"> <form id="config" action="setup.php" method="get">
<input type="hidden" name="cmd" value="writeconfig"> <input type="hidden" name="cmd" value="writeconfig">
<div class="container"> <div class="container">
<h2>MMDVMHost-Configuration</h2> <h2><?php echo _("MMDVMHost-Configuration"); ?></h2>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="MMDVMLOGPATH" style="width: 300px">Path to MMDVMHost-logfile</span> <span class="input-group-addon" id="MMDVMLOGPATH" style="width: 300px"><?php echo _("Path to MMDVMHost-logfile"); ?></span>
<input type="text" value="<?php echo constant("MMDVMLOGPATH") ?>" name="MMDVMLOGPATH" class="form-control" placeholder="/var/log/mmdvm/" aria-describedby="MMDVMLOGPATH" required data-fv-notempty-message="Value is required"> <input type="text" value="<?php echo constant("MMDVMLOGPATH") ?>" name="MMDVMLOGPATH" class="form-control" placeholder="/var/log/mmdvm/" aria-describedby="MMDVMLOGPATH" required data-fv-notempty-message="Value is required">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="MMDVMINIPATH" style="width: 300px">Path to MMDVM.ini</span> <span class="input-group-addon" id="MMDVMINIPATH" style="width: 300px"><?php echo _("Path to MMDVM.ini"); ?></span>
<input type="text" value="<?php echo constant("MMDVMINIPATH") ?>" name="MMDVMINIPATH" class="form-control" placeholder="/etc/mmdvm/" aria-describedby="MMDVMINIPATH" required data-fv-notempty-message="Value is required"> <input type="text" value="<?php echo constant("MMDVMINIPATH") ?>" name="MMDVMINIPATH" class="form-control" placeholder="/etc/mmdvm/" aria-describedby="MMDVMINIPATH" required data-fv-notempty-message="Value is required">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="MMDVMINIFILENAME" style="width: 300px">MMDVM.ini-filename</span> <span class="input-group-addon" id="MMDVMINIFILENAME" style="width: 300px"><?php echo _("MMDVM.ini-filename"); ?></span>
<input type="text" value="<?php echo constant("MMDVMINIFILENAME") ?>" name="MMDVMINIFILENAME" class="form-control" placeholder="MMDVM.ini" aria-describedby="MMDVMINIFILENAME" required data-fv-notempty-message="Value is required"> <input type="text" value="<?php echo constant("MMDVMINIFILENAME") ?>" name="MMDVMINIFILENAME" class="form-control" placeholder="MMDVM.ini" aria-describedby="MMDVMINIFILENAME" required data-fv-notempty-message="Value is required">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="MMDVMHOSTPATH" style="width: 300px">Path to MMDVMHost-executable</span> <span class="input-group-addon" id="MMDVMHOSTPATH" style="width: 300px"><?php echo _("Path to MMDVMHost-executable"); ?></span>
<input type="text" value="<?php echo constant("MMDVMHOSTPATH") ?>" name="MMDVMHOSTPATH" class="form-control" placeholder="/usr/local/bin/" aria-describedby="MMDVMHOSTPATH" required data-fv-notempty-message="Value is required"> <input type="text" value="<?php echo constant("MMDVMHOSTPATH") ?>" name="MMDVMHOSTPATH" class="form-control" placeholder="/usr/local/bin/" aria-describedby="MMDVMHOSTPATH" required data-fv-notempty-message="Value is required">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="ENABLEXTDLOOKUP" style="width: 300px">Enable extended lookup (show names)</span> <span class="input-group-addon" id="ENABLEXTDLOOKUP" style="width: 300px"><?php echo _("Enable extended lookup (show names)"); ?></span>
<div class="panel-body"><input type="checkbox" name="ENABLEXTDLOOKUP" <?php if (defined("ENABLEXTDLOOKUP")) echo "checked" ?>></div> <div class="panel-body"><input type="checkbox" name="ENABLEXTDLOOKUP" <?php if (defined("ENABLEXTDLOOKUP")) echo "checked" ?>></div>
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="TALKERALIAS" style="width: 300px">Show Talker Alias</span> <span class="input-group-addon" id="TALKERALIAS" style="width: 300px"><?php echo _("Show Talker Alias"); ?></span>
<div class="panel-body"><input type="checkbox" name="TALKERALIAS" <?php if (defined("TALKERALIAS")) echo "checked" ?>></div> <div class="panel-body"><input type="checkbox" name="TALKERALIAS" <?php if (defined("TALKERALIAS")) echo "checked" ?>></div>
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="DMRIDDATPATH" style="width: 300px">Path to DMR-ID-Database-File (including filename)</span> <span class="input-group-addon" id="DMRIDDATPATH" style="width: 300px"><?php echo _("Path to DMR-ID-Database-File (including filename)"); ?></span>
<input type="text" value="<?php echo constant("DMRIDDATPATH") ?>" name="DMRIDDATPATH" class="form-control" placeholder="/var/mmdvm/DMRIDs.dat" aria-describedby="DMRIDDATPATH"> <input type="text" value="<?php echo constant("DMRIDDATPATH") ?>" name="DMRIDDATPATH" class="form-control" placeholder="/var/mmdvm/DMRIDs.dat" aria-describedby="DMRIDDATPATH">
</div> </div>
</div> </div>
<div class="container"> <div class="container">
<h2>YSFGateway-Configuration</h2> <h2><?php echo _("YSFGateway-Configuration"); ?></h2>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="ENABLEYSFGATEWAY" style="width: 300px">Enable YSFGateway</span> <span class="input-group-addon" id="ENABLEYSFGATEWAY" style="width: 300px"><?php echo _("Enable YSFGateway"); ?></span>
<div class="panel-body"><input type="checkbox" name="ENABLEYSFGATEWAY" <?php if (defined("ENABLEYSFGATEWAY")) echo "checked" ?>></div> <div class="panel-body"><input type="checkbox" name="ENABLEYSFGATEWAY" <?php if (defined("ENABLEYSFGATEWAY")) echo "checked" ?>></div>
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="YSFGATEWAYLOGPATH" style="width: 300px">Path to YSFGateway-logfile</span> <span class="input-group-addon" id="YSFGATEWAYLOGPATH" style="width: 300px"><?php echo _("Path to YSFGateway-logfile"); ?></span>
<input type="text" value="<?php echo constant("YSFGATEWAYLOGPATH") ?>" name="YSFGATEWAYLOGPATH" class="form-control" placeholder="/var/log/YSFGateway/" aria-describedby="YSFGATEWAYLOGPATH"> <input type="text" value="<?php echo constant("YSFGATEWAYLOGPATH") ?>" name="YSFGATEWAYLOGPATH" class="form-control" placeholder="/var/log/YSFGateway/" aria-describedby="YSFGATEWAYLOGPATH">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="YSFGATEWAYLOGPREFIX" style="width: 300px">Logfile-prefix</span> <span class="input-group-addon" id="YSFGATEWAYLOGPREFIX" style="width: 300px"><?php echo _("Logfile-prefix"); ?></span>
<input type="text" value="<?php echo constant("YSFGATEWAYLOGPREFIX") ?>" name="YSFGATEWAYLOGPREFIX" class="form-control" placeholder="YSFGateway" aria-describedby="YSFGATEWAYLOGPREFIX"> <input type="text" value="<?php echo constant("YSFGATEWAYLOGPREFIX") ?>" name="YSFGATEWAYLOGPREFIX" class="form-control" placeholder="YSFGateway" aria-describedby="YSFGATEWAYLOGPREFIX">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="YSFGATEWAYINIPATH" style="width: 300px">Path to YSFGateway.ini</span> <span class="input-group-addon" id="YSFGATEWAYINIPATH" style="width: 300px"><?php echo _("Path to YSFGateway.ini"); ?></span>
<input type="text" value="<?php echo constant("YSFGATEWAYINIPATH") ?>" name="YSFGATEWAYINIPATH" class="form-control" placeholder="/etc/YSFGateway/" aria-describedby="YSFGATEWAYINIPATH"> <input type="text" value="<?php echo constant("YSFGATEWAYINIPATH") ?>" name="YSFGATEWAYINIPATH" class="form-control" placeholder="/etc/YSFGateway/" aria-describedby="YSFGATEWAYINIPATH">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="YSFGATEWAYINIFILENAME" style="width: 300px">YSFGateway.ini-filename</span> <span class="input-group-addon" id="YSFGATEWAYINIFILENAME" style="width: 300px"><?php echo _("YSFGateway.ini-filename"); ?></span>
<input type="text" value="<?php echo constant("YSFGATEWAYINIFILENAME") ?>" name="YSFGATEWAYINIFILENAME" class="form-control" placeholder="YSFGateway.ini" aria-describedby="YSFGATEWAYINIFILENAME"> <input type="text" value="<?php echo constant("YSFGATEWAYINIFILENAME") ?>" name="YSFGATEWAYINIFILENAME" class="form-control" placeholder="YSFGateway.ini" aria-describedby="YSFGATEWAYINIFILENAME">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="YSFHOSTSPATH" style="width: 300px">Path to YSFHosts.txt</span> <span class="input-group-addon" id="YSFHOSTSPATH" style="width: 300px"><?php echo _("Path to YSFHosts.txt"); ?></span>
<input type="text" value="<?php echo constant("YSFHOSTSPATH") ?>" name="YSFHOSTSPATH" class="form-control" placeholder="/etc/YSFGateway/" aria-describedby="YSFHOSTSPATH"> <input type="text" value="<?php echo constant("YSFHOSTSPATH") ?>" name="YSFHOSTSPATH" class="form-control" placeholder="/etc/YSFGateway/" aria-describedby="YSFHOSTSPATH">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="YSFHOSTSFILENAME" style="width: 300px">YSFHosts.txt-filename</span> <span class="input-group-addon" id="YSFHOSTSFILENAME" style="width: 300px"><?php echo _("YSFHosts.txt-filename"); ?></span>
<input type="text" value="<?php echo constant("YSFHOSTSFILENAME") ?>" name="YSFHOSTSFILENAME" class="form-control" placeholder="YSFHosts.txt" aria-describedby="YSFHOSTSFILENAME"> <input type="text" value="<?php echo constant("YSFHOSTSFILENAME") ?>" name="YSFHOSTSFILENAME" class="form-control" placeholder="YSFHosts.txt" aria-describedby="YSFHOSTSFILENAME">
</div> </div>
</div> </div>
<div class="container"> <div class="container">
<h2>ircddbgateway-Configuration</h2> <h2><?php echo _("ircddbgateway-Configuration"); ?></h2>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="LINKLOGPATH" style="width: 300px">Path to Links.log</span> <span class="input-group-addon" id="LINKLOGPATH" style="width: 300px"><?php echo _("Path to Links.log"); ?></span>
<input type="text" value="<?php echo constant("LINKLOGPATH") ?>" name="LINKLOGPATH" class="form-control" placeholder="/var/log/" aria-describedby="LINKLOGPATH"> <input type="text" value="<?php echo constant("LINKLOGPATH") ?>" name="LINKLOGPATH" class="form-control" placeholder="/var/log/" aria-describedby="LINKLOGPATH">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="IRCDDBGATEWAY" style="width: 300px">Name of ircddbgateway-executeable</span> <span class="input-group-addon" id="IRCDDBGATEWAY" style="width: 300px"><?php echo _("Name of ircddbgateway-executeable"); ?></span>
<input type="text" value="<?php echo constant("IRCDDBGATEWAY") ?>" name="IRCDDBGATEWAY" class="form-control" placeholder="ircddbgatewayd" aria-describedby="IRCDDBGATEWAY"> <input type="text" value="<?php echo constant("IRCDDBGATEWAY") ?>" name="IRCDDBGATEWAY" class="form-control" placeholder="ircddbgatewayd" aria-describedby="IRCDDBGATEWAY">
</div> </div>
</div> </div>
<div class="container"> <div class="container">
<h2>Global Configuration</h2> <h2><?php echo _("Global Configuration"); ?></h2>
<?php <?php
function get_tz_options($selectedzone, $label, $desc = '') { function get_tz_options($selectedzone, $label, $desc = '') {
echo '<div class="input-group">'; echo '<div class="input-group">';
echo '<span class="input-group-addon" id="TIMEZONE" style="width: 300px">Timezone</span>'; echo '<span class="input-group-addon" id="TIMEZONE" style="width: 300px"><?php echo _("Timezone"); ?></span>';
echo '<div class="input"><select name="TIMEZONE">'; echo '<div class="input"><select name="TIMEZONE">';
function timezonechoice($selectedzone) { function timezonechoice($selectedzone) {
$all = timezone_identifiers_list(); $all = timezone_identifiers_list();
@ -148,7 +148,6 @@ function get_tz_options($selectedzone, $label, $desc = '') {
$structure = ''; $structure = '';
foreach($zonen AS $zone) { foreach($zonen AS $zone) {
extract($zone); extract($zone);
// if($continent == 'Africa' || $continent == 'America' || $continent == 'Antarctica' || $continent == 'Arctic' || $continent == 'Asia' || $continent == 'Atlantic' || $continent == 'Australia' || $continent == 'Europe' || $continent == 'Indian' || $continent == 'Pacific') {
if(!isset($selectcontinent)) { if(!isset($selectcontinent)) {
$structure .= '<optgroup label="'.$continent.'">'; // continent $structure .= '<optgroup label="'.$continent.'">'; // continent
} elseif($selectcontinent != $continent) { } elseif($selectcontinent != $continent) {
@ -186,150 +185,150 @@ function get_tz_options($selectedzone, $label, $desc = '') {
get_tz_options(constant("TIMEZONE"), "Timezone", ''); get_tz_options(constant("TIMEZONE"), "Timezone", '');
?> ?>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="LOCALE" style="width: 300px">Locale</span> <span class="input-group-addon" id="LOCALE" style="width: 300px"><?php echo _("Locale"); ?></span>
<input type="text" value="<?php echo constant("LOCALE") ?>" name="LOCALE" class="form-control" placeholder="en_GB" aria-describedby="LOCALE"> <input type="text" value="<?php echo constant("LOCALE") ?>" name="LOCALE" class="form-control" placeholder="en_GB" aria-describedby="LOCALE">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="LOGO" style="width: 300px">URL to Logo</span> <span class="input-group-addon" id="LOGO" style="width: 300px"><?php echo _("URL to Logo"); ?></span>
<input type="text" value="<?php echo constant("LOGO") ?>" name="LOGO" class="form-control" placeholder="http://your-logo" aria-describedby="LOGO"> <input type="text" value="<?php echo constant("LOGO") ?>" name="LOGO" class="form-control" placeholder="http://your-logo" aria-describedby="LOGO">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="DMRPLUSLOGO" style="width: 300px">URL to DMRplus-Logo</span> <span class="input-group-addon" id="DMRPLUSLOGO" style="width: 300px"><?php echo _("URL to DMRplus-Logo"); ?></span>
<input type="text" value="<?php echo constant("DMRPLUSLOGO") ?>" name="DMRPLUSLOGO" class="form-control" placeholder="http://your-logo" aria-describedby="DMRPLUSLOGO"> <input type="text" value="<?php echo constant("DMRPLUSLOGO") ?>" name="DMRPLUSLOGO" class="form-control" placeholder="http://your-logo" aria-describedby="DMRPLUSLOGO">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="BRANDMEISTERLOGO" style="width: 300px">URL to BrandMeister-Logo</span> <span class="input-group-addon" id="BRANDMEISTERLOGO" style="width: 300px"><?php echo _("URL to BrandMeister-Logo"); ?></span>
<input type="text" value="<?php echo constant("BRANDMEISTERLOGO") ?>" name="BRANDMEISTERLOGO" class="form-control" placeholder="http://your-logo" aria-describedby="BRANDMEISTERLOGO"> <input type="text" value="<?php echo constant("BRANDMEISTERLOGO") ?>" name="BRANDMEISTERLOGO" class="form-control" placeholder="http://your-logo" aria-describedby="BRANDMEISTERLOGO">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="REFRESHAFTER" style="width: 300px">Refresh page after in seconds</span> <span class="input-group-addon" id="REFRESHAFTER" style="width: 300px"><?php echo _("Refresh page after in seconds"); ?></span>
<input type="text" value="<?php echo constant("REFRESHAFTER") ?>" name="REFRESHAFTER" class="form-control" placeholder="60" aria-describedby="REFRESHAFTER" required data-fv-notempty-message="Value is required"> <input type="text" value="<?php echo constant("REFRESHAFTER") ?>" name="REFRESHAFTER" class="form-control" placeholder="60" aria-describedby="REFRESHAFTER" required data-fv-notempty-message="Value is required">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="SHOWCPU" style="width: 300px">Show System Info</span> <span class="input-group-addon" id="SHOWCPU" style="width: 300px"><?php echo _("Show System Info"); ?></span>
<div class="panel-body"><input type="checkbox" name="SHOWCPU" <?php if (defined("SHOWCPU")) echo "checked" ?>></div> <div class="panel-body"><input type="checkbox" name="SHOWCPU" <?php if (defined("SHOWCPU")) echo "checked" ?>></div>
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="SHOWDISK" style="width: 300px">Show Disk Use</span> <span class="input-group-addon" id="SHOWDISK" style="width: 300px"><?php echo _("Show Disk Use"); ?></span>
<div class="panel-body"><input type="checkbox" name="SHOWDISK" <?php if (defined("SHOWDISK")) echo "checked" ?>></div> <div class="panel-body"><input type="checkbox" name="SHOWDISK" <?php if (defined("SHOWDISK")) echo "checked" ?>></div>
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="SHOWRPTINFO" style="width: 300px">Show Repeater Info</span> <span class="input-group-addon" id="SHOWRPTINFO" style="width: 300px"><?php echo _("Show Repeater Info"); ?></span>
<div class="panel-body"><input type="checkbox" name="SHOWRPTINFO" <?php if (defined("SHOWRPTINFO")) echo "checked" ?>></div> <div class="panel-body"><input type="checkbox" name="SHOWRPTINFO" <?php if (defined("SHOWRPTINFO")) echo "checked" ?>></div>
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="SHOWMODES" style="width: 300px">Show Enabled Modes</span> <span class="input-group-addon" id="SHOWMODES" style="width: 300px"><?php echo _("Show Enabled Modes"); ?></span>
<div class="panel-body"><input type="checkbox" name="SHOWMODES" <?php if (defined("SHOWMODES")) echo "checked" ?>></div> <div class="panel-body"><input type="checkbox" name="SHOWMODES" <?php if (defined("SHOWMODES")) echo "checked" ?>></div>
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="SHOWLH" style="width: 300px">Show Last Heard List of today's</span> <span class="input-group-addon" id="SHOWLH" style="width: 300px"><?php echo _("Show Last Heard List of today's"); ?></span>
<div class="panel-body"><input type="checkbox" name="SHOWLH" <?php if (defined("SHOWLH")) echo "checked" ?>></div> <div class="panel-body"><input type="checkbox" name="SHOWLH" <?php if (defined("SHOWLH")) echo "checked" ?>></div>
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="SHOWLOCALTX" style="width: 300px">Show Today's local transmissions</span> <span class="input-group-addon" id="SHOWLOCALTX" style="width: 300px"><?php echo _("Show Today's local transmissions"); ?></span>
<div class="panel-body"><input type="checkbox" name="SHOWLOCALTX" <?php if (defined("SHOWLOCALTX")) echo "checked" ?>></div> <div class="panel-body"><input type="checkbox" name="SHOWLOCALTX" <?php if (defined("SHOWLOCALTX")) echo "checked" ?>></div>
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="SHOWPROGRESSBARS" style="width: 300px">Show progressbars</span> <span class="input-group-addon" id="SHOWPROGRESSBARS" style="width: 300px"><?php echo _("Show progressbars"); ?></span>
<div class="panel-body"><input type="checkbox" name="SHOWPROGRESSBARS" <?php if (defined("SHOWPROGRESSBARS")) echo "checked" ?>></div> <div class="panel-body"><input type="checkbox" name="SHOWPROGRESSBARS" <?php if (defined("SHOWPROGRESSBARS")) echo "checked" ?>></div>
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="TEMPERATUREALERT" style="width: 300px">Enable CPU-temperature-warning</span> <span class="input-group-addon" id="TEMPERATUREALERT" style="width: 300px"><?php echo _("Enable CPU-temperature-warning"); ?></span>
<div class="panel-body"><input type="checkbox" name="TEMPERATUREALERT" <?php if (defined("TEMPERATUREALERT")) echo "checked" ?>></div> <div class="panel-body"><input type="checkbox" name="TEMPERATUREALERT" <?php if (defined("TEMPERATUREALERT")) echo "checked" ?>></div>
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="TEMPERATUREHIGHLEVEL" style="width: 300px">Warning temperature</span> <span class="input-group-addon" id="TEMPERATUREHIGHLEVEL" style="width: 300px"><?php echo _("Warning temperature"); ?></span>
<input type="text" value="<?php echo constant("TEMPERATUREHIGHLEVEL") ?>" name="TEMPERATUREHIGHLEVEL" class="form-control" placeholder="60" aria-describedby="TEMPERATUREHIGHLEVEL" required data-fv-notempty-message="Value is required"> <input type="text" value="<?php echo constant("TEMPERATUREHIGHLEVEL") ?>" name="TEMPERATUREHIGHLEVEL" class="form-control" placeholder="60" aria-describedby="TEMPERATUREHIGHLEVEL" required data-fv-notempty-message="Value is required">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="ENABLENETWORKSWITCHING" style="width: 300px">Enable Network-Switching-Function</span> <span class="input-group-addon" id="ENABLENETWORKSWITCHING" style="width: 300px"><?php echo _("Enable Network-Switching-Function"); ?></span>
<div class="panel-body"><input type="checkbox" name="ENABLENETWORKSWITCHING" <?php if (defined("ENABLENETWORKSWITCHING")) echo "checked" ?>></div> <div class="panel-body"><input type="checkbox" name="ENABLENETWORKSWITCHING" <?php if (defined("ENABLENETWORKSWITCHING")) echo "checked" ?>></div>
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="SWITCHNETWORKUSER" style="width: 300px">Username for switching networks:</span> <span class="input-group-addon" id="SWITCHNETWORKUSER" style="width: 300px"><?php echo _("Username for switching networks:"); ?></span>
<input type="text" value="<?php echo constant("SWITCHNETWORKUSER") ?>" name="SWITCHNETWORKUSER" class="form-control" placeholder="username" aria-describedby="SWITCHNETWORKUSER"> <input type="text" value="<?php echo constant("SWITCHNETWORKUSER") ?>" name="SWITCHNETWORKUSER" class="form-control" placeholder="username" aria-describedby="SWITCHNETWORKUSER">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="SWITCHNETWORKPW" style="width: 300px">Password for switching networks:</span> <span class="input-group-addon" id="SWITCHNETWORKPW" style="width: 300px"><?php echo _("Password for switching networks:"); ?></span>
<input type="text" value="<?php echo constant("SWITCHNETWORKPW") ?>" name="SWITCHNETWORKPW" class="form-control" placeholder="password" aria-describedby="SWITCHNETWORKPW"> <input type="text" value="<?php echo constant("SWITCHNETWORKPW") ?>" name="SWITCHNETWORKPW" class="form-control" placeholder="password" aria-describedby="SWITCHNETWORKPW">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="ENABLEMANAGEMENT" style="width: 300px">Enable Management-Functions below</span> <span class="input-group-addon" id="ENABLEMANAGEMENT" style="width: 300px"><?php echo _("Enable Management-Functions below"); ?></span>
<div class="panel-body"><input type="checkbox" name="ENABLEMANAGEMENT" <?php if (constant("ENABLEMANAGEMENT")) echo "checked" ?>></div> <div class="panel-body"><input type="checkbox" name="ENABLEMANAGEMENT" <?php if (constant("ENABLEMANAGEMENT")) echo "checked" ?>></div>
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="VIEWLOGUSER" style="width: 300px">Username for view log:</span> <span class="input-group-addon" id="VIEWLOGUSER" style="width: 300px"><?php echo _("Username for view log:"); ?></span>
<input type="text" value="<?php echo constant("VIEWLOGUSER") ?>" name="VIEWLOGUSER" class="form-control" placeholder="username" aria-describedby="VIEWLOGUSER"> <input type="text" value="<?php echo constant("VIEWLOGUSER") ?>" name="VIEWLOGUSER" class="form-control" placeholder="username" aria-describedby="VIEWLOGUSER">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="VIEWLOGPW" style="width: 300px">Password for view log:</span> <span class="input-group-addon" id="VIEWLOGPW" style="width: 300px"><?php echo _("Password for view log:"); ?></span>
<input type="text" value="<?php echo constant("VIEWLOGPW") ?>" name="VIEWLOGPW" class="form-control" placeholder="password" aria-describedby="VIEWLOGPW"> <input type="text" value="<?php echo constant("VIEWLOGPW") ?>" name="VIEWLOGPW" class="form-control" placeholder="password" aria-describedby="VIEWLOGPW">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="HALTUSER" style="width: 300px">Username for halt:</span> <span class="input-group-addon" id="HALTUSER" style="width: 300px"><?php echo _("Username for halt:"); ?></span>
<input type="text" value="<?php echo constant("HALTUSER") ?>" name="HALTUSER" class="form-control" placeholder="username" aria-describedby="HALTUSER"> <input type="text" value="<?php echo constant("HALTUSER") ?>" name="HALTUSER" class="form-control" placeholder="username" aria-describedby="HALTUSER">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="HALTPW" style="width: 300px">Password for halt:</span> <span class="input-group-addon" id="HALTPW" style="width: 300px"><?php echo _("Password for halt:"); ?></span>
<input type="text" value="<?php echo constant("HALTPW") ?>" name="HALTPW" class="form-control" placeholder="password" aria-describedby="HALTPW"> <input type="text" value="<?php echo constant("HALTPW") ?>" name="HALTPW" class="form-control" placeholder="password" aria-describedby="HALTPW">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="REBOOTUSER" style="width: 300px">Username for reboot:</span> <span class="input-group-addon" id="REBOOTUSER" style="width: 300px"><?php echo _("Username for reboot:"); ?></span>
<input type="text" value="<?php echo constant("REBOOTUSER") ?>" name="REBOOTUSER" class="form-control" placeholder="username" aria-describedby="REBOOTUSER"> <input type="text" value="<?php echo constant("REBOOTUSER") ?>" name="REBOOTUSER" class="form-control" placeholder="username" aria-describedby="REBOOTUSER">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="REBOOTPW" style="width: 300px">Password for reboot:</span> <span class="input-group-addon" id="REBOOTPW" style="width: 300px"><?php echo _("Password for reboot:"); ?></span>
<input type="text" value="<?php echo constant("REBOOTPW") ?>" name="REBOOTPW" class="form-control" placeholder="password" aria-describedby="REBOOTPW"> <input type="text" value="<?php echo constant("REBOOTPW") ?>" name="REBOOTPW" class="form-control" placeholder="password" aria-describedby="REBOOTPW">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="RESTARTUSER" style="width: 300px">Username for restart:</span> <span class="input-group-addon" id="RESTARTUSER" style="width: 300px"><?php echo _("Username for restart:"); ?></span>
<input type="text" value="<?php echo constant("RESTARTUSER") ?>" name="RESTARTUSER" class="form-control" placeholder="username" aria-describedby="RESTARTUSER"> <input type="text" value="<?php echo constant("RESTARTUSER") ?>" name="RESTARTUSER" class="form-control" placeholder="username" aria-describedby="RESTARTUSER">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="RESTARTPW" style="width: 300px">Password for restart:</span> <span class="input-group-addon" id="RESTARTPW" style="width: 300px"><?php echo _("Password for restart:"); ?></span>
<input type="text" value="<?php echo constant("RESTARTPW") ?>" name="RESTARTPW" class="form-control" placeholder="password" aria-describedby="RESTARTPW"> <input type="text" value="<?php echo constant("RESTARTPW") ?>" name="RESTARTPW" class="form-control" placeholder="password" aria-describedby="RESTARTPW">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="REBOOTMMDVM" style="width: 300px">Reboot MMDVMHost command:</span> <span class="input-group-addon" id="REBOOTMMDVM" style="width: 300px"><?php echo _("Reboot MMDVMHost command:"); ?></span>
<input type="text" value="<?php echo constant("REBOOTMMDVM") ?>" name="REBOOTMMDVM" class="form-control" placeholder="sudo systemctl restart mmdvmhost.service" aria-describedby="REBOOTMMDVM"> <input type="text" value="<?php echo constant("REBOOTMMDVM") ?>" name="REBOOTMMDVM" class="form-control" placeholder="sudo systemctl restart mmdvmhost.service" aria-describedby="REBOOTMMDVM">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="REBOOTSYS" style="width: 300px">Reboot system command:</span> <span class="input-group-addon" id="REBOOTSYS" style="width: 300px"><?php echo _("Reboot system command:"); ?></span>
<input type="text" value="<?php echo constant("REBOOTSYS") ?>" name="REBOOTSYS" class="form-control" placeholder="sudo reboot" aria-describedby="REBOOTSYS"> <input type="text" value="<?php echo constant("REBOOTSYS") ?>" name="REBOOTSYS" class="form-control" placeholder="sudo reboot" aria-describedby="REBOOTSYS">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="HALTSYS" style="width: 300px">Halt system command:</span> <span class="input-group-addon" id="HALTSYS" style="width: 300px"><?php echo _("Halt system command:"); ?></span>
<input type="text" value="<?php echo constant("HALTSYS") ?>" name="HALTSYS" class="form-control" placeholder="sudo halt" aria-describedby="HALTSYS"> <input type="text" value="<?php echo constant("HALTSYS") ?>" name="HALTSYS" class="form-control" placeholder="sudo halt" aria-describedby="HALTSYS">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="SHOWPOWERSTATE" style="width: 300px">Show Powerstate (online or battery, wiringpi needed)</span> <span class="input-group-addon" id="SHOWPOWERSTATE" style="width: 300px"><?php echo _("Show Powerstate (online or battery, wiringpi needed)"); ?></span>
<div class="panel-body"><input type="checkbox" name="SHOWPOWERSTATE" <?php if (defined("SHOWPOWERSTATE")) echo "checked" ?>></div> <div class="panel-body"><input type="checkbox" name="SHOWPOWERSTATE" <?php if (defined("SHOWPOWERSTATE")) echo "checked" ?>></div>
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="POWERONLINEPIN" style="width: 300px">GPIO pin to monitor:</span> <span class="input-group-addon" id="POWERONLINEPIN" style="width: 300px"><?php echo _("GPIO pin to monitor:"); ?></span>
<input type="text" value="<?php echo constant("POWERONLINEPIN") ?>" name="POWERONLINEPIN" class="form-control" placeholder="18" aria-describedby="POWERONLINEPIN"> <input type="text" value="<?php echo constant("POWERONLINEPIN") ?>" name="POWERONLINEPIN" class="form-control" placeholder="18" aria-describedby="POWERONLINEPIN">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="POWERONLINESTATE" style="width: 300px">State that signalizes online-state:</span> <span class="input-group-addon" id="POWERONLINESTATE" style="width: 300px"><?php echo _("State that signalizes online-state:"); ?></span>
<input type="text" value="<?php echo constant("POWERONLINESTATE") ?>" name="POWERONLINESTATE" class="form-control" placeholder="1" aria-describedby="POWERONLINESTATE"> <input type="text" value="<?php echo constant("POWERONLINESTATE") ?>" name="POWERONLINESTATE" class="form-control" placeholder="1" aria-describedby="POWERONLINESTATE">
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="SHOWQRZ" style="width: 300px">Show link to QRZ.com on Callsigns</span> <span class="input-group-addon" id="SHOWQRZ" style="width: 300px"><?php echo _("Show link to QRZ.com on Callsigns"); ?></span>
<div class="panel-body"><input type="checkbox" name="SHOWQRZ" <?php if (defined("SHOWQRZ")) echo "checked" ?>></div> <div class="panel-body"><input type="checkbox" name="SHOWQRZ" <?php if (defined("SHOWQRZ")) echo "checked" ?>></div>
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="RSSI" style="width: 300px">RSSI value</span> <span class="input-group-addon" id="RSSI" style="width: 300px"><?php echo _("RSSI value"); ?></span>
<div class="input"><select name="RSSI"> <div class="input"><select name="RSSI">
<option <?php if (constant("RSSI") == "min") echo "selected=\"selected\" "?>value="min">minimal</option> <option <?php if (constant("RSSI") == "min") echo "selected=\"selected\" "?>value="min"><?php echo _("minimal"); ?></option>
<option <?php if (constant("RSSI") == "max") echo "selected=\"selected\" "?>value="max">maximal</option> <option <?php if (constant("RSSI") == "max") echo "selected=\"selected\" "?>value="max"><?php echo _("maximal"); ?></option>
<option <?php if (constant("RSSI") == "avg" or (!defined("RSSI"))) echo "selected=\"selected\" "?>value="avg">average</option> <option <?php if (constant("RSSI") == "avg" or (!defined("RSSI"))) echo "selected=\"selected\" "?>value="avg"><?php echo _("average"); ?></option>
</select> </select>
</div> </div>
</div> </div>
<div class="input-group"> <div class="input-group">
<span class="input-group-btn"> <span class="input-group-btn">
<button class="btn btn-default" type="submit" form="config">Save configuration</button> <button class="btn btn-default" type="submit" form="config"><?php echo _("Save configuration"); ?></button>
</span> </span>
</div> </div>
</div> </div>

View file

@ -15,9 +15,9 @@ $reverseLogLinesMMDVM = $logLinesMMDVM;
array_multisort($reverseLogLinesMMDVM,SORT_DESC); array_multisort($reverseLogLinesMMDVM,SORT_DESC);
$lastHeard = getLastHeard($reverseLogLinesMMDVM, True); $lastHeard = getLastHeard($reverseLogLinesMMDVM, True);
//$oldLastHeard = $_SESSION['lastHeard']; //$oldLastHeard = $_SESSION['lastHeard'];
echo"<!--"; /*echo"<!--";
var_dump($lastHeard); var_dump($lastHeard);
echo"-->"; echo"-->";*/
$counter = 0; $counter = 0;
foreach ($lastHeard as $listElem) { foreach ($lastHeard as $listElem) {
$counter +=1; $counter +=1;