Compare commits

...

17 Commits

Author SHA1 Message Date
6084bd87c7 Version 1.11.2 2015-07-29 08:34:28 +02:00
dbb030e431 Bugfixes and minor changes 2015-07-12 18:16:33 +02:00
27b057dec0 Version 1.11
Clean all messages of someone
Kick via active session display
Change languages supported without cookies
Global password only in setup and not in admin section
CSS Styling supported
Moved many configurations from file to database
More simplifications and bugfixes
2015-07-11 22:28:24 +02:00
3da659642d Added message encryption option 2015-06-07 16:00:21 +02:00
c0dd4dc727 Avoid using mysqlnd-only functions 2015-06-04 08:12:28 +02:00
a1a41c76e3 Bugfixes 2015-06-03 15:39:05 +02:00
55f9db6468 Version 1.9
Added more captchas
Splitted guest access and global password
Added support for irc /me command
Added prefix for multiple chats on the same domain/database
2015-06-02 08:54:18 +02:00
506407faeb Cleanup and support for memcached 2015-05-28 21:15:37 +02:00
b23830111c Version 1.7
Added member only option with global password protection
Made date format configurable
Various improvements
2015-05-04 11:52:59 +02:00
6dd7d425c7 Added option to only allow guests with a global password
Also fixed an error in valid_admin() introduced in the previous version
2015-04-26 14:21:11 +02:00
bb4ca51db8 Added incognito mode 2015-04-20 18:09:03 +02:00
92643bad03 Various changes and additions 2015-04-10 08:53:07 +02:00
be34272e1b Bugfixes on logout and kicking 2015-04-04 20:36:50 +02:00
e6265ba296 Moved rules to database to make changes more easily in the setup 2015-04-02 18:19:36 +02:00
8bf25230f2 Include letters when generating captchas not only numbers 2015-04-02 16:37:11 +02:00
0fa1279764 Added ignore feature 2015-04-02 10:49:43 +02:00
cd0e2ec19c Some simplifications 2015-04-02 09:43:38 +02:00
6 changed files with 1311 additions and 836 deletions

65
CHANGELOG Normal file
View File

@ -0,0 +1,65 @@
Version 1.11.2 - Jul. 29, 2015
Fix security vulnerability
More simplifications
Only allow deleting your own messages, not older ones by the same nick
Confirmation when deleting all your messages
Version 1.11.1 - Jul. 12, 2015
Bugfixes and minor changes
Version 1.11 - Jul. 11, 2015
Clean all messages of someone
Kick via active session display
Change languages supported without cookies
Global password only in setup and not in admin section
CSS Styling supported
Moved many configurations from file to database
More simplifications and bugfixes
Version 1.10 - Jun. 7, 2015
Added message encryption option
Version 1.9.2 - Jun. 4, 2015
Avoid using mysqlnd-only functions
Version 1.9.1 - Jun. 3, 2015
Bugfixes
Version 1.9 - Jun. 1, 2015
Added more captchas
Splitted guest access and global password
Added support for irc /me command
Added prefix for multiple chats on the same domain/database
Version 1.8 - May 28, 2015
Code cleanup and simplification
Added support for memcached
Version 1.7 - May 3, 2015
Added member only option with global password protection
Made date format configurable
Various improvements
Version 1.6 - Apr. 26, 2015
Added option to only allow guests with a global password
Version 1.5 - Apr. 20, 2015
Added incognito mode
Version 1.4 - Apr. 10, 2015
Various changes and additions
Version 1.3 - Apr. 4, 2015
Bugfixes on logout and kicking
Version 1.2 - Apr. 2, 2015
Include letters when generating captchas not only numbers
Moved rules to database to make changes more easily in the setup
Version 1.1 - Apr. 2, 2015
Some simplifications
Added ignore feature
Version 1.0 - Mar. 31, 2015
Initial release

18
README
View File

@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
GENERAL INFORMATION: GENERAL INFORMATION:
This is a PHP Chat based on LE CHAT v.1.14 . An up-to-date copy of this script can be downloaded at http://github.com/DanWin/le-chat-php This is a PHP Chat based on LE CHAT v.1.14. An up-to-date copy of this script can be downloaded at https://github.com/DanWin/le-chat-php
The original perl LE CHAT script by Lucky Eddie can be downloaded at http://4fvfamdpoulu2nms.onion/lechat/ or via a tor2web proxy like https://4fvfamdpoulu2nms.tor2web.blutmagie.de/lechat/ if you don't have TOR installed. The original perl LE CHAT script by Lucky Eddie can be downloaded at http://4fvfamdpoulu2nms.onion/lechat/ or via a tor2web proxy like https://4fvfamdpoulu2nms.tor2web.blutmagie.de/lechat/ if you don't have TOR installed.
If you add your own cool features or have a feature request, please tell me and I will add them, if I like them. If you add your own cool features or have a feature request, please tell me and I will add them, if I like them.
Please also let me know about any bugs you find in the code, so I can fix them. Please also let me know about any bugs you find in the code, so I can fix them.
@ -60,6 +60,7 @@ Then copy the script to your web-server directory and call the script in your br
http://(server)/(script-name).php?action=setup http://(server)/(script-name).php?action=setup
Now you can create the Superadmin account. With this account you can administer the chat and add new members and set the guest access. Now you can create the Superadmin account. With this account you can administer the chat and add new members and set the guest access.
As soon as you are done with the setup, all necessary database tables will be created and the chat can be used. As soon as you are done with the setup, all necessary database tables will be created and the chat can be used.
Note: If you updated the script, please visit http://(server)/(script-name).php?action=setup again, to make sure, that any database changes are applied and no errors occure.
TRANSLATING: TRANSLATING:
@ -71,8 +72,21 @@ When you are done, you have to edit the chat script, to include your translation
to the $L array in the load_lang() function at the bottom, similar to what I did for the German translation. to the $L array in the load_lang() function at the bottom, similar to what I did for the German translation.
Please share your translation with me, so I can add it to the official version. Please share your translation with me, so I can add it to the official version.
REGEX:
Yes, the chat supports regular expression filtering of messages. As regex tends to be difficult for most people, I decided to give it an extra section here.
Regex is very powerful and can be used to filter messages that contain certain expressions and replace them with something else.
It can be used e.g. to turn BB Code into html, so it is possible to use BB Code in the chat to format messages.
To do this, use this Regex-Match '\[(u|b)\](.*?)\[\/\1\]' and this Regex-Replace '<$1>$2</$1>' and your text will be '[b]bold[/b]' or '[u]underlined[/u]'.
You can also use smilies by using this Regex-Match '(?-i::(cry|eek|lol|sad|smile|surprised|wink):)' and this Regex-Replace '<img src="/pictures/$1.gif" alt=":$1:">'
And now if you enter ':smile:' an image with the smiley will be loaded from your server at '/pictures/smile.gif'.
The following should be escaped by putting '\' in front of it, if you are trying to match one of these characters '/ \ ^ . $ | ( ) [ ] * + ? { } ,'.
I used '/' as delimiter, so you will have to escape that, too. The only options I used is 'i' to make the regex case insensitive.
If you want to test your regex, before applying you can use this site and enter your Regex and Replacement there and click on preg_replace: http://www.phpliveregex.com/
If you never used regex before, check out this starting guide to begin with regular expressions: http://docs.activestate.com/komodo/4.4/regex-intro.html
LIVE DEMO: LIVE DEMO:
If you want to see the script in action, you can visit my TOR hidden site http://tt3j2x4k5ycaa5zt.onion/chat.php or via a tor2web proxy like http://tt3j2x4k5ycaa5zt.tor2web.blutmagie.de/chat.php if you don't have TOR installed. If you want to see the script in action, you can visit my TOR hidden service http://tt3j2x4k5ycaa5zt.onion/chat.php or via a tor2web proxy like http://tt3j2x4k5ycaa5zt.tor2web.blutmagie.de/chat.php if you don't have TOR installed.
Considering this is a hidden service, you should be prepared for the worst case, as people often tend to do illegal activities in the TOR network. I'm not online 24/7 so it might not be possible to remove such content right away. Considering this is a hidden service, you should be prepared for the worst case, as people often tend to do illegal activities in the TOR network. I'm not online 24/7 so it might not be possible to remove such content right away.
If you should see illegal content, don't panic. Use the contact form on my site to notify me and clean your browser cache afterwards. If you should see illegal content, don't panic. Use the contact form on my site to notify me and clean your browser cache afterwards.

View File

@ -1,7 +1,7 @@
General Information: General Information:
-------------------- --------------------
This is a PHP Chat based on LE CHAT v.1.14 . An up-to-date copy of this script can be downloaded at http://github.com/DanWin/le-chat-php This is a PHP Chat based on LE CHAT v.1.14. An up-to-date copy of this script can be downloaded at https://github.com/DanWin/le-chat-php
The original perl LE CHAT script by Lucky Eddie can be downloaded at [his site](http://4fvfamdpoulu2nms.onion/lechat/) or via a tor2web proxy like [this one](https://4fvfamdpoulu2nms.tor2web.blutmagie.de/lechat/) if you don't have TOR installed. The original perl LE CHAT script by Lucky Eddie can be downloaded at [his site](http://4fvfamdpoulu2nms.onion/lechat/) or via a tor2web proxy like [this one](https://4fvfamdpoulu2nms.tor2web.blutmagie.de/lechat/) if you don't have TOR installed.
If you add your own cool features or have a feature request, please tell me and I will add them, if I like them. If you add your own cool features or have a feature request, please tell me and I will add them, if I like them.
Please also let me know about any bugs you find in the code, so I can fix them. Please also let me know about any bugs you find in the code, so I can fix them.
@ -45,6 +45,7 @@ Then copy the script to your web-server directory and call the script in your br
http://(server)/(script-name).php?action=setup http://(server)/(script-name).php?action=setup
Now you can create the Superadmin account. With this account you can administer the chat and add new members and set the guest access. Now you can create the Superadmin account. With this account you can administer the chat and add new members and set the guest access.
As soon as you are done with the setup, all necessary database tables will be created and the chat can be used. As soon as you are done with the setup, all necessary database tables will be created and the chat can be used.
Note: If you updated the script, please visit http://(server)/(script-name).php?action=setup again, to make sure, that any database changes are applied and no errors occure.
Translating: Translating:
------------ ------------
@ -57,9 +58,23 @@ When you are done, you have to edit the chat script, to include your translation
to the $L array in the load_lang() function at the bottom, similar to what I did for the German translation. to the $L array in the load_lang() function at the bottom, similar to what I did for the German translation.
Please share your translation with me, so I can add it to the official version. Please share your translation with me, so I can add it to the official version.
Regex:
------
Yes, the chat supports regular expression filtering of messages. As regex tends to be difficult for most people, I decided to give it an extra section here.
Regex is very powerful and can be used to filter messages that contain certain expressions and replace them with something else.
It can be used e.g. to turn BB Code into html, so it is possible to use BB Code in the chat to format messages.
To do this, use this Regex-Match '\[(u|b)\](.*?)\[\/\1\]' and this Regex-Replace '<$1>$2</$1>' and your text will be '[b]bold[/b]' or '[u]underlined[/u]'.
You can also use smilies by using this Regex-Match '(?-i::(cry|eek|lol|sad|smile|surprised|wink):)' and this Regex-Replace '<img src="/pictures/$1.gif" alt=":$1:">'
And now if you enter ':smile:' an image with the smiley will be loaded from your server at '/pictures/smile.gif'.
The following should be escaped by putting '\' in front of it, if you are trying to match one of these characters '/ \ ^ . $ | ( ) [ ] * + ? { } ,'.
I used '/' as delimiter, so you will have to escape that, too. The only options I used is 'i' to make the regex case insensitive.
If you want to test your regex, before applying you can use [this site](http://www.phpliveregex.com/) and enter your Regex and Replacement there and click on preg_replace.
If you never used regex before, check out [this starting guide](http://docs.activestate.com/komodo/4.4/regex-intro.html) to begin with regular expressions.
Live demo: Live demo:
---------- ----------
If you want to see the script in action, you can visit my [TOR hidden site](http://tt3j2x4k5ycaa5zt.onion/chat.php) or via a tor2web proxy like [this one](http://tt3j2x4k5ycaa5zt.tor2web.blutmagie.de/chat.php) if you don't have TOR installed. If you want to see the script in action, you can visit my [TOR hidden service](http://tt3j2x4k5ycaa5zt.onion/chat.php) or via a tor2web proxy like [this one](http://tt3j2x4k5ycaa5zt.tor2web.blutmagie.de/chat.php) if you don't have TOR installed.
Considering this is a hidden service, you should be prepared for the worst case, as people often tend to do illegal activities in the TOR network. I'm not online 24/7 so it might not be possible to remove such content right away. Considering this is a hidden service, you should be prepared for the worst case, as people often tend to do illegal activities in the TOR network. I'm not online 24/7 so it might not be possible to remove such content right away.
If you should see illegal content, don't panic. Use the contact form on my site to notify me and clean your browser cache afterwards. I will remove the content as soon as possible. If you should see illegal content, don't panic. Use the contact form on my site to notify me and clean your browser cache afterwards. I will remove the content as soon as possible.

1929
chat.php

File diff suppressed because it is too large Load Diff

View File

@ -20,12 +20,12 @@
$I=array( $I=array(
'nodb' => 'Keine Verbindung zur Datenbank!', 'nodb' => 'Keine Verbindung zur Datenbank!',
'nodsetupb' => 'Keine Verbindung zur Datenbank, bitte erstelle eine Datenbank und bearbeite das Skript, um die korrekte Datenbank mit angegebenem Benutzernamen und Passwort zu benutzen.', 'nodbsetup' => 'Keine Verbindung zur Datenbank, bitte erstelle eine Datenbank und bearbeite das Skript, um die korrekte Datenbank mit angegebenem Benutzernamen und Passwort zu benutzen.',
'changelang' => 'Sprache ändern:', 'changelang' => 'Sprache ändern:',
'expire' => 'Ungültige/abgelaufene Sitzung', 'expire' => 'Ungültige/abgelaufene Sitzung',
'kicked' => 'Rausgeschmissen!', 'kicked' => 'Rausgeschmissen!',
'invalnick' => 'Ungültiger Nickname (Maximal %d Zeichen, keine Sonderzeichen erlaubt)', 'invalnick' => 'Ungültiger Nickname (Maximal %d Zeichen, keine Sonderzeichen erlaubt)',
'invalpass' => 'Falsches Passwort!', 'invalpass' => 'Ungültiges Passwort (Mindestens %d Zeichen)',
'noconfirm' => 'Passwordbestätigung stimmt nicht überein!', 'noconfirm' => 'Passwordbestätigung stimmt nicht überein!',
'incorregex' => 'Ungültiger regulärer Ausdruck!', 'incorregex' => 'Ungültiger regulärer Ausdruck!',
'bottom' => 'Unten', 'bottom' => 'Unten',
@ -42,8 +42,7 @@ $I=array(
'initdbexist' => 'Datenbanktabellen existieren bereits! Um vortzufahren, musst du diese Tabellen zuerst manuell löschen.', 'initdbexist' => 'Datenbanktabellen existieren bereits! Um vortzufahren, musst du diese Tabellen zuerst manuell löschen.',
'initsuexist' => 'Ein Superadmin existiert bereits!', 'initsuexist' => 'Ein Superadmin existiert bereits!',
'initgosetup' => 'Zur Einrichtungsseite gehen', 'initgosetup' => 'Zur Einrichtungsseite gehen',
'dbupdate' => 'Datenbank aktualisieren', 'dbupdate' => 'Datenbank erfolgreich aktualisiert!',
'update' => 'Aktualisieren',
'sysmessages' => 'Systemnachrichten', 'sysmessages' => 'Systemnachrichten',
'msgenter' => 'Eintritt', 'msgenter' => 'Eintritt',
'msgexit' => 'Verlassen', 'msgexit' => 'Verlassen',
@ -53,14 +52,24 @@ $I=array(
'msgmultikick' => 'Mehrere rausgeworfen', 'msgmultikick' => 'Mehrere rausgeworfen',
'msgallkick' => 'Alle rausgeworfen', 'msgallkick' => 'Alle rausgeworfen',
'msgclean' => 'Raum geleert', 'msgclean' => 'Raum geleert',
'dateformat' => '<a target="_blank" href="http://php.net/manual/de/function.date.php#refsect1-function.date-parameters">Datums-Formatierung</a>',
'captcha' => 'Captcha',
'enabled' => 'Aktiviert',
'onlyguests' => 'Nur für Gäste',
'disabled' => 'Deaktiviert',
'simple' => 'Einfach',
'moderate' => 'Mittel',
'extreme' => 'Extrem',
'nick' => 'Nickname:', 'nick' => 'Nickname:',
'pass' => 'Passwort:', 'pass' => 'Passwort:',
'globalloginpass' => 'Globales Passwort:',
'login' => 'Anmelden', 'login' => 'Anmelden',
'admfunc' => 'Administrative Funktionen', 'admfunc' => 'Administrative Funktionen',
'allguests' => 'Alle Gäste', 'allguests' => 'Alle Gäste',
'cleanmsgs' => 'Nachrichten löschen', 'cleanmsgs' => 'Nachrichten löschen',
'room' => 'Gesamten Raum', 'room' => 'Gesamten Raum',
'selection' => 'Auswahl', 'selection' => 'Auswahl',
'cleannick' => 'Folgender Nickname:',
'clean' => 'Löschen', 'clean' => 'Löschen',
'kickchat' => '<b>Teilnehmer rausschmeißen</b> (%d Minuten)', 'kickchat' => '<b>Teilnehmer rausschmeißen</b> (%d Minuten)',
'kickmsg' => 'Begründung:', 'kickmsg' => 'Begründung:',
@ -75,7 +84,7 @@ $I=array(
'guestallow' => 'Erlauben', 'guestallow' => 'Erlauben',
'guestwait' => 'Mit Warteraum erlauben', 'guestwait' => 'Mit Warteraum erlauben',
'adminallow' => 'Moderator-Erlaubnis benötigen', 'adminallow' => 'Moderator-Erlaubnis benötigen',
'guestdisallow' => 'Verweigern', 'guestdisallow' => 'Nur Mitglieder',
'addsuguest' => 'Anwerber hinzufügen', 'addsuguest' => 'Anwerber hinzufügen',
'register' => 'Registrieren', 'register' => 'Registrieren',
'admmembers' => 'Mitglieder', 'admmembers' => 'Mitglieder',
@ -84,7 +93,7 @@ $I=array(
'memsuguest' => 'Zu Anwerber machen (G)', 'memsuguest' => 'Zu Anwerber machen (G)',
'memreg' => 'Zu regulärem Mitglied machen', 'memreg' => 'Zu regulärem Mitglied machen',
'memmod' => 'Zu Moderator machen (M)', 'memmod' => 'Zu Moderator machen (M)',
'memsumod' => 'Zu Supermod machen (M)', 'memsumod' => 'Zu Supermod machen (SM)',
'memadm' => 'Zu Admin machen (A)', 'memadm' => 'Zu Admin machen (A)',
'change' => 'Ändern', 'change' => 'Ändern',
'regguest' => 'Gast registrieren', 'regguest' => 'Gast registrieren',
@ -125,13 +134,15 @@ $I=array(
'switchsingle' => 'Zu Einzel-Zeile wechseln', 'switchsingle' => 'Zu Einzel-Zeile wechseln',
'switchmulti' => 'Zu Mehrfach-Zeilen wechseln', 'switchmulti' => 'Zu Mehrfach-Zeilen wechseln',
'help' => 'Hilfe', 'help' => 'Hilfe',
'helpguest' => 'Alle Funktionen sollten recht selbsterklärend sein, benutze einfach die Knöpfe. In deinem Profil kannst du die Aktualisierungsrate, Schriftfarbe und deine gewünschte Postboxgröße anpassen.<br><u>Hinweis:</u> Dies ist ein Chat, wenn du also nichts schreibst, wirst du automatisch nach einiger Zeit abgemaldet.', 'helpguest' => 'Alle Funktionen sollten recht selbsterklärend sein, benutze einfach die Knöpfe. In deinem Profil kannst du die Aktualisierungsrate, Schriftfarbe und deine gewünschte Postboxgröße anpassen.<br><u>Hinweis:</u> Dies ist ein Chat, wenn du also nichts schreibst, wirst du automatisch nach einiger Zeit abgemeldet.',
'helpembed' => 'Wenn du ein Bild einbetten möchtest, füge einfach ein [img] vor die Adresse deines Bildes. Beispiel: [img]http://example.com/images/file.jpg bettet das Bild in deinen Beitrag ein. Für Videos gilt das gleiche, nur mit [vid] davor.', 'helpembed' => 'Wenn du ein Bild einbetten möchtest, füge einfach ein [img] vor die Adresse deines Bildes. Beispiel: [img]http://example.com/images/file.jpg bettet das Bild in deinen Beitrag ein.',
'helpmem' => 'Mitglieder: Du wirst einige zusätzliche Optionen in deinem Profil haben. Du kannst deine Schriftart ändern und du kannst dein Passwort jederzeit ändern.', 'helpmem' => 'Mitglieder: Du wirst einige zusätzliche Optionen in deinem Profil haben. Du kannst deine Schriftart ändern und du kannst dein Passwort jederzeit ändern.',
'helpmod' => 'Moderatoren: Achte auf den Admin-Knof unten. Er bringt eine Seite auf, auf der du Nachrichten löschen kannst, Teilnehmer rausschmeißen kannst, alle aktive Sitzungen anzeigen lassen kannst und den Gastzugriff deaktivieren kannst, falls dies nötig sein sollte.', 'helpmod' => 'Moderatoren: Achte auf den Admin-Knof unten. Er bringt eine Seite auf, auf der du Nachrichten löschen kannst, Teilnehmer rausschmeißen kannst, alle aktive Sitzungen anzeigen lassen kannst und den Gastzugriff deaktivieren kannst, falls dies nötig sein sollte.',
'helpadm' => 'Admins: Du wirst zusätzlich in der Lage sein Gäste zu registrieren, Mitglieder zu verwalten und neue Nicknanem zu registrieren, ohne dass sie im Raum sind.', 'helpadm' => 'Admins: Du wirst zusätzlich in der Lage sein Gäste zu registrieren, Mitglieder zu verwalten und neue Nicknanem zu registrieren, ohne dass sie im Raum sind.',
'profile' => 'Dein Profil', 'profile' => 'Dein Profil',
'refreshrate' => 'Aktualisierungsrate (20-150 Sekunden)', 'ignore' => 'Ignorieren',
'unignore' => 'Nicht mehr ignorieren',
'refreshrate' => 'Aktualisierungsrate (5-150 Sekunden)',
'fontcolour' => 'Schriftfarbe', 'fontcolour' => 'Schriftfarbe',
'viewexample' => 'Beispiele anzeigen', 'viewexample' => 'Beispiele anzeigen',
'bgcolour' => 'Hintergrundfarbe', 'bgcolour' => 'Hintergrundfarbe',
@ -141,7 +152,8 @@ $I=array(
'italic' => 'Kursiv', 'italic' => 'Kursiv',
'fontexample' => 'Beispiel für deine gewählte Schrift', 'fontexample' => 'Beispiel für deine gewählte Schrift',
'timestamps' => 'Zeitstempel anzeigen', 'timestamps' => 'Zeitstempel anzeigen',
'embed' => 'Bilder/Videos einbetten', 'embed' => 'Bilder einbetten (Benötigt Cookies)',
'incognito' => 'Inkognito Modus',
'pbsize' => 'Postboxgröße', 'pbsize' => 'Postboxgröße',
'nbsize' => 'Notizboxgröße', 'nbsize' => 'Notizboxgröße',
'width' => 'Breite:', 'width' => 'Breite:',
@ -179,8 +191,8 @@ $I=array(
'butallowdeny' => 'Senden', 'butallowdeny' => 'Senden',
'waitempty' => 'Keine weiteren Beitrittsanfragen zu akzeptieren.', 'waitempty' => 'Keine weiteren Beitrittsanfragen zu akzeptieren.',
'wrongcaptcha' => 'Falsches Captcha', 'wrongcaptcha' => 'Falsches Captcha',
'captchatime' => 'Captcha wurde bereits verwendet oder ist abgelaufen.', 'captchaexpire' => 'Captcha wurde bereits verwendet oder ist abgelaufen.',
'noguests' => 'Keine Gäste zugelassen!', 'noguests' => 'Entschuldigung, zur Zeit nur Mitglieder!',
'curchat' => 'Zurzeit sind %d Teilnehmer im Raum:', 'curchat' => 'Zurzeit sind %d Teilnehmer im Raum:',
'cantreg' => '%s kann nicht registriert werden', 'cantreg' => '%s kann nicht registriert werden',
'alreadyreged' => '%s ist bereits registriert.', 'alreadyreged' => '%s ist bereits registriert.',
@ -188,7 +200,8 @@ $I=array(
'cantchgstat' => 'Der Status von %s kann nicht geändert werden.', 'cantchgstat' => 'Der Status von %s kann nicht geändert werden.',
'succdel' => '%s wurde erfolgriech aus der Datenbank gelöscht.', 'succdel' => '%s wurde erfolgriech aus der Datenbank gelöscht.',
'succchg' => 'Status of %s successfully changed.', 'succchg' => 'Status of %s successfully changed.',
'wrongpass' => 'Passwort ist falsch.', 'wrongpass' => 'Falsches Passwort!',
'wrongglobalpass' => 'Falsches gloables Passwort!',
'succprofile' => 'Dein Profil wurde erfolgreich gespeichert.', 'succprofile' => 'Dein Profil wurde erfolgreich gespeichert.',
'backtologin' => 'Zurück zur Anmeldeseite.', 'backtologin' => 'Zurück zur Anmeldeseite.',
'backtochat' => 'Zurück zum Chat.', 'backtochat' => 'Zurück zum Chat.',
@ -227,6 +240,22 @@ $I=array(
'White' => 'Weiß', 'White' => 'Weiß',
'Yellow' => 'Gelb', 'Yellow' => 'Gelb',
'YellowGreen' => 'Gelbgrün', 'YellowGreen' => 'Gelbgrün',
'contributors' => 'Mitwirkende' 'redirectto' => 'Leite weiter zu:',
'nonhttp' => 'Nicht-http Adresse angefordert:',
'httpredir' => 'Wenn sie nicht funktioniert, probiere diese:',
'actions' => 'Aktionen',
'sesip' => 'IP-Adresse',
'css' => 'CSS Style',
'memberexpire' => 'Mitglieder-Ablaufzeit (Minuten)',
'guestexpire' => 'Gast-Ablaufzeit (Minuten)',
'kickpenalty' => 'Rausschmiss-Strafzeit (Minuten)',
'entrywait' => 'Warteraum-Zeit (Sekunden)',
'captchatime' => 'Captcha-Ablaufzeit (Sekunden)',
'messageexpire' => 'Nachrichten-Ablaufzeit (Minuten)',
'messagelimit' => 'Nachrichtenlimit (öffentliche)',
'maxmessage' => 'Maximale Nachrichenlänge',
'confirm' => 'Bist du sicher?',
'yes' => 'Ja',
'no' => 'Nein'
); );
?> ?>

View File

@ -21,12 +21,12 @@
//Language: English //Language: English
$I=array( $I=array(
'nodb' => 'No Connection to Database!', 'nodb' => 'No Connection to Database!',
'nodsetupb' => 'No Connection to Database, please create a database and edit the script to use the correct database with given username and password!', 'nodbsetup' => 'No Connection to Database, please create a database and edit the script to use the correct database with given username and password!',
'changelang' => 'Change language:', 'changelang' => 'Change language:',
'expire' => 'Invalid/expired session', 'expire' => 'Invalid/expired session',
'kicked' => 'Kicked!', 'kicked' => 'Kicked!',
'invalnick' => 'Invalid nickname (%d characters maximum, no special characters allowed)', 'invalnick' => 'Invalid nickname (%d characters maximum, no special characters allowed)',
'invalpass' => 'Invalid password!', 'invalpass' => 'Invalid password (At least %d characters)',
'noconfirm' => 'Password confirmation does not match!', 'noconfirm' => 'Password confirmation does not match!',
'incorregex' => 'Incorrect regular expression!', 'incorregex' => 'Incorrect regular expression!',
'bottom' => 'Bottom', 'bottom' => 'Bottom',
@ -37,17 +37,24 @@ $I=array(
'sulogin' => 'Superadmin Login', 'sulogin' => 'Superadmin Login',
'sunick' => 'Superadmin Nickname:', 'sunick' => 'Superadmin Nickname:',
'supass' => 'Superadmin Password:', 'supass' => 'Superadmin Password:',
'suconfirm' => 'Confirm Passowrd:', 'suconfirm' => 'Confirm Password:',
'susuccess' => 'Successfully registered!', 'susuccess' => 'Successfully registered!',
'initbtn' => 'Initalise Chat', 'initbtn' => 'Initalise Chat',
'initdbexist' => 'Database tables already exist! To continue, you have to delete these tables manually first.', 'initdbexist' => 'Database tables already exist! To continue, you have to delete these tables manually first.',
'initsuexist' => 'A Superadmin already exists!', 'initsuexist' => 'A Superadmin already exists!',
'initgosetup' => 'Go to the Setup-Page', 'initgosetup' => 'Go to the Setup-Page',
'captcha' => 'Captcha',
'enabled' => 'Enabled',
'onlyguests' => 'Only for guests',
'disabled' => 'Disabled',
'simple' => 'Simple',
'moderate' => 'Moderate',
'extreme' => 'Extreme',
'nick' => 'Nickname:', 'nick' => 'Nickname:',
'pass' => 'Password:', 'pass' => 'Password:',
'globalloginpass' => 'Global Password:',
'login' => 'Login', 'login' => 'Login',
'dbupdate' => 'Update database', 'dbupdate' => 'Database successfully updated!',
'update' => 'Update',
'sysmessages' => 'System messages', 'sysmessages' => 'System messages',
'msgenter' => 'Entrance', 'msgenter' => 'Entrance',
'msgexit' => 'Leaving', 'msgexit' => 'Leaving',
@ -57,11 +64,13 @@ $I=array(
'msgmultikick' => 'Multiple kicked', 'msgmultikick' => 'Multiple kicked',
'msgallkick' => 'All kicked', 'msgallkick' => 'All kicked',
'msgclean' => 'Room cleaned', 'msgclean' => 'Room cleaned',
'dateformat' => '<a target="_blank" href="http://php.net/manual/en/function.date.php#refsect1-function.date-parameters">Date formating</a>',
'admfunc' => 'Administrative functions', 'admfunc' => 'Administrative functions',
'allguests' => 'All guests', 'allguests' => 'All guests',
'cleanmsgs' => 'Clean messages', 'cleanmsgs' => 'Clean messages',
'room' => 'Whole room', 'room' => 'Whole room',
'selection' => 'Selection', 'selection' => 'Selection',
'cleannick' => 'Following nickname:',
'clean' => 'Clean', 'clean' => 'Clean',
'kickchat' => '<b>Kick Chatter</b> (%d minutes)', 'kickchat' => '<b>Kick Chatter</b> (%d minutes)',
'kickmsg' => 'Kickmessage:', 'kickmsg' => 'Kickmessage:',
@ -76,7 +85,7 @@ $I=array(
'guestallow' => 'Allow', 'guestallow' => 'Allow',
'guestwait' => 'Allow with waitingroom', 'guestwait' => 'Allow with waitingroom',
'adminallow' => 'Require moderator approval', 'adminallow' => 'Require moderator approval',
'guestdisallow' => 'Disallow', 'guestdisallow' => 'Only members',
'addsuguest' => 'Add applicant', 'addsuguest' => 'Add applicant',
'register' => 'Register', 'register' => 'Register',
'admmembers' => 'Members', 'admmembers' => 'Members',
@ -85,7 +94,7 @@ $I=array(
'memsuguest' => 'Set to applicant (G)', 'memsuguest' => 'Set to applicant (G)',
'memreg' => 'Set to regular member', 'memreg' => 'Set to regular member',
'memmod' => 'Set to moderator (M)', 'memmod' => 'Set to moderator (M)',
'memsumod' => 'Set to supermod (M)', 'memsumod' => 'Set to supermod (SM)',
'memadm' => 'Set to admin (A)', 'memadm' => 'Set to admin (A)',
'change' => 'Change', 'change' => 'Change',
'regguest' => 'Register Guest', 'regguest' => 'Register Guest',
@ -115,7 +124,7 @@ $I=array(
'waitreload' => 'If this page doesn\'t refresh every %d seconds, use the button below to reload it manually!', 'waitreload' => 'If this page doesn\'t refresh every %d seconds, use the button below to reload it manually!',
'reload' => 'Reload', 'reload' => 'Reload',
'rules' => 'Rules', 'rules' => 'Rules',
'talkto' => 'Talk to', 'talkto' => 'Send to',
'toall' => 'All chatters', 'toall' => 'All chatters',
'tomem' => 'Members only', 'tomem' => 'Members only',
'tostaff' => 'Staff only', 'tostaff' => 'Staff only',
@ -127,12 +136,14 @@ $I=array(
'switchmulti' => 'Switch to multi-line', 'switchmulti' => 'Switch to multi-line',
'help' => 'Help', 'help' => 'Help',
'helpguest' => 'All functions should be pretty much self-explaining, just use the buttons. In your profile you can adjust the refresh rate, font colour and your preferred input box size.<br><u>Note:</u> This is a chat, so if you don\'t keep talking, you will be automatically logged out after a while.', 'helpguest' => 'All functions should be pretty much self-explaining, just use the buttons. In your profile you can adjust the refresh rate, font colour and your preferred input box size.<br><u>Note:</u> This is a chat, so if you don\'t keep talking, you will be automatically logged out after a while.',
'helpembed' => 'If you want to embed an image in your post, simply put [img] in front of your image URL. Example: [img]http://example.com/images/file.jpg will embed the image in your post. For videos applies the same only with [vid].', 'helpembed' => 'If you want to embed an image in your post, simply put [img] in front of your image URL. Example: [img]http://example.com/images/file.jpg will embed the image in your post.',
'helpmem' => 'Members: You\'ll have some more options in your profile. You can adjust your font face and you can change your password anytime.', 'helpmem' => 'Members: You\'ll have some more options in your profile. You can adjust your font face and you can change your password anytime.',
'helpmod' => 'Moderators: Notice the Admin-button at the bottom. It\'ll bring up a page where you can clean the room, kick chatters, view all active sessions and disable guest access completely if needed.', 'helpmod' => 'Moderators: Notice the Admin-button at the bottom. It\'ll bring up a page where you can clean the room, kick chatters, view all active sessions and disable guest access completely if needed.',
'helpadm' => 'Admins: You\'ll be furthermore able to register guests, edit members and register new nicks without them beeing in the room.', 'helpadm' => 'Admins: You\'ll be furthermore able to register guests, edit members and register new nicks without them beeing in the room.',
'profile' => 'Your Profile', 'profile' => 'Your Profile',
'refreshrate' => 'Refresh rate (20-150 seconds)', 'ignore' => 'Ignore',
'unignore' => 'Don\'t ignore anymore',
'refreshrate' => 'Refresh rate (5-150 seconds)',
'fontcolour' => 'Font colour', 'fontcolour' => 'Font colour',
'viewexample' => 'View examples', 'viewexample' => 'View examples',
'bgcolour' => 'Background colour', 'bgcolour' => 'Background colour',
@ -142,7 +153,8 @@ $I=array(
'italic' => 'Italic', 'italic' => 'Italic',
'fontexample' => 'Example for your chosen font', 'fontexample' => 'Example for your chosen font',
'timestamps' => 'Show Timestamps', 'timestamps' => 'Show Timestamps',
'embed' => 'Embed images/videos', 'embed' => 'Embed images (needs Cookies)',
'incognito' => 'Incognito mode',
'pbsize' => 'Post box size', 'pbsize' => 'Post box size',
'nbsize' => 'Notes box size', 'nbsize' => 'Notes box size',
'width' => 'Width:', 'width' => 'Width:',
@ -180,8 +192,8 @@ $I=array(
'butallowdeny' => 'Submit', 'butallowdeny' => 'Submit',
'waitempty' => 'No more entry requests to approve.', 'waitempty' => 'No more entry requests to approve.',
'wrongcaptcha' => 'Wrong Captcha', 'wrongcaptcha' => 'Wrong Captcha',
'captchatime' => 'Captcha already used or timed out.', 'captchaexpire' => 'Captcha already used or timed out.',
'noguests' => 'No guests allowed!', 'noguests' => 'Sorry, currently members only!',
'curchat' => 'Currently %d chatter(s) in room:', 'curchat' => 'Currently %d chatter(s) in room:',
'cantreg' => 'Can\'t register %s', 'cantreg' => 'Can\'t register %s',
'alreadyreged' => '%s is already registered.', 'alreadyreged' => '%s is already registered.',
@ -189,7 +201,8 @@ $I=array(
'cantchgstat' => 'Can\'t change status of %s', 'cantchgstat' => 'Can\'t change status of %s',
'succdel' => '%s successfully deleted from database.', 'succdel' => '%s successfully deleted from database.',
'succchg' => 'Status of %s successfully changed.', 'succchg' => 'Status of %s successfully changed.',
'wrongpass' => 'Password is wrong.', 'wrongpass' => 'Wrong Password!',
'wrongglobalpass' => 'Wrong global Password!',
'succprofile' => 'Your profile has successfully been saved.', 'succprofile' => 'Your profile has successfully been saved.',
'backtologin' => 'Back to the login page.', 'backtologin' => 'Back to the login page.',
'backtochat' => 'Back to the chat.', 'backtochat' => 'Back to the chat.',
@ -228,6 +241,22 @@ $I=array(
'White' => 'White', 'White' => 'White',
'Yellow' => 'Yellow', 'Yellow' => 'Yellow',
'YellowGreen' => 'Yellow green', 'YellowGreen' => 'Yellow green',
'contributors' => 'Contributors', 'redirectto' => 'Redirecting to:',
'nonhttp' => 'Non-http link requested:',
'httpredir' => 'If it\'s not working, try this one:',
'actions' => 'Actions',
'sesip' => 'IP-Address',
'css' => 'CSS Style',
'memberexpire' => 'Member timeout (minutes)',
'guestexpire' => 'Guest timeout (minutes)',
'kickpenalty' => 'Kick penalty (minutes)',
'entrywait' => 'Waiting room time (seconds)',
'captchatime' => 'Captcha timeout (seconds)',
'messageexpire' => 'Message timeout (minutes)',
'messagelimit' => 'Message limit (public)',
'maxmessage' => 'Maximum message length',
'confirm' => 'Are you sure?',
'yes' => 'Yes',
'no' => 'No'
); );
?> ?>