├── .gitignore
├── .gitmodules
├── README.md
└── dura
├── favicon.ico
├── index.php
├── please_rename.htaccess
├── robots.txt
├── static
├── img
│ ├── apple-touch-icon-precomposed.png
│ └── lang
│ │ ├── en-US.png
│ │ ├── eo.png
│ │ ├── es-ES.png
│ │ ├── id-ID.png
│ │ ├── it-IT.png
│ │ ├── ja-JP.png
│ │ ├── ko-KR.png
│ │ ├── pl-PL.png
│ │ ├── pt-BR.png
│ │ ├── ru-RU.png
│ │ ├── zh-CN.png
│ │ └── zh-TW.png
├── js
│ ├── jquery.color.js
│ ├── jquery.corner.js
│ ├── jquery.easing.1.3.js
│ ├── language
│ │ ├── ar.js
│ │ ├── ca.js
│ │ ├── de-DE.js
│ │ ├── en-US.js
│ │ ├── eo.js
│ │ ├── es-ES.js
│ │ ├── he-IL.js
│ │ ├── id-ID.js
│ │ ├── it-IT.js
│ │ ├── ja-JP.js
│ │ ├── ko-KR.js
│ │ ├── no.js
│ │ ├── pl-PL.js
│ │ ├── pt-BR.js
│ │ ├── ru-RU.js
│ │ ├── tr-TR.js
│ │ ├── zh-CN.js
│ │ └── zh-TW.js
│ ├── sound.mp3
│ ├── tipTipv13
│ │ ├── jquery.tipTip.js
│ │ ├── jquery.tipTip.minified.js
│ │ └── tipTip.css
│ └── translator.js
└── style
│ ├── animation_off.png
│ ├── animation_on.png
│ ├── balloon
│ ├── blue.png
│ ├── brown.png
│ ├── carrot.png
│ ├── cobalt.png
│ ├── gray.png
│ ├── green.png
│ ├── kanra.png
│ ├── orange.png
│ ├── pink.png
│ ├── red.png
│ ├── setton.png
│ ├── strawberry.png
│ ├── tanaka.png
│ ├── yellow.png
│ └── zaika.png
│ ├── bg_button_a.gif
│ ├── bg_button_span.gif
│ ├── icon
│ ├── admin.gif
│ ├── admin.png
│ ├── bakyura.png
│ ├── chinese.png
│ ├── gg.gif
│ ├── gg.png
│ ├── izaya.png
│ ├── kanra.gif
│ ├── kanra.png
│ ├── koukin.png
│ ├── lady.png
│ ├── lolita.png
│ ├── saika.gif
│ ├── saika.png
│ ├── setton.gif
│ ├── setton.png
│ ├── shinra.png
│ ├── simon.png
│ ├── sizuo.png
│ ├── tanaka.gif
│ ├── tanaka.png
│ ├── woman.png
│ ├── zawa.gif
│ └── zawa.png
│ ├── jquery-mobile
│ ├── index.html
│ └── themes
│ │ ├── dura.css
│ │ ├── dura.min.css
│ │ └── images
│ │ ├── ajax-loader.gif
│ │ ├── icons-18-black.png
│ │ ├── icons-18-white.png
│ │ ├── icons-36-black.png
│ │ └── icons-36-white.png
│ ├── member_off.png
│ ├── member_on.png
│ ├── setting.png
│ ├── sound_off.png
│ ├── sound_on.png
│ ├── style.css
│ ├── submit.gif
│ └── tail.png
└── trust_path
├── .htaccess
├── Dura.php
├── Dura
├── Abstract
│ ├── Controller.php
│ └── View.php
├── Autoloader.php
├── Class
│ ├── Array.php
│ ├── Icon.php
│ ├── Ticket.php
│ ├── User.php
│ ├── Xml.php
│ └── XmlHandler.php
├── Controller
│ ├── Admin.php
│ ├── AdminAnnounce.php
│ ├── CreateRoom.php
│ ├── Default.php
│ ├── Logout.php
│ ├── Lounge.php
│ ├── Page.php
│ ├── Room.php
│ └── RoomAjax.php
├── Exception.php
├── Model
│ ├── Http.php
│ ├── Http
│ │ └── Expires.php
│ ├── Lang.php
│ ├── Lang
│ │ ├── List.php
│ │ └── Loader.php
│ ├── Room.php
│ └── Room
│ │ ├── Session.php
│ │ ├── Xml.php
│ │ └── XmlHandler.php
├── Resource
│ ├── Colors.php
│ └── Lang
│ │ ├── ar.php
│ │ ├── ca.php
│ │ ├── de-DE.php
│ │ ├── en-US.php
│ │ ├── eo.php
│ │ ├── es-ES.php
│ │ ├── he-IL.php
│ │ ├── id-ID.php
│ │ ├── it-IT.php
│ │ ├── ja-JP.php
│ │ ├── ko-KR.php
│ │ ├── list.php
│ │ ├── no.php
│ │ ├── pl-PL.php
│ │ ├── pt-BR.php
│ │ ├── ru-RU.php
│ │ ├── tr-TR.php
│ │ ├── zh-CN.php
│ │ └── zh-TW.php
└── Syntax
│ ├── syntax.func.php
│ └── syntax.json.php
├── bootstrap.php
├── data
└── xml
│ └── .gitkeep
├── readme
├── .htaccess
├── License.txt
├── image.docx
├── readme-en.html
├── readme-ja.html
├── update1.0.1-to-1.0.2.txt
└── update1.0.2-to-1.0.3.txt
├── setting.dist.php
├── template
├── admin.default.php
├── admin_announce.default.php
├── create_room.default.php
├── default.default.php
├── footer.html
├── header.html
├── lounge.default.php
├── page.about.php
├── room.askpw.php
├── room.default.php
├── theme.php
└── trans.php
└── tpl
├── admin.default.php
├── admin_announce.default.php
├── create_room.default.php
├── default.default.header.php
├── default.default.php
├── default.logout.php
├── html.footer.php
├── html.header.php
├── lounge.default.btn.php
├── lounge.default.php
├── page.about.header.php
├── page.about.php
├── room.askpw.php
├── room.default.header.php
├── room.default.js.chat.php
├── room.default.js.sound.php
├── room.default.php
├── room.default.talks.talk.php
├── room.options.php
├── theme.content.secondary.php
├── theme.copyright.php
├── theme.css.php
├── theme.default.btn.share.php
├── theme.error.php
├── theme.footer.php
├── theme.header.js.core.php
├── theme.header.php
├── theme.js.dura.php
├── theme.page.header.php
├── theme.php
├── theme.switch.php
└── trans.php
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | /dura/trust_path/bootstrap.options.php
3 | /dura/trust_path/test.php
4 | ~*
5 |
--------------------------------------------------------------------------------
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "dura/js/SoundManager2"]
2 | path = dura/js/SoundManager2
3 | url = https://github.com/scottschiller/SoundManager2.git
4 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## ◆概要
2 |
3 | アニメデュラララに出てくるチャットをモデルに作成したAjaxベースのチャットアプリケーションです。
4 | [http://suin.asia/2010/03/26/durarara_like_chat](http://suin.asia/2010/03/26/durarara_like_chat)
5 |
6 |
7 | ## ◆開発動機
8 |
9 | ・デュララに登場するチャットのインターフェイスが好き
10 | ・リアルタイムチャットはJavaやFlashが主流だが、PHPでもAjaxを駆使すれば実現可能ではないかという技術的な関心(特別な話ではない)
11 |
12 |
13 | ## ◆開発方針
14 |
15 | ・アニメに忠実に
16 |
17 |
18 | ## ◆ライセンス
19 |
20 | 本アプリケーションはオープンソースであり、ライセンスはGPL3になります。
21 | ・本アプリケーションが無保証である
22 | あなたはGPL3ライセンスに同意することで次の自由を行使できます。
23 | ・本アプリケーションを無制限に実行・利用する
24 | あなたは以下を遵守することでソースコードを研究・改良・修正・再頒布・翻訳することができます。
25 | ・本アプリケーションの著作権表示を目立つ場所に適切に表示する
26 | ・本アプリケーションのライセンスを目立つ場所に適切に表示する
27 | ・本アプリケーションの再頒布物や二次的著作物にもGPL3ライセンスを適用する
28 | 詳しくはLicense.txtを御覧下さい。
29 |
30 |
31 | ## ◆動作要件
32 |
33 | ・PHP 5.2.11- (運が良ければ、5.2.0-で動くかも)
34 | ・mbstring
35 | ・/trust_path/xmlへの書き込み権限 [0777]
36 |
37 |
38 | ## ◆設置方法
39 |
40 | /duraを任意の場所に設置
41 | /trust_path/xml に書き込み権限を与える
42 |
43 |
44 | ## ◆設定
45 |
46 | setting.dist.phpをsetting.phpにリネームしてから修正してください。
47 |
48 |
49 | ## ◆ビープ音の有効化
50 |
51 | このパッケージにはライセンスの都合上、ビープ音の音源が付属しておりません。
52 | ビープ音を有効にするには、各自でsound.mp3を用意し、/jsに配置してください。
53 |
54 |
55 | ## ◆画像アイコンの追加
56 |
57 | アイコンはicon_XXXX.gifという名前で、/cssディレクトリに配置してください。
58 | なお、アイコンを追加した場合は、/css/style.cssを修正する必要があります。(CSSの知識が必要)
59 |
60 |
61 | ## ◆翻訳・ローカリゼーション
62 |
63 | 以下の各ディレクトリに、言語コード-国コード.php, 言語コード-国コード.jsをUTF-8エンコードで作ってください。
64 | 言語コードは"ISO 639 Language Codes"を参考にしてください。
65 | ja-JP.php, ja-JP.jsをコピー&リネームして翻訳するのが楽です。
66 |
67 | /trust_path/language/
68 | /js/language/
69 |
70 | 例:
71 | /trust_path/language/en-US.php // 英語(アメリカ)
72 | /js/language/en-US.js
73 | /trust_path/language/zh-TW.php // 中国語(台湾)
74 | /js/language/zh-TW.js
75 | /trust_path/language/ko-KR.php // 韓国語(韓国)
76 | /js/language/ko-KR.js
77 |
78 | 言語対訳ファイルは左が原文、右が翻訳です。
79 | 左は修正せず、右を各言語に翻訳するようにしてください。
80 |
81 | 例:
82 | 原文 翻訳
83 | "Please input name." => "名前を決めてください。", // *.php
84 | "Please input name." : "名前を決めてください。", // *.js
85 |
86 | 言語の設定はsetting.phpのDURA_LANGUAGEで指定します。
--------------------------------------------------------------------------------
/dura/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/favicon.ico
--------------------------------------------------------------------------------
/dura/index.php:
--------------------------------------------------------------------------------
1 |
10 | * @copyright 2010 Hidehito NOZAWA
11 | * @license http://www.gnu.org/licenses/gpl-3.0.html GNU GPL v3
12 | *
13 | */
14 |
15 | /*
16 | if ( file_exists('setting.php') )
17 | {
18 | require 'setting.php';
19 | }
20 | else
21 | {
22 | require 'setting.dist.php';
23 | }
24 |
25 | require 'dura.php';
26 | */
27 | require_once dirname(__file__) . '/trust_path/bootstrap.php';
28 |
29 | Dura::setup();
30 | Dura::execute();
31 |
--------------------------------------------------------------------------------
/dura/please_rename.htaccess:
--------------------------------------------------------------------------------
1 | RewriteEngine on
2 | RewriteCond %{REQUEST_FILENAME} !-d
3 | RewriteCond %{REQUEST_FILENAME} !-f
4 | RewriteRule ^([a-z0-9_]+)/*$ index.php?controller=$1&%{QUERY_STRING} [L]
5 | RewriteRule ^([a-z0-9_]+)/([a-z0-9_]+)/*$ index.php?controller=$1&action=$2&%{QUERY_STRING} [L]
6 |
--------------------------------------------------------------------------------
/dura/robots.txt:
--------------------------------------------------------------------------------
1 | #
2 | # robots.txt for Durarara-like-chat
3 | #
4 |
5 | User-agent: *
6 |
7 | Disallow: /?controller=admin*
8 | Disallow: /index.php?controller=admin*
9 | Disallow: /admin/
10 |
11 | Allow: /
12 |
--------------------------------------------------------------------------------
/dura/static/img/apple-touch-icon-precomposed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/img/apple-touch-icon-precomposed.png
--------------------------------------------------------------------------------
/dura/static/img/lang/en-US.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/img/lang/en-US.png
--------------------------------------------------------------------------------
/dura/static/img/lang/eo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/img/lang/eo.png
--------------------------------------------------------------------------------
/dura/static/img/lang/es-ES.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/img/lang/es-ES.png
--------------------------------------------------------------------------------
/dura/static/img/lang/id-ID.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/img/lang/id-ID.png
--------------------------------------------------------------------------------
/dura/static/img/lang/it-IT.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/img/lang/it-IT.png
--------------------------------------------------------------------------------
/dura/static/img/lang/ja-JP.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/img/lang/ja-JP.png
--------------------------------------------------------------------------------
/dura/static/img/lang/ko-KR.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/img/lang/ko-KR.png
--------------------------------------------------------------------------------
/dura/static/img/lang/pl-PL.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/img/lang/pl-PL.png
--------------------------------------------------------------------------------
/dura/static/img/lang/pt-BR.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/img/lang/pt-BR.png
--------------------------------------------------------------------------------
/dura/static/img/lang/ru-RU.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/img/lang/ru-RU.png
--------------------------------------------------------------------------------
/dura/static/img/lang/zh-CN.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/img/lang/zh-CN.png
--------------------------------------------------------------------------------
/dura/static/img/lang/zh-TW.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/img/lang/zh-TW.png
--------------------------------------------------------------------------------
/dura/static/js/language/ar.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : ".هل يمكنك التوقف عن ارسال الرسالة نفسها؟ إذا ضغطت على 'إلغاء' يمكنك ارسالها مرة اخرى",
3 | "Session time out." : ".قطع الاتصال",
4 | "Room was deleted." : ".غرفة غير موجودة",
5 | "Login error." : "خطأ: قطع الاتصال",
6 | "Sending..." : "...جاري الارسال",
7 | "POST!" : "!إرسال",
8 | "Are you sure to logout?" : "هل أنت متأكد من تسجيل الخروج؟",
9 | "Are you sure to handover host rights?": "هل أنت متأكد من إعطاء صلاحيات المضيف؟",
10 | "Are you sure to ban this user?" : "هل أنت متأكد من حظر هذا المستخدم؟"
11 | };
--------------------------------------------------------------------------------
/dura/static/js/language/ca.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : "Podries deixar d'escriure el mateix missatge? Si prems 'Cancel·lar' pots tornar-lo a enviar.",
3 |
4 | "Session time out." : "Desconectat.",
5 | "Room was deleted." : "Sala no trobada.",
6 | "Login error." : "Error: Desconectat.",
7 |
8 | "Sending..." : "Enviant...",
9 | "POST!" : "POST!",
10 | "Are you sure to logout?" : "Estàs segur de que vols sortir?",
11 |
12 | "Are you sure to handover host rights?": "Estàs segur de traspasar el teus drets d'hoste?",
13 | "Are you sure to ban this user?" : "Estàs segur de no permetre l'entrada a aquest usuari?"
14 |
15 | };
--------------------------------------------------------------------------------
/dura/static/js/language/de-DE.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : "Hoerst du auf immer die selbe Nachricht zu schreiben ? Wenn du auf 'Abbruch' klickst kannst du sie erneut senden.",
3 | "Session time out." : "Verbindung getrennt.",
4 | "Room was deleted." : "Chat Room wurde nicht gefunden.",
5 | "Login error." : "Fehler: Verbindung getrennt.",
6 | "Sending..." : "Senden...",
7 | "POST!" : "POST!",
8 | "Are you sure to logout?" : "Willst du dich wirklich Abmelden?",
9 | "Are you sure to handover host rights?": "Bist du dir sicher das du die Host Rechte abgeben willst?",
10 | "Are you sure to ban this user?" : "Willst du diesen User sperren?"
11 | };
--------------------------------------------------------------------------------
/dura/static/js/language/en-US.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : "Will you stop sending the same message? If you click 'Cancel' you can send it again.",
3 | "Session time out." : "Disconnected.",
4 | "Room was deleted." : "Room not found.",
5 | "Login error." : "Error: Disconnected.",
6 | "Sending..." : "Sending...",
7 | "POST!" : "POST!",
8 | "Are you sure to logout?" : "Are you sure to logout?",
9 | "Are you sure to handover host rights?": "Are you sure to handover host rights?",
10 |
11 | // Added 2011-08-29
12 | "Are you sure to kick this user?" : "Are you sure to kick this user?",
13 |
14 | "Are you sure to ban this user?" : "Are you sure to ban this user?"
15 | };
--------------------------------------------------------------------------------
/dura/static/js/language/eo.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : "Ĉu vi volas resendi saman mesaĝon? Alklaku “Nuligi” jeskaze.",
3 | "Session time out." : "Malkonektiĝas",
4 | "Room was deleted." : "La ĉambro estas forigita",
5 | "Login error." : "Okazas eraro dum ensalutado",
6 | "Sending..." : "Sendante...",
7 | "POST!" : "SENDU!",
8 | "Are you sure to logout?" : "Ĉu vi vere volas elsaluti?",
9 | "Are you sure to handover host rights?": "Ĉu vi vere volas transdoni ĉambrestran rajton?",
10 | "Are you sure to ban this user?" : "Ĉu vi vere volas forigi la anon?"
11 | };
--------------------------------------------------------------------------------
/dura/static/js/language/es-ES.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : "¿Va a dejar de enviar el mismo mensaje? Si hace clic en \"Cancelar\" puede enviarlo de nuevo.",
3 | "Session time out." : "Desconectado.",
4 | "Room was deleted." : "Sala no encontrada.",
5 | "Login error." : "Error: Desconectado.",
6 | "Sending..." : "Enviando...",
7 | "POST!" : "¡POST!",
8 | "Are you sure to logout?" : "¿Estás seguro de cerrar la sesión?",
9 | "Are you sure to handover host rights?": "¿Estás seguro de dejar los derechos?",
10 | "Are you sure to ban this user?" : "¿Estás seguro de prohibir a este usuario?"
11 | };
12 |
--------------------------------------------------------------------------------
/dura/static/js/language/he-IL.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : "אנא הפסק לשלוח את אותה ההודעה שוב ושוב. לחץ על 'ביטול' כדי לשלוח מחדש..",
3 | "Session time out." : "השרת נותק",
4 | "Room was deleted." : "החדר המבוקש לא נמצא.",
5 | "Login error." : "שגיאה בחיבור.",
6 | "Sending..." : "שולח...",
7 | "POST!" : "שלח!",
8 | "Are you sure to logout?" : "האם אתה בטוח שברצונך להתנתק?",
9 | "Are you sure to handover host rights?": "האם אתה בטוח שברצונך להעביר את בעלות המארח?",
10 | "Are you sure to ban this user?" : "אתה בטוח שאתה רוצה לתת באן למשתמש זה?"
11 | };
12 |
--------------------------------------------------------------------------------
/dura/static/js/language/id-ID.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : "Will you stop sending the same message? If you click 'Cancel' you can send it again.",
3 | "Session time out." : "terputus dari server.",
4 | "Room was deleted." : "room tidak di temukan.",
5 | "Login error." : "Error: terputus dari server.",
6 | "Sending..." : "Mengirim...",
7 | "POST!" : "POST!",
8 | "Are you sure to logout?" : "apakah anda benar-benar ingin logout?",
9 | "Are you sure to handover host rights?": "apakah anda benar-benar ingin memberikan/memindahkan host?",
10 | "Are you sure to ban this user?" : "apakah anda yakin mem-Ban User ini?"
11 | };
--------------------------------------------------------------------------------
/dura/static/js/language/it-IT.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : "Stai inviando un
3 | doppione. Premi 'Ok' per fermare il messaggio o 'Cancel' per inviarlo ugualmente.",
4 | "Session time out." : "Disconnesso.",
5 | "Room was deleted." : "La stanza non esiste più.",
6 | "Login error." : "Errore di Login: Disconnesso.",
7 | "Sending..." : "Invio in corso...",
8 | "POST!" : "INVIA!",
9 | "Are you sure to logout?" : "Sei sicuro di voler effettuare il log out?",
10 | "Are you sure to handover host rights?": "Sei sicuro di voler cedere l'host?",
11 | "Are you sure to ban this user?" : "Sei sicuro di voler bannare questo utente?"
12 | };
--------------------------------------------------------------------------------
/dura/static/js/language/ja-JP.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : "連続送信を中止しますか?「キャンセル」を押すと再送信します。",
3 | "Session time out." : "接続が切れました。",
4 | "Room was deleted." : "削除されたなどの理由で部屋が見つかりません。",
5 | "Login error." : "ログインエラー:接続が切れました。",
6 | "Sending..." : "送信中",
7 | "POST!" : "POST!",
8 | "Are you sure to logout?" : "ログアウトしますか?",
9 | "Are you sure to handover host rights?": "管理権限を明け渡して良いですか?",
10 |
11 | "Are you sure to kick this user?" : "退室させて良いですか?",
12 | "Are you sure to ban this user?" : "退室させて入室不可にします。よろしいですか?"
13 |
14 | };
--------------------------------------------------------------------------------
/dura/static/js/language/ko-KR.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : "연속송신을 취소하겠습니까? '취소'를 누르시면 다시 송신됩니다.",
3 | "Session time out." : "접속이 끊겼습니다.",
4 | "Room was deleted." : "방이 없습니다.",
5 | "Login error." : "로그인 오류: 접속이 끊겼습니다.",
6 | "Sending..." : "송신중",
7 | "POST!" : "POST!",
8 | "Are you sure to logout?" : "로그아웃하시겠습니까?",
9 | "Are you sure to handover host rights?": "정말로 관리 권한을 옮겨도 됩니까?",
10 |
11 | "Are you sure to kick this user?" : "정말로 퇴실시키겠습니까?",
12 | "Are you sure to ban this user?" : "제입실금지로 합니다. 정말로 퇴실시키겠습니까?"
13 |
14 | };
--------------------------------------------------------------------------------
/dura/static/js/language/no.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : "Vil du stoppe å sende samme beskjed? Om du klikker ’Avbryt’ kan du sende den igjen.",
3 | "Session time out." : "Frakoblet.",
4 | "Room was deleted." : "Rom slettet",
5 | "Login error." : "Feil: Frakoblet.",
6 | "Sending..." : "Sender...",
7 | "POST!" : "SEND!",
8 | "Are you sure to logout?" : "Er du sikker på at du vil logge ut?",
9 | "Are you sure to handover host rights?": "Er du sikker på at du vil levere vertsrettigheter?",
10 | "Are you sure to ban this user?" : "Er du sikker på at du vil stenge brukeren ute?"
11 | };
--------------------------------------------------------------------------------
/dura/static/js/language/pl-PL.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : "Można zatrzymać wysyłanie tej samej wiadomości? Jeśli klikniesz przycisk \"Anuluj\" , można wysłać go ponownie.
3 |
4 | ",
5 | "Session time out." : "Odłączony.",
6 | "Room was deleted." : "Pokój nie został odnaleziony.",
7 | "Login error." : "Błąd logowania.",
8 |
9 | "Sending..." : "Wysyłanie...",
10 | "POST!" : "POST!",
11 | "Are you sure to logout?" : "Czy na pewno wylogować?",
12 |
13 | "Are you sure to handover host rights?": "Czy na pewno masz coś do przekazania administratorowi?",
14 |
15 | // Added 2011-08-29
16 | "Are you sure to kick this user?" : "Na pewno chcesz wyrzucić tego użytkownika?",
17 | "Are you sure to ban this user?" : "Na pewno chcesz zbanować tego użytkownika?"
18 |
19 | };
--------------------------------------------------------------------------------
/dura/static/js/language/pt-BR.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : "Poderia parar de mandar a mesma mensagem? Se clicar ‘Cancelar’ você poderá mandar a mensagem de novo.",
3 | "Session time out." : "Desconectado(a).",
4 | "Room was deleted." : "Sala não encontrada.",
5 | "Login error." : "Erro: Desconectado(a).",
6 | "Sending..." : "Enviando...",
7 | "POST!" : "POSTAR!",
8 | "Are you sure to logout?" : "Tem certeza que quer sair?",
9 | "Are you sure to handover host rights?": "Tem certeza que quer passar os direitos de proprietário da sala?",
10 | "Are you sure to ban this user?" : "Tem certeza que quer banir este usário?"
11 | };
--------------------------------------------------------------------------------
/dura/static/js/language/ru-RU.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : "Может быть вы перестанете посылать одинаковые сообщения? Если вы нажмёте \"Отмена\", вы сможете послать его опять.",
3 | "Session time out." : "Обрыв связи",
4 | "Room was deleted." : "Комната не найдена.",
5 | "Login error." : "Ошибка : Обрыв связи.",
6 | "Sending..." : "Посылаю...",
7 | "POST!" : "Послать!",
8 | "Are you sure to logout?" : "Вы точно хотите выйти?",
9 | "Are you sure to handover host rights?": "Вы уверены что хотите передать права модератора?",
10 |
11 | "Are you sure to kick this user?" : "Вы уверены, что хотите кикнуть этого пользователя?",
12 | "Are you sure to ban this user?" : "Вы уверены, что хотите заблокировать этого пользователя?"
13 |
14 | };
--------------------------------------------------------------------------------
/dura/static/js/language/tr-TR.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : "Aynı mesajı göndermeyi durduracakmısın? Eğer 'İptal' e basarsan, bir daha gönderebilirsin.",
3 | "Session time out." : "Bağlantı zaman aşımına uğradı.",
4 | "Room was deleted." : "Oda silindi..",
5 | "Login error." : "Hata: Bağlantı kesildi.",
6 | "Sending..." : "Gönderiyor...",
7 | "POST!" : "GÖNDER!",
8 | "Are you sure to logout?" : "Çıkmak istediğinizden emin misiniz?",
9 | "Are you sure to handover host rights?": "Bu odanın sahipliğini devretmek istediğinizden emin misiniz?",
10 | "Are you sure to ban this user?" : "Bu kullanıcıyı Banlamak istediğinizden emin misiniz?"
11 | };
12 |
--------------------------------------------------------------------------------
/dura/static/js/language/zh-CN.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : "是否确认发送相同的信息?按「取消」继续发送。",
3 | "Session time out." : "与服务器的连接被断开。可能是您的网络问题",
4 | "Room was deleted." : "房间已被删除",
5 | "Login error." : "登陆错误:与服务器连接超时。",
6 | "Sending..." : "发送中",
7 | "POST!" : "P O S T !",
8 | "Are you sure to logout?" : "是否确定退出",
9 | "Are you sure to handover host rights?": "是否确定修改房间管理员。",
10 |
11 | // bluelovers
12 | "Are you sure to kick this user?" : "是否踢出该成员",
13 | "Are you sure to ban this user?" : "是否禁止该成员",
14 | };
--------------------------------------------------------------------------------
/dura/static/js/language/zh-TW.js:
--------------------------------------------------------------------------------
1 | Translator.catalog = {
2 | "Will you stop sending the same message? If you click 'Cancel' you can send it again." : "是否確定發送相同訊息?按「取消」後重複發送。",
3 | "Session time out." : "已中斷連線。",
4 | "Room was deleted." : "部屋已被刪除。",
5 | "Login error." : "登入錯誤:已中斷連線。",
6 | "Sending..." : "送信中",
7 | "POST!" : "P O S T !",
8 | "Are you sure to logout?" : "是否確定登出?",
9 | "Are you sure to handover host rights?": "是否確定變更部屋管理人?",
10 |
11 | // bluelovers
12 | "Are you sure to kick this user?" : "是否確定強制退出該成員?",
13 | "Are you sure to ban this user?" : "是否確定強制封鎖該成員?"
14 | };
--------------------------------------------------------------------------------
/dura/static/js/sound.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/js/sound.mp3
--------------------------------------------------------------------------------
/dura/static/js/tipTipv13/tipTip.css:
--------------------------------------------------------------------------------
1 | /* TipTip CSS - Version 1.2 */
2 |
3 | #tiptip_holder {
4 | display: none;
5 | position: absolute;
6 | top: 0;
7 | left: 0;
8 | z-index: 99999;
9 | }
10 |
11 | #tiptip_holder.tip_top {
12 | padding-bottom: 5px;
13 | }
14 |
15 | #tiptip_holder.tip_bottom {
16 | padding-top: 5px;
17 | }
18 |
19 | #tiptip_holder.tip_right {
20 | padding-left: 5px;
21 | }
22 |
23 | #tiptip_holder.tip_left {
24 | padding-right: 5px;
25 | }
26 |
27 | #tiptip_content {
28 | font-size: 11px;
29 | color: #fff;
30 | text-shadow: 0 0 2px #000;
31 | padding: 4px 8px;
32 | border: 1px solid rgba(255,255,255,0.25);
33 | background-color: rgb(25,25,25);
34 | background-color: rgba(25,25,25,0.92);
35 | background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));
36 | border-radius: 3px;
37 | -webkit-border-radius: 3px;
38 | -moz-border-radius: 3px;
39 | box-shadow: 0 0 3px #555;
40 | -webkit-box-shadow: 0 0 3px #555;
41 | -moz-box-shadow: 0 0 3px #555;
42 | }
43 |
44 | #tiptip_arrow, #tiptip_arrow_inner {
45 | position: absolute;
46 | border-color: transparent;
47 | border-style: solid;
48 | border-width: 6px;
49 | height: 0;
50 | width: 0;
51 | }
52 |
53 | #tiptip_holder.tip_top #tiptip_arrow {
54 | border-top-color: #fff;
55 | border-top-color: rgba(255,255,255,0.35);
56 | }
57 |
58 | #tiptip_holder.tip_bottom #tiptip_arrow {
59 | border-bottom-color: #fff;
60 | border-bottom-color: rgba(255,255,255,0.35);
61 | }
62 |
63 | #tiptip_holder.tip_right #tiptip_arrow {
64 | border-right-color: #fff;
65 | border-right-color: rgba(255,255,255,0.35);
66 | }
67 |
68 | #tiptip_holder.tip_left #tiptip_arrow {
69 | border-left-color: #fff;
70 | border-left-color: rgba(255,255,255,0.35);
71 | }
72 |
73 | #tiptip_holder.tip_top #tiptip_arrow_inner {
74 | margin-top: -7px;
75 | margin-left: -6px;
76 | border-top-color: rgb(25,25,25);
77 | border-top-color: rgba(25,25,25,0.92);
78 | }
79 |
80 | #tiptip_holder.tip_bottom #tiptip_arrow_inner {
81 | margin-top: -5px;
82 | margin-left: -6px;
83 | border-bottom-color: rgb(25,25,25);
84 | border-bottom-color: rgba(25,25,25,0.92);
85 | }
86 |
87 | #tiptip_holder.tip_right #tiptip_arrow_inner {
88 | margin-top: -6px;
89 | margin-left: -5px;
90 | border-right-color: rgb(25,25,25);
91 | border-right-color: rgba(25,25,25,0.92);
92 | }
93 |
94 | #tiptip_holder.tip_left #tiptip_arrow_inner {
95 | margin-top: -6px;
96 | margin-left: -7px;
97 | border-left-color: rgb(25,25,25);
98 | border-left-color: rgba(25,25,25,0.92);
99 | }
100 |
101 | /* Webkit Hacks */
102 | @media screen and (-webkit-min-device-pixel-ratio:0) {
103 | #tiptip_content {
104 | padding: 4px 8px 5px 8px;
105 | background-color: rgba(45,45,45,0.88);
106 | }
107 | #tiptip_holder.tip_bottom #tiptip_arrow_inner {
108 | border-bottom-color: rgba(45,45,45,0.88);
109 | }
110 | #tiptip_holder.tip_top #tiptip_arrow_inner {
111 | border-top-color: rgba(20,20,20,0.92);
112 | }
113 | }
--------------------------------------------------------------------------------
/dura/static/js/translator.js:
--------------------------------------------------------------------------------
1 | var Translator = function()
2 | {
3 | this.catalog = {};
4 |
5 | this.translate = function(message)
6 | {
7 | try
8 | {
9 | if ( Translator.catalog[message] )
10 | {
11 | return Translator.catalog[message];
12 | }
13 | }
14 | catch(e)
15 | {
16 | }
17 |
18 | return message;
19 | };
20 |
21 | return this;
22 | }
23 |
24 | translator = new Translator();
25 |
26 | function t(message)
27 | {
28 | return translator.translate(message);
29 | }
30 |
31 | jQuery(function($){
32 |
33 | user = typeof user == 'undefined' ? {
34 | language : 'zh-TW',
35 | } : user;
36 |
37 | var _translate_func = function(event) {
38 | var _this = $(this);
39 |
40 | if (_this.prop('data-toggle') == -1) return;
41 |
42 | if (_this.prop('data-source')) {
43 |
44 | switch(event.type) {
45 | case 'mouseleave':
46 | _this.prop('data-toggle', 1);
47 | break;
48 | case 'mouseenter':
49 | _this.prop('data-toggle', 0);
50 | break;
51 | }
52 |
53 | _this
54 | .html(_this.prop('data-toggle') ? _this.prop('data-source') : _this.prop('data-translate'))
55 | .prop('data-toggle', _this.prop('data-toggle') ? 0 : 1)
56 | ;
57 | } else {
58 | _this
59 | .prop({
60 | 'data-source' : _this.html(),
61 | 'title' : _this.text()
62 | })
63 | .prop('data-toggle', -1)
64 | ;
65 |
66 | google.language.translate({text: _this.html(), type: 'html'}, '', user.language, function(result) {
67 | _this.prop('data-translate', result.translation);
68 |
69 | if (!_this.prop('data-translate') || result.translation == _this.prop('data-source')) {
70 | _this.prop('data-toggle', -1);
71 | } else if (_this.prop('data-toggle')) {
72 | _this.html(_this.prop('data-translate'));
73 | _this.prop('data-toggle', 1);
74 | }
75 | })
76 | }
77 | };
78 |
79 | $('#talks_box').delegate('.talk .body', {
80 | 'mouseenter' : _translate_func,
81 | 'mouseleave' : _translate_func
82 | });
83 | /*
84 | $('.rooms').delegate('.name', {
85 | 'mouseenter' : _translate_func,
86 | 'mouseleave' : _translate_func
87 | });
88 | */
89 | });
90 |
--------------------------------------------------------------------------------
/dura/static/style/animation_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/animation_off.png
--------------------------------------------------------------------------------
/dura/static/style/animation_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/animation_on.png
--------------------------------------------------------------------------------
/dura/static/style/balloon/blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/balloon/blue.png
--------------------------------------------------------------------------------
/dura/static/style/balloon/brown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/balloon/brown.png
--------------------------------------------------------------------------------
/dura/static/style/balloon/carrot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/balloon/carrot.png
--------------------------------------------------------------------------------
/dura/static/style/balloon/cobalt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/balloon/cobalt.png
--------------------------------------------------------------------------------
/dura/static/style/balloon/gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/balloon/gray.png
--------------------------------------------------------------------------------
/dura/static/style/balloon/green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/balloon/green.png
--------------------------------------------------------------------------------
/dura/static/style/balloon/kanra.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/balloon/kanra.png
--------------------------------------------------------------------------------
/dura/static/style/balloon/orange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/balloon/orange.png
--------------------------------------------------------------------------------
/dura/static/style/balloon/pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/balloon/pink.png
--------------------------------------------------------------------------------
/dura/static/style/balloon/red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/balloon/red.png
--------------------------------------------------------------------------------
/dura/static/style/balloon/setton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/balloon/setton.png
--------------------------------------------------------------------------------
/dura/static/style/balloon/strawberry.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/balloon/strawberry.png
--------------------------------------------------------------------------------
/dura/static/style/balloon/tanaka.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/balloon/tanaka.png
--------------------------------------------------------------------------------
/dura/static/style/balloon/yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/balloon/yellow.png
--------------------------------------------------------------------------------
/dura/static/style/balloon/zaika.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/balloon/zaika.png
--------------------------------------------------------------------------------
/dura/static/style/bg_button_a.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/bg_button_a.gif
--------------------------------------------------------------------------------
/dura/static/style/bg_button_span.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/bg_button_span.gif
--------------------------------------------------------------------------------
/dura/static/style/icon/admin.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/admin.gif
--------------------------------------------------------------------------------
/dura/static/style/icon/admin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/admin.png
--------------------------------------------------------------------------------
/dura/static/style/icon/bakyura.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/bakyura.png
--------------------------------------------------------------------------------
/dura/static/style/icon/chinese.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/chinese.png
--------------------------------------------------------------------------------
/dura/static/style/icon/gg.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/gg.gif
--------------------------------------------------------------------------------
/dura/static/style/icon/gg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/gg.png
--------------------------------------------------------------------------------
/dura/static/style/icon/izaya.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/izaya.png
--------------------------------------------------------------------------------
/dura/static/style/icon/kanra.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/kanra.gif
--------------------------------------------------------------------------------
/dura/static/style/icon/kanra.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/kanra.png
--------------------------------------------------------------------------------
/dura/static/style/icon/koukin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/koukin.png
--------------------------------------------------------------------------------
/dura/static/style/icon/lady.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/lady.png
--------------------------------------------------------------------------------
/dura/static/style/icon/lolita.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/lolita.png
--------------------------------------------------------------------------------
/dura/static/style/icon/saika.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/saika.gif
--------------------------------------------------------------------------------
/dura/static/style/icon/saika.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/saika.png
--------------------------------------------------------------------------------
/dura/static/style/icon/setton.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/setton.gif
--------------------------------------------------------------------------------
/dura/static/style/icon/setton.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/setton.png
--------------------------------------------------------------------------------
/dura/static/style/icon/shinra.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/shinra.png
--------------------------------------------------------------------------------
/dura/static/style/icon/simon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/simon.png
--------------------------------------------------------------------------------
/dura/static/style/icon/sizuo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/sizuo.png
--------------------------------------------------------------------------------
/dura/static/style/icon/tanaka.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/tanaka.gif
--------------------------------------------------------------------------------
/dura/static/style/icon/tanaka.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/tanaka.png
--------------------------------------------------------------------------------
/dura/static/style/icon/woman.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/woman.png
--------------------------------------------------------------------------------
/dura/static/style/icon/zawa.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/zawa.gif
--------------------------------------------------------------------------------
/dura/static/style/icon/zawa.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/icon/zawa.png
--------------------------------------------------------------------------------
/dura/static/style/jquery-mobile/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | jQuery Mobile: Theme Download
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
It Worked!
17 |
18 |
19 |
Your theme was successfully downloaded. You can use this page as a reference for how to link it up!
20 |
21 | <link rel="stylesheet" href="themes/dura.min.css" />
22 | <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile.structure-1.1.0.min.css" />
23 | <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
24 | <script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>
25 |
26 |
This is content color swatch "A" and a preview of a link.
27 |
28 |
29 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/dura/static/style/jquery-mobile/themes/images/ajax-loader.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/jquery-mobile/themes/images/ajax-loader.gif
--------------------------------------------------------------------------------
/dura/static/style/jquery-mobile/themes/images/icons-18-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/jquery-mobile/themes/images/icons-18-black.png
--------------------------------------------------------------------------------
/dura/static/style/jquery-mobile/themes/images/icons-18-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/jquery-mobile/themes/images/icons-18-white.png
--------------------------------------------------------------------------------
/dura/static/style/jquery-mobile/themes/images/icons-36-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/jquery-mobile/themes/images/icons-36-black.png
--------------------------------------------------------------------------------
/dura/static/style/jquery-mobile/themes/images/icons-36-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/jquery-mobile/themes/images/icons-36-white.png
--------------------------------------------------------------------------------
/dura/static/style/member_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/member_off.png
--------------------------------------------------------------------------------
/dura/static/style/member_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/member_on.png
--------------------------------------------------------------------------------
/dura/static/style/setting.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/setting.png
--------------------------------------------------------------------------------
/dura/static/style/sound_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/sound_off.png
--------------------------------------------------------------------------------
/dura/static/style/sound_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/sound_on.png
--------------------------------------------------------------------------------
/dura/static/style/submit.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/submit.gif
--------------------------------------------------------------------------------
/dura/static/style/tail.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/static/style/tail.png
--------------------------------------------------------------------------------
/dura/trust_path/.htaccess:
--------------------------------------------------------------------------------
1 | order deny,allow
2 | deny from all
3 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Abstract/Controller.php:
--------------------------------------------------------------------------------
1 |
10 | * @copyright 2010 Hidehito NOZAWA
11 | * @license http://www.gnu.org/licenses/gpl-3.0.html GNU GPL v3
12 | *
13 | */
14 |
15 | abstract class Dura_Abstract_Controller
16 | {
17 | protected $output = array();
18 | protected $template = null;
19 |
20 | protected $error = null;
21 |
22 | public $allowActions = array();
23 |
24 | public function __construct()
25 | {
26 | }
27 |
28 | public function main()
29 | {
30 | // bluelovers
31 | $this->_main_before();
32 |
33 | if (!empty(Dura::$action))
34 | {
35 |
36 | if (Dura::$action != Dura::DEFAULT_ACTION && !empty($this->allowActions) && !in_array(Dura::$action, $this->allowActions))
37 | {
38 | Dura::$action = Dura::DEFAULT_ACTION;
39 | }
40 |
41 | $_method = '_main_action_' . Dura::$action;
42 |
43 | if (method_exists($this, $_method))
44 | {
45 | $this->$_method();
46 | }
47 | }
48 |
49 | $this->_main_after();
50 | // bluelovers
51 | }
52 |
53 | function _main_before()
54 | {
55 |
56 | }
57 |
58 | function _main_after()
59 | {
60 |
61 | }
62 |
63 | function _getTplFile($template)
64 | {
65 | $t = str_replace(DURA_TEMPLATE_PATH, DURA_TEMPLATE_PATH.'/../tpl/', $template);
66 |
67 | if (file_exists($t))
68 | {
69 | $template = $t;
70 | }
71 |
72 | return $template;
73 | }
74 |
75 | protected function _view()
76 | {
77 |
78 | if (!$this->template)
79 | {
80 | $this->template = DURA_TEMPLATE_PATH . '/' . Dura::$controller . '.' . Dura::$action . '.php';
81 | }
82 |
83 | // debug new tpl
84 | $this->template = $this->_getTplFile($this->template);
85 |
86 | $this->_escapeHtml($this->output);
87 |
88 | /*
89 | ob_start();
90 | $this->_display($this->output);
91 | $content = ob_get_contents();
92 | ob_end_clean();
93 | */
94 | $content = Dura_Abstract_View::render($this->output, $this->template);
95 |
96 | $content->output();
97 | }
98 |
99 | protected function _display($dura)
100 | {
101 | require $this->template;
102 | }
103 |
104 | protected function _render($content, $dura)
105 | {
106 | /*
107 | require $this->_getTplFile(DURA_TEMPLATE_PATH . '/theme.php');
108 | */
109 | echo Dura_Abstract_View::render($dura, $this->_getTplFile(DURA_TEMPLATE_PATH . '/theme.php'), $content);
110 | }
111 |
112 | protected function _validateUser($chk = false)
113 | {
114 | if (Dura::user()->isUser() == $chk)
115 | {
116 | Dura::redirect();
117 | }
118 | }
119 |
120 | protected function _validateAdmin()
121 | {
122 | if (!Dura::user()->isAdmin())
123 | {
124 | Dura::redirect();
125 | }
126 | }
127 |
128 | protected function _escapeHtml(&$vars)
129 | {
130 | foreach ($vars as $key => &$var)
131 | {
132 | if (is_array($var))
133 | {
134 | $this->_escapeHtml($var);
135 | }
136 | elseif (!is_object($var))
137 | {
138 | $var = Dura::escapeHtml($var);
139 | }
140 | }
141 | }
142 |
143 | function _header()
144 | {
145 | Dura_Model_Http::header('Content-Type: ' + Dura_Model_Http::getContentType((string)$this->dataType) + '; charset=' . Dura::CHARSET);
146 | }
147 | }
148 |
149 |
150 | ?>
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Abstract/View.php:
--------------------------------------------------------------------------------
1 | output = &$output;
19 | $this->template = $template;
20 | }
21 |
22 | function __toString()
23 | {
24 | return (string)$this->body;
25 | }
26 |
27 | static function render(&$output, $template = null, $content = null)
28 | {
29 | $_this = new self(&$output, $template);
30 |
31 | $_this->content = $content;
32 |
33 | $content = $_this->_view();
34 |
35 | if ($_this->extend)
36 | {
37 | $content = self::render($_this->output, self::_getTplFile($_this->extend), $content);
38 | }
39 |
40 | $_this->body = $content;
41 |
42 | return $_this;
43 | }
44 |
45 | function output()
46 | {
47 | $output = $this->__toString();
48 |
49 | $output = preg_replace('/^[\s\n]*|[\s\n]*$/i', '', $output);
50 | $output = preg_replace('/[\s\r\n]*(\n)[\s\r\n]*/i', '\\1', $output);
51 |
52 | echo $output;
53 |
54 | return $this;
55 | }
56 |
57 | function slot($name, $content = null)
58 | {
59 | return self::render($this->output, self::_getTplFile($name), $content);
60 | }
61 |
62 | function _getTplFile($name)
63 | {
64 | $template = DURA_TEMPLATE_PATH . '/'.$name.'.php';
65 |
66 | $t = str_replace(DURA_TEMPLATE_PATH, DURA_TEMPLATE_PATH.'/../tpl/', $template);
67 |
68 | if (file_exists($t))
69 | {
70 | $template = $t;
71 | }
72 |
73 | return $template;
74 | }
75 |
76 | function extend($name)
77 | {
78 | $this->extend = $name;
79 | }
80 |
81 | protected function _view()
82 | {
83 | ob_start();
84 | $this->_display($this->output);
85 | $content = ob_get_contents();
86 | ob_end_clean();
87 |
88 | return $content;
89 | }
90 |
91 | protected function _display($dura)
92 | {
93 | @include($this->template);
94 | }
95 |
96 | function set($k, $v)
97 | {
98 | $this->output[$k] = $v;
99 |
100 | return $this;
101 | }
102 |
103 | function get($k, $default = null)
104 | {
105 | return (!isset($default) || isset($this->output[$k])) ? $this->output[$k] : $default;
106 | }
107 | }
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Autoloader.php:
--------------------------------------------------------------------------------
1 | unshiftAutoloader(array(__CLASS__, 'autoload'));
39 | }
40 |
41 | /**
42 | * Retrieve singleton instance
43 | *
44 | * @return Dura_Autoloader
45 | */
46 | public static function getInstance()
47 | {
48 | if (null === self::$_instance)
49 | {
50 | self::$_instance = new self();
51 | }
52 | return self::$_instance;
53 | }
54 |
55 | /**
56 | * Reset the singleton instance
57 | *
58 | * @return void
59 | */
60 | public static function resetInstance()
61 | {
62 | self::$_instance = null;
63 | }
64 |
65 | /**
66 | * Autoload a class
67 | *
68 | * @param string $class
69 | * @return bool
70 | */
71 | public static function autoload($class)
72 | {
73 | $self = self::getInstance();
74 |
75 | $autoloaders = array();
76 |
77 | foreach ($self->getRegisteredNamespaces() as $ns)
78 | {
79 | $ns_ = rtrim($ns, '_');
80 |
81 | if ($class == $ns_ || 0 === strpos($class, $ns))
82 | {
83 | $autoloaders = $self->getNamespaceAutoloaders($ns);
84 |
85 | break;
86 | }
87 | }
88 |
89 | if (empty($autoloaders) || empty($ns)) return false;
90 |
91 | // 解決 xdebug 會強制出現錯誤訊息的問題
92 | ob_start();
93 |
94 | foreach ($autoloaders as $autoloader)
95 | {
96 | try
97 | {
98 |
99 | if ($autoloader instanceof Zend_Loader_Autoloader_Interface)
100 | {
101 | if ($autoloader->autoload($class))
102 | {
103 | return true;
104 | }
105 | }
106 | elseif (is_callable($autoloader))
107 | {
108 | if (call_user_func($autoloader, $class))
109 | {
110 | return true;
111 | }
112 | }
113 | elseif (is_string($autoloader))
114 | {
115 | if (@call_user_func($self->_defaultAutoloader, $class, $autoloader))
116 | {
117 | return true;
118 | }
119 |
120 | }
121 |
122 | }
123 | catch (Exception $e)
124 | {
125 | $self->error[$ns][] = $e->getMessage();
126 | }
127 | }
128 |
129 | ob_end_clean();
130 |
131 | return false;
132 | }
133 |
134 | /**
135 | * Set autoloaders for a specific namespace
136 | *
137 | * @param array $autoloaders
138 | * @param string $namespace
139 | * @return Zend_Loader_Autoloader
140 | */
141 | protected function _setNamespaceAutoloaders(array $autoloaders, $namespace)
142 | {
143 | parent::_setNamespaceAutoloaders($autoloaders, $namespace);
144 |
145 | $this->registerNamespace($namespace);
146 |
147 | return $this;
148 | }
149 |
150 | /**
151 | * Append an autoloader to the autoloader stack
152 | *
153 | * @param object|array|string $callback PHP callback or Zend_Loader_Autoloader_Interface implementation
154 | * @param string|array $namespace Specific namespace(s) under which to register callback
155 | * @return Zend_Loader_Autoloader
156 | */
157 | public function pushAutoloader($callback, $namespace)
158 | {
159 | parent::pushAutoloader($callback, $namespace);
160 |
161 | return $this;
162 | }
163 |
164 | /**
165 | * Add an autoloader to the beginning of the stack
166 | *
167 | * @param object|array|string $callback PHP callback or Zend_Loader_Autoloader_Interface implementation
168 | * @param string|array $namespace Specific namespace(s) under which to register callback
169 | * @return Zend_Loader_Autoloader
170 | */
171 | public function unshiftAutoloader($callback, $namespace)
172 | {
173 | parent::pushAutoloader($callback, $namespace);
174 |
175 | return $this;
176 | }
177 | }
178 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Class/Array.php:
--------------------------------------------------------------------------------
1 | a = 1;
14 | * $a['b'] = 2;
15 |
16 | * echo '';
17 | * var_dump($a);
18 |
19 | * var_dump(array(
20 | * $a['a'],
21 | * $a->b,
22 | * (ArrayObject::STD_PROP_LIST | ArrayObject::ARRAY_AS_PROPS),
23 | * ));
24 | */
25 | class Dura_Class_Array extends ArrayObject
26 | {
27 |
28 | /**
29 | * Dura_Class_Array::ARRAY_PROP_BOTH = (ArrayObject::STD_PROP_LIST | ArrayObject::ARRAY_AS_PROPS);
30 | */
31 | const ARRAY_PROP_BOTH = 3;
32 |
33 | protected $_data_default_ = array();
34 |
35 | function __construct($input = null)
36 | {
37 | if ($input === null) $input = $this->_data_default_;
38 |
39 | $this->setFlags(ArrayObject::STD_PROP_LIST | ArrayObject::ARRAY_AS_PROPS);
40 | $this->exchangeArray($input);
41 | }
42 |
43 | function toArray()
44 | {
45 | return $this->getArrayCopy();
46 | }
47 |
48 | }
49 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Class/Icon.php:
--------------------------------------------------------------------------------
1 |
10 | * @copyright 2010 Hidehito NOZAWA
11 | * @license http://www.gnu.org/licenses/gpl-3.0.html GNU GPL v3
12 | *
13 | */
14 |
15 | class Dura_Class_Icon
16 | {
17 |
18 | // bluelovers
19 | static $iconDir = '/static/style/icon';
20 | static $iconPrefix = '';
21 | static $iconExt = 'png';
22 | // bluelovers
23 |
24 | public static function &getIcons()
25 | {
26 | static $icons = null;
27 |
28 | if ($icons === null)
29 | {
30 | $icons = array();
31 | $iconDir = DURA_PATH . Dura_Class_Icon::$iconDir;
32 |
33 | if ($dir = opendir($iconDir))
34 | {
35 | while (($file = readdir($dir)) !== false)
36 | {
37 | if (preg_match('/^' . Dura_Class_Icon::$iconPrefix . '(.+)\.' . Dura_Class_Icon::$iconExt . '$/', $file, $match))
38 | {
39 | list($dummy, $icon) = $match;
40 | $icons[$icon] = $file;
41 | }
42 | }
43 |
44 | closedir($dir);
45 | }
46 | }
47 |
48 | return $icons;
49 | }
50 |
51 | // bluelovers
52 | public static function getIconColor($icon)
53 | {
54 | static $_map;
55 |
56 | if (!isset($_map))
57 | {
58 | /*
59 | @include DURA_TRUST_PATH . '/resource/colors.php';
60 | */
61 | $_icon_color = new Dura_Resource_Colors();
62 |
63 | $_map = array();
64 |
65 | $_map['icon_color'] = (array )$_icon_color->toArray();
66 | }
67 |
68 | if ((string )$icon)
69 | {
70 | $color = empty($_map['icon_color'][(string )$icon]) ? 'gray' : $_map['icon_color'][(string )$icon];
71 | }
72 | else
73 | {
74 | return false;
75 | }
76 |
77 | return $color;
78 | }
79 | // bluelovers
80 |
81 | public static function getIconUrl($icon)
82 | {
83 | $url = DURA_URL . Dura_Class_Icon::$iconDir . '/' . Dura_Class_Icon::$iconPrefix . $icon . '.' . Dura_Class_Icon::$iconExt;
84 | return $url;
85 | }
86 | }
87 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Class/Ticket.php:
--------------------------------------------------------------------------------
1 |
10 | * @copyright 2010 Hidehito NOZAWA
11 | * @license http://www.gnu.org/licenses/gpl-3.0.html GNU GPL v3
12 | *
13 | */
14 |
15 | class Dura_Class_Ticket
16 | {
17 | protected static $sessionName = 'dura_tickets';
18 |
19 | public static function issue($timeout = 180)
20 | {
21 | $expire = time() + intval($timeout);
22 | $token = md5(uniqid() . mt_rand());
23 |
24 | if (isset($_SESSION[self::$sessionName]) and is_array($_SESSION[self::$sessionName]))
25 | {
26 | if (count($_SESSION[self::$sessionName]) >= 5)
27 | {
28 | asort($_SESSION[self::$sessionName]);
29 | $_SESSION[self::$sessionName] = array_slice($_SESSION[self::$sessionName], -4, 4);
30 | }
31 |
32 | $_SESSION[self::$sessionName][$token] = $expire;
33 | }
34 | else
35 | {
36 | $_SESSION[self::$sessionName] = array($token => $expire);
37 | }
38 |
39 | return $token;
40 | }
41 |
42 | public static function check($stub)
43 | {
44 | if (!isset($_SESSION[self::$sessionName][$stub])) return false;
45 | if (time() >= $_SESSION[self::$sessionName][$stub]) return false;
46 |
47 | unset($_SESSION[self::$sessionName][$stub]);
48 |
49 | return true;
50 | }
51 |
52 | public static function destory()
53 | {
54 | unset($_SESSION[self::$sessionName]);
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Class/User.php:
--------------------------------------------------------------------------------
1 |
10 | * @copyright 2010 Hidehito NOZAWA
11 | * @license http://www.gnu.org/licenses/gpl-3.0.html GNU GPL v3
12 | *
13 | */
14 |
15 | class Dura_Class_User
16 | {
17 | protected $name = null;
18 | protected $icon = null;
19 | protected $id = null;
20 | protected $expire = null;
21 | protected $admin = false;
22 | protected $language = null;
23 |
24 | protected function __construct()
25 | {
26 | }
27 |
28 | public static function &getInstance()
29 | {
30 | static $instance = null;
31 |
32 | if ($instance === null)
33 | {
34 | $instance = new self();
35 | }
36 |
37 | return $instance;
38 | }
39 |
40 | public function login($name, $icon, $language, $admin = false, $password_room = null)
41 | {
42 | /*
43 | $this->name = $name;
44 | */
45 | // bluelovers
46 | $this->_setName($name, false);
47 | // bluelovers
48 | $this->icon = $icon;
49 | $this->id = md5($name . getenv('REMOTE_ADDR'));
50 | $this->language = $language;
51 | $this->admin = $admin;
52 |
53 | $_lang = Dura_Model_Lang::getInstance();
54 | $_lang_list = $_lang->getList()->toArray();
55 |
56 | if (!array_key_exists($language, $_lang_list))
57 | {
58 | $this->language = $language = $_lang->acceptLang();
59 | }
60 |
61 | // bluelovers
62 | if (isset($password_room) && $password_room !== null)
63 | {
64 | $password_room = empty($password_room) ? 0 : (string )$password_room;
65 |
66 | $this->password_room = $password_room;
67 | }
68 | // bluelovers
69 |
70 | $_SESSION['user'] = $this;
71 | }
72 |
73 | public function loadSession()
74 | {
75 | if (isset($_SESSION['user']) and $_SESSION['user'] instanceof self)
76 | {
77 | $user = $_SESSION['user'];
78 | /*
79 | $this->name = $user->name;
80 | */
81 | // bluelovers
82 | $this->_setName($user->name, true);
83 | // bluelovers
84 |
85 | $this->icon = $user->icon;
86 | $this->id = $user->id;
87 | $this->expire = $user->expire;
88 | $this->id = $user->id;
89 | $this->language = $user->language;
90 | $this->admin = $user->admin;
91 |
92 | // bluelovers
93 | $this->password_room = $user->password_room;
94 | // bluelovers
95 | }
96 | }
97 |
98 | // bluelovers
99 | protected function _setName($name, $update_session = false)
100 | {
101 | $_name = htmlspecialchars(trim(htmlspecialchars_decode((string )$name)));
102 | $this->name = $_name;
103 |
104 | if ($update_session)
105 | {
106 | $_SESSION['user']->name = $_name;
107 | }
108 | }
109 | // bluelovers
110 |
111 | public function isUser()
112 | {
113 | return ($this->id !== null);
114 | }
115 |
116 | public function isAdmin()
117 | {
118 | if ($this->isUser())
119 | {
120 | return $this->admin;
121 | }
122 |
123 | return false;
124 | }
125 |
126 | public function getName()
127 | {
128 | if (!$this->isUser()) return false;
129 |
130 | return $this->name;
131 | }
132 |
133 | public function getIcon()
134 | {
135 | if (!$this->isUser()) return false;
136 |
137 | return $this->icon;
138 | }
139 |
140 | public function getId()
141 | {
142 | if (!$this->isUser()) return false;
143 |
144 | return $this->id;
145 | }
146 |
147 | public function getLanguage($auto = false)
148 | {
149 | return ($this->language || !$auto) ? $this->language : Dura_Model_Lang::getInstance()->acceptLang();
150 | }
151 |
152 | // bluelovers
153 | public function getColor()
154 | {
155 |
156 | if (!$this->isUser()) return false;
157 |
158 | if (!isset($this->color))
159 | {
160 | $this->_handler($this);
161 | }
162 |
163 | return $this->color;
164 | }
165 |
166 | public function &_handler(&$user)
167 | {
168 | $icon = $user->getIcon();
169 |
170 | if ($icon && empty($user->color))
171 | {
172 | $user->color = Dura_Class_Icon::getIconColor($user->icon);
173 | }
174 |
175 | return $user;
176 | }
177 | // bluelovers
178 |
179 | public function getExpire()
180 | {
181 | if (!$this->isUser()) return false;
182 |
183 | return $this->expire;
184 | }
185 |
186 | public function updateExpire()
187 | {
188 | $this->expire = time() + DURA_TIMEOUT;
189 |
190 | if (isset($_SESSION['user']) and $_SESSION['user'] instanceof self)
191 | {
192 | $_SESSION['user']->expire = $this->expire;
193 | }
194 | }
195 |
196 | // bluelovers
197 | public function getPasswordRoom()
198 | {
199 |
200 | if (!$this->isUser()) return false;
201 |
202 | return $this->password_room;
203 | }
204 |
205 | public function setPasswordRoom($password = 0)
206 | {
207 |
208 | if (!$this->isUser()) return false;
209 |
210 | $password = empty($password) ? 0 : (string )$password;
211 | $this->password_room = $password;
212 |
213 | if (isset($_SESSION['user']) and $_SESSION['user'] instanceof self)
214 | {
215 | $_SESSION['user']->password_room = $password;
216 | }
217 | }
218 | // bluelovers
219 |
220 | }
221 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Class/Xml.php:
--------------------------------------------------------------------------------
1 | _creanupXML($string);
9 | return $string;
10 | }
11 |
12 | public function asArray()
13 | {
14 | $this->_objectToArray($this);
15 | return $this;
16 | }
17 |
18 | public function asJSON()
19 | {
20 | $arr = (array)$this->asArray();
21 |
22 | return json_encode($arr);
23 | }
24 |
25 | protected function _creanupXML(&$string)
26 | {
27 | $string = preg_replace("/>\s*", ">\n<", $string);
28 | $lines = explode("\n", $string);
29 | $string = array_shift($lines) . "\n";
30 | $depth = 0;
31 |
32 | foreach ($lines as $line)
33 | {
34 | if (preg_match('/^<[\w]+>$/U', $line))
35 | {
36 | $string .= str_repeat("\t", $depth);
37 | $depth++;
38 | }
39 | elseif (preg_match('/^<\/.+>$/', $line))
40 | {
41 | $depth--;
42 | $string .= str_repeat("\t", $depth);
43 | }
44 | else
45 | {
46 | $string .= str_repeat("\t", $depth);
47 | }
48 |
49 | $string .= $line . "\n";
50 | }
51 |
52 | $string = trim($string);
53 | }
54 |
55 | protected function _objectToArray(&$object)
56 | {
57 | if (is_object($object)) $object = (array )$object;
58 | if (!is_array($object)) return;
59 |
60 | foreach ($object as &$member)
61 | {
62 | $this->_objectToArray($member);
63 | }
64 | }
65 | }
66 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Class/XmlHandler.php:
--------------------------------------------------------------------------------
1 | className = $className;
14 | }
15 | }
16 |
17 | public function getErrors()
18 | {
19 | return $this->errors;
20 | }
21 |
22 | public function create()
23 | {
24 | $string = $this->_getDefaultXml();
25 | $xml = simplexml_load_string($string, $this->className);
26 | return $xml;
27 | }
28 |
29 | public function load($id)
30 | {
31 | $file = $this->getFilePath($id);
32 |
33 | libxml_use_internal_errors(true);
34 | $xml = simplexml_load_file($file, $this->className, LIBXML_NOCDATA);
35 |
36 | if (!$xml)
37 | {
38 | $error = array();
39 | $error['file'] = $file;
40 | $error['message'] = '';
41 |
42 | foreach (libxml_get_errors() as $xmlError)
43 | {
44 | $error['message'] .= $xmlError->message;
45 | }
46 |
47 | $this->errors[] = $error;
48 |
49 | // TODO >> Error Logger
50 |
51 | return false;
52 | }
53 |
54 | return $xml;
55 | }
56 |
57 | public function save($id, $xml)
58 | {
59 | $xml->update = time();
60 | $file = $this->getFilePath($id);
61 | return file_put_contents($file, $xml->asXML(), LOCK_EX);
62 | }
63 |
64 | public function delete($id)
65 | {
66 | $file = $this->getFilePath($id);
67 | return @unlink($file);
68 | }
69 |
70 | public function getFilePath($id)
71 | {
72 | return DURA_XML_PATH . '/' . $this->fileName . '_' . $id . '.xml';
73 | }
74 |
75 | protected function _getDefaultXml()
76 | {
77 | return '
78 |
79 | ';
80 | }
81 | }
82 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Controller/Admin.php:
--------------------------------------------------------------------------------
1 |
10 | * @copyright 2010 Hidehito NOZAWA
11 | * @license http://www.gnu.org/licenses/gpl-3.0.html GNU GPL v3
12 | *
13 | */
14 |
15 | class Dura_Controller_Admin extends Dura_Abstract_Controller
16 | {
17 |
18 | function _main_before()
19 | {
20 | $this->_validateUser(true);
21 | }
22 |
23 | public function _main_after()
24 | {
25 | if (Dura::post('name'))
26 | {
27 | try
28 | {
29 | $this->_login();
30 | }
31 | catch (Exception $e)
32 | {
33 | $this->error = $e->getMessage();
34 | }
35 | }
36 |
37 | $this->_default();
38 | }
39 |
40 | protected function _login()
41 | {
42 | $name = Dura::post('name');
43 | $pass = Dura::post('pass');
44 | $name = trim($name);
45 | $pass = trim($pass);
46 |
47 | if ($name === '')
48 | {
49 | throw new Exception(t("Please input name."));
50 | }
51 |
52 | $token = Dura::post('token');
53 |
54 | if (!Dura_Class_Ticket::check($token))
55 | {
56 | throw new Exception(t("Login error happened."));
57 | }
58 |
59 | if ($name !== DURA_ADMIN_NAME or $pass !== DURA_ADMIN_PASS)
60 | {
61 | throw new Exception(t("ID or password is wrong."));
62 | }
63 |
64 | $user = &Dura_Class_User::getInstance();
65 | $user->login($name, 'admin', DURA_LANGUAGE, true);
66 |
67 | Dura_Class_Ticket::destory();
68 |
69 | Dura::redirect('lounge');
70 | }
71 |
72 | protected function _default()
73 | {
74 | $this->output['error'] = $this->error;
75 | $this->output['token'] = Dura_Class_Ticket::issue();
76 | $this->_view();
77 | }
78 | }
79 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Controller/AdminAnnounce.php:
--------------------------------------------------------------------------------
1 |
10 | * @copyright 2010 Hidehito NOZAWA
11 | * @license http://www.gnu.org/licenses/gpl-3.0.html GNU GPL v3
12 | *
13 | */
14 |
15 | class Dura_Controller_AdminAnnounce extends Dura_Abstract_Controller
16 | {
17 | protected $roomHandler = null;
18 | protected $roomModel = null;
19 |
20 | public function __construct()
21 | {
22 | parent::__construct();
23 |
24 | $this->_validateAdmin();
25 |
26 | $this->roomHandler = new Dura_Model_Room_XmlHandler;
27 | $this->roomModels = $this->roomHandler->loadAll();
28 | }
29 |
30 | public function main()
31 | {
32 | if (Dura::post('message'))
33 | {
34 | $this->_message();
35 | }
36 |
37 | $this->_default();
38 | }
39 |
40 | protected function _message()
41 | {
42 | $message = Dura::post('message');
43 | $message = trim($message);
44 | $messageId = md5(microtime() . mt_rand());
45 |
46 | if (!$message) return;
47 |
48 | foreach ($this->roomModels as $roomId => $roomModel)
49 | {
50 | $talk = $roomModel->addChild('talks');
51 | $talk->addChild('id', $messageId);
52 | $talk->addChild('uid', Dura::user()->getId());
53 | $talk->addChild('name', Dura::user()->getName());
54 | $talk->addChild('message', $message);
55 | $talk->addChild('icon', Dura::user()->getIcon());
56 | $talk->addChild('time', time());
57 |
58 | $id = Dura::user()->getId();
59 |
60 | foreach ($roomModel->users as $user)
61 | {
62 | if ($id == (string )$user->id)
63 | {
64 | $user->update = time();
65 | }
66 | }
67 |
68 | while (count($roomModel->talks) > DURA_LOG_LIMIT)
69 | {
70 | unset($roomModel->talks[0]);
71 | }
72 |
73 | $this->roomHandler->save($roomId, $roomModel);
74 | }
75 |
76 | Dura::redirect('admin_announce');
77 | }
78 |
79 | protected function _default()
80 | {
81 | $talks = array();
82 | $userId = Dura::user()->getId();
83 |
84 | foreach ($this->roomModels as $roomModel)
85 | {
86 | foreach ($roomModel->talks as $talk)
87 | {
88 | $time = (int)$talk->time;
89 | $id = (string )$talk->id;
90 |
91 | if (isset($talks[$time][$id])) continue;
92 |
93 | $talks[$time][$id] = (array )$talk;
94 | }
95 | }
96 |
97 | ksort($talks);
98 |
99 | $talks = array_reverse($talks);
100 |
101 | $this->output['talks'] = $talks;
102 |
103 | $this->_view();
104 | }
105 | }
106 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Controller/Default.php:
--------------------------------------------------------------------------------
1 |
10 | * @copyright 2010 Hidehito NOZAWA
11 | * @license http://www.gnu.org/licenses/gpl-3.0.html GNU GPL v3
12 | *
13 | */
14 |
15 | class Dura_Controller_Default extends Dura_Abstract_Controller
16 | {
17 | protected $error = null;
18 | protected $icons = array();
19 |
20 | protected $input = array();
21 |
22 | public $allowActions = array(
23 | Dura::DEFAULT_ACTION,
24 | );
25 |
26 | public function __construct()
27 | {
28 | parent::__construct();
29 | $this->icons = Dura_Class_Icon::getIcons();
30 |
31 | unset($this->icons['admin']);
32 |
33 | $this->_input();
34 | }
35 |
36 | function _main_before()
37 | {
38 | if (Dura::user()->isUser())
39 | {
40 | Dura::redirect('lounge');
41 | }
42 | }
43 |
44 | function _main_after()
45 | {
46 | if (Dura::$action != 'login')
47 | {
48 | $this->_main_action_login();
49 | }
50 |
51 | $this->_default();
52 | }
53 |
54 | function _main_action_login()
55 | {
56 | if (Dura::request('name') || Dura::request('submit'))
57 | {
58 | ob_start();
59 |
60 | try
61 | {
62 | $this->_login();
63 | }
64 | catch (Exception $e)
65 | {
66 | $this->error[] = $e->getMessage();
67 | }
68 |
69 | ob_end_clean();
70 | }
71 | }
72 |
73 | protected function _view()
74 | {
75 | Dura::$action = Dura::DEFAULT_ACTION;
76 |
77 | parent::_view();
78 | }
79 |
80 | function _input()
81 | {
82 | $this->input['name'] = Dura::request('name', null, true);
83 | $this->input['icon'] = Dura::request('icon', null, true);
84 | $this->input['language'] = Dura::request('language', null, true);
85 |
86 | $this->input['name'] = trim($this->input['name']);
87 | $this->input['icon'] = trim($this->input['icon']);
88 | $this->input['language'] = trim($this->input['language']);
89 |
90 | if ($this->input['language'])
91 | {
92 | Dura::setLang($this->input['language']);
93 | }
94 | }
95 |
96 | protected function _login()
97 | {
98 | $name = $this->input['name'];
99 | $icon = $this->input['icon'];
100 | $language = $this->input['language'];
101 |
102 | if ($name === '')
103 | {
104 | throw new Dura_Exception("Please input name.");
105 | }
106 |
107 | if (mb_strlen($name) > 10)
108 | {
109 | throw new Dura_Exception("Name should be less than 10 letters.");
110 | }
111 |
112 | $token = Dura::request('token');
113 |
114 | if (!Dura_Class_Ticket::check($token))
115 | {
116 | throw new Dura_Exception("Login error happened.");
117 | }
118 |
119 | if (empty($icon) || !isset($this->icons[$icon]))
120 | {
121 | throw new Dura_Exception("Please select a icon.");
122 | }
123 |
124 | $user = &Dura_Class_User::getInstance();
125 | $user->login($name, $icon, $language);
126 |
127 | Dura_Class_Ticket::destory();
128 |
129 | Dura::redirect('lounge');
130 | }
131 |
132 | protected function _default()
133 | {
134 | /*
135 | require_once DURA_TRUST_PATH . '/language/list.php';
136 |
137 | $languages = dura_get_language_list();
138 |
139 | foreach ($languages as $langcode => $name)
140 | {
141 | if (!file_exists(DURA_TRUST_PATH . '/language/' . $langcode . '.php'))
142 | {
143 | unset($languages[$langcode]);
144 | }
145 | }
146 |
147 | $acceptLangs = getenv('HTTP_ACCEPT_LANGUAGE');
148 | $acceptLangs = explode(',', $acceptLangs);
149 | $defaultLanguage = DURA_LANGUAGE;
150 |
151 | foreach ($acceptLangs as $k => $acceptLang)
152 | {
153 | @list($langcode, $dummy) = explode(';', $acceptLang);
154 |
155 | foreach ($languages as $language => $v)
156 | {
157 | if (stripos($language, $langcode) === 0)
158 | {
159 | $defaultLanguage = $language;
160 | break 2;
161 | }
162 | }
163 | }
164 |
165 | asort($languages);
166 | */
167 |
168 | $lang = Dura_Model_Lang::getInstance();
169 | $languages = $lang->getList()->toArray();
170 | $defaultLanguage = $lang->acceptLang();
171 |
172 | $this->output['input'] = $this->input;
173 |
174 | $this->output['languages'] = $languages;
175 | $this->output['default_language'] = $this->input['language'] ? $this->input['language'] : $defaultLanguage;
176 | $this->output['icons'] = $this->icons;
177 | $this->output['error'] = $this->error;
178 | $this->output['token'] = Dura_Class_Ticket::issue();
179 | $this->_view();
180 | }
181 | }
182 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Controller/Logout.php:
--------------------------------------------------------------------------------
1 |
10 | * @copyright 2010 Hidehito NOZAWA
11 | * @license http://www.gnu.org/licenses/gpl-3.0.html GNU GPL v3
12 | *
13 | */
14 |
15 | class Dura_Controller_Logout extends Dura_Abstract_Controller
16 | {
17 |
18 | function _main_before()
19 | {
20 | $this->_validateUser();
21 | }
22 |
23 | function _main_after()
24 | {
25 | $this->_main_action_default();
26 | }
27 |
28 | protected function _main_action_default()
29 | {
30 | session_destroy();
31 |
32 | Dura::redirect();
33 | }
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Controller/Lounge.php:
--------------------------------------------------------------------------------
1 |
10 | * @copyright 2010 Hidehito NOZAWA
11 | * @license http://www.gnu.org/licenses/gpl-3.0.html GNU GPL v3
12 | *
13 | */
14 |
15 | class Dura_Controller_Lounge extends Dura_Abstract_Controller
16 | {
17 |
18 | public $allowActions = array(
19 | Dura::DEFAULT_ACTION,
20 | 'logout',
21 | );
22 |
23 | public function __construct()
24 | {
25 | parent::__construct();
26 | }
27 |
28 | function _main_before()
29 | {
30 | $this->_validateUser();
31 |
32 | $this->_redirectToRoom();
33 | }
34 |
35 | public function _main_after()
36 | {
37 | $this->_default();
38 | }
39 |
40 | function _main_action_logout()
41 | {
42 | session_destroy();
43 | Dura::redirect();
44 | }
45 |
46 | protected function _default()
47 | {
48 | $this->_rooms();
49 |
50 | $this->_profile();
51 |
52 | $this->output['create_room_url'] = Dura::url('create_room');
53 |
54 | $this->_view();
55 | }
56 |
57 | protected function _redirectToRoom()
58 | {
59 | if (Dura_Model_Room_Session::isCreated())
60 | {
61 | Dura::redirect('room');
62 | }
63 | }
64 |
65 | protected function _rooms()
66 | {
67 | $roomHandler = new Dura_Model_Room_XmlHandler;
68 | $roomModels = $roomHandler->loadAll();
69 |
70 | $rooms = array();
71 |
72 | $lang = Dura::user()->getLanguage();
73 | $rooms[$lang] = array();
74 |
75 | $roomExpire = time() - DURA_CHAT_ROOM_EXPIRE;
76 | $activeUser = 0;
77 |
78 | // bluelovers
79 | $_id = Dura::user()->getId();
80 | // bluelovers
81 |
82 | foreach ($roomModels as $id => $roomModel)
83 | {
84 | $room = $roomModel->asArray();
85 |
86 | if ($room['update'] < $roomExpire)
87 | {
88 | $roomHandler->delete($id);
89 | continue;
90 | }
91 |
92 | $room['creater'] = '';
93 |
94 | foreach ($room['users'] as $user)
95 | {
96 | if ($user['id'] == $room['host'])
97 | {
98 | $room['creater'] = $user['name'];
99 | }
100 |
101 | // bluelovers
102 | if (!empty($user['id']) && $user['id'] == $_id)
103 | {
104 | Dura_Model_Room_Session::create($id);
105 |
106 | $this->_redirectToRoom();
107 | }
108 | // bluelovers
109 | }
110 |
111 | $room['id'] = $id;
112 | $room['total'] = count($room['users']);
113 | $room['url'] = Dura::url('room');
114 |
115 | $lang = $room['language'];
116 |
117 | $rooms[$lang][] = $room;
118 |
119 | $activeUser += $room['total'];
120 | }
121 |
122 | unset($roomHandler, $roomModels, $roomModel, $room);
123 |
124 | // bluelovers
125 | $this->_sort_room($rooms, 'update');
126 | // bluelovers
127 |
128 | $this->output['rooms'] = $rooms;
129 | $this->output['active_user'] = $activeUser;
130 | }
131 |
132 | protected function _profile()
133 | {
134 | $user = &Dura::user();
135 | $icon = $user->getIcon();
136 | $icon = Dura_Class_Icon::getIconUrl($icon);
137 |
138 | $profile = array(
139 | 'icon' => $icon,
140 | 'name' => $user->getName(),
141 | );
142 |
143 | $this->output['profile'] = $profile;
144 | }
145 |
146 | // bluelovers
147 | protected function _sort_room(&$rooms, $key, $asc = 0)
148 | {
149 |
150 | $this->temp['sort'] = array(
151 | 'key' => $key,
152 | 'asc' => $asc,
153 | );
154 |
155 | foreach ($rooms as $_k => $_v)
156 | {
157 | usort($rooms[$_k], array($this, '_sort_room_func'));
158 | }
159 |
160 | return $rooms;
161 | }
162 |
163 | protected function _sort_room_func($a, $b)
164 | {
165 | extract($this->temp['sort']);
166 |
167 | if (is_array($key))
168 | {
169 | foreach ($key as $_k)
170 | {
171 | if ($a[$_k] == $b[$_k])
172 | {
173 |
174 | }
175 | else
176 | {
177 | break;
178 | }
179 | }
180 | }
181 | else
182 | {
183 | $_k = $key;
184 |
185 | if ($a[$_k] == $b[$_k])
186 | {
187 | return 0;
188 | }
189 | }
190 |
191 | if ($asc)
192 | {
193 | return ($a[$_k] < $b[$_k]) ? -1 : 1;
194 | }
195 | else
196 | {
197 | return ($a[$_k] < $b[$_k]) ? 1 : -1;
198 | }
199 |
200 | }
201 | // bluelovers
202 |
203 | }
204 |
205 |
206 | ?>
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Controller/Page.php:
--------------------------------------------------------------------------------
1 | _main_action_about();
16 | }
17 |
18 | protected function _main_action_about()
19 | {
20 |
21 | Dura::$action = 'about';
22 |
23 | $this->output['tpl.header.canonical'] = Dura::url(Dura::$controller, Dura::$action);
24 |
25 | $this->_view();
26 | Dura::_exit();
27 | }
28 |
29 | }
30 |
31 |
32 | ?>
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Controller/RoomAjax.php:
--------------------------------------------------------------------------------
1 | _model = Dura_Model_Room::fromSession();
31 |
32 | $this->id = &$this->_model->id;
33 | $this->roomHandler = &$this->_model->roomHandler;
34 | $this->roomModel = &$this->_model->roomModel;
35 |
36 | $this->dataType = Dura::request('dataType', 'json');
37 |
38 | $this->_header();
39 |
40 | $this->_chk_exists();
41 | }
42 |
43 | function _chk_expires()
44 | {
45 | $session = &Dura_Model_Room_Session::getSelf();
46 |
47 | $_a = (int)$this->roomModel->update;
48 | $_b = (int)$session['Last-Modified'];
49 |
50 | $ret = ($_a == $_b) ? 1 : 0;
51 |
52 | if ($ret && Dura_Model_Http_Expires::get())
53 | {
54 | Dura_Model_Http_Expires::expires(5, $_a);
55 | }
56 | else
57 | {
58 | $ret = false;
59 | Dura_Model_Http_Expires::set(2, $_a, time());
60 | }
61 |
62 | $session['Last-Modified'] = $_a;
63 |
64 | return ($ret);
65 | }
66 |
67 | function _main_after()
68 | {
69 | $this->_chk_login();
70 |
71 | $session = &Dura_Model_Room_Session::getSelf();
72 |
73 | /*
74 | var_dump(time());
75 |
76 | //$session['Last-Modified'] = 0;
77 |
78 | var_dump('-------------------');
79 |
80 | var_dump(array(
81 | (int)$session['Last-Modified'],
82 | (int)$this->roomModel->update,
83 | $this->_chk_expires(),
84 | ));
85 |
86 | var_dump('-------------------');
87 |
88 | $session['Last-Modified'] = (int)$this->roomModel->update;
89 |
90 | var_dump(array(
91 | (int)$session['Last-Modified'],
92 | (int)$this->roomModel->update,
93 | $this->_chk_expires(),
94 | ));
95 |
96 | var_dump('-------------------');
97 |
98 | $this->roomModel->update = time() + 1;
99 |
100 | var_dump(array(
101 | (int)$session['Last-Modified'],
102 | (int)$this->roomModel->update,
103 | $this->_chk_expires(),
104 | ));
105 |
106 | var_dump('-------------------');
107 |
108 | var_dump(array(
109 | (int)$session['Last-Modified'],
110 | (int)$this->roomModel->update,
111 | $this->_chk_expires(),
112 | ));
113 |
114 | exit();
115 |
116 | $session['Last-Modified'] = 0;
117 | */
118 |
119 | if ($this->_chk_expires())
120 | {
121 | die();
122 | }
123 |
124 | $session['Last-Modified'] = (int)$this->roomModel->update;
125 |
126 | $this->roomModel->addChild('error', 0);
127 |
128 | foreach ( $this->roomModel->talks as $talk )
129 | {
130 | if ( (string) $talk->uid == 0 )
131 | {
132 | $name = (string) $talk->name;
133 | $message = (string) $talk->message;
134 |
135 | $talk->message = t($message, $name);
136 | }
137 |
138 | $talk->message = nl2br((string)$talk->message);
139 | }
140 |
141 | unset($this->roomModel->password);
142 |
143 | $this->roomModel->addChild('request_time', REQUEST_TIME);
144 |
145 | if ($this->dataType == 'xml')
146 | {
147 | echo $this->roomModel->asXML();
148 | }
149 | else
150 | {
151 | $a = $this->roomModel->asArray();
152 | $a['request_time'] = REQUEST_TIME;
153 |
154 | echo json_encode($a);
155 | }
156 |
157 | die();
158 | }
159 |
160 | function _chk_exists()
161 | {
162 | if (!$this->id || !$this->_model->exists())
163 | {
164 | $this->error['error'] = 2;
165 | $this->error['msg'] = t("Room was deleted.");
166 |
167 | $this->_msg();
168 | }
169 | }
170 |
171 | function _chk_login()
172 | {
173 | if (!$this->_model->isLogin())
174 | {
175 | $this->_model->session_destroy();
176 |
177 | $this->error['error'] = 3;
178 | $this->error['msg'] = t("Login error.");
179 |
180 | $this->_msg();
181 | }
182 | }
183 |
184 | function _msg($err = array())
185 | {
186 | $this->output['error'] = array_merge((array)$this->output['error'], (array)$this->error, (array)$err);
187 |
188 | if ($this->dataType == 'xml')
189 | {
190 | echo('' . $this->output['error']['error'] . '' . $this->output['error']['msg'] . '');
191 | }
192 | else
193 | {
194 | echo json_encode($this->output['error']);
195 | }
196 |
197 | die();
198 | }
199 |
200 | }
201 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Exception.php:
--------------------------------------------------------------------------------
1 | array(
13 | 'json' => 'application/json',
14 | 'xml' => 'application/xml',
15 | 'html' => 'text/html',
16 | ),
17 | );
18 |
19 | static function header($string, $replace = true, $http_response_code = null)
20 | {
21 | if (0)
22 | {
23 | echo $string.'
';
24 | return;
25 | }
26 |
27 | return @header($string, $replace, $http_response_code);
28 | }
29 |
30 | function getContentType($type = 'html')
31 | {
32 | return isset(self::$map['contenttype'][$type]) ? self::$map['contenttype'][$type] : self::$map['contenttype']['html'];
33 | }
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Model/Http/Expires.php:
--------------------------------------------------------------------------------
1 | ";
32 | echo 'last_modified: ' . gmdate(self::$format, $last_modified) . "
";
33 | */
34 |
35 | Dura_Model_Http::header('Last-Modified: ' . gmdate(self::$format, $last_modified));
36 |
37 | if ($seconds > 0)
38 | {
39 | // HTTP 1.0
40 | Dura_Model_Http::header('Expires: ' . gmdate(self::$format, $expires));
41 | //Dura_Model_Http::header('Expires: ' . gmdate('D, d M Y H:i:s', $expires) . ' GMT');
42 |
43 | // HTTP 1.1
44 | Dura_Model_Http::header('Cache-Control: max-age=' . $seconds);
45 | }
46 | elseif ($seconds < 0)
47 | {
48 | Dura_Model_Http::header('Expires: -1');
49 | Dura_Model_Http::header('Cache-Control: no-store, private, post-check=0, pre-check=0, max-age=0');
50 | Dura_Model_Http::header('Pragma: no-cache');
51 | }
52 |
53 | return $expires;
54 | }
55 |
56 | /**
57 | * Parses the If-Modified-Since header
58 | *
59 | * @return integer|boolean Timestamp or FALSE when header is lacking or malformed
60 | */
61 | public static function get()
62 | {
63 | if (!empty($_SERVER['HTTP_IF_MODIFIED_SINCE']))
64 | {
65 | // Some versions of IE6 append "; length=####"
66 | if (($strpos = strpos($_SERVER['HTTP_IF_MODIFIED_SINCE'], ';')) !== false)
67 | {
68 | $mod_time = substr($_SERVER['HTTP_IF_MODIFIED_SINCE'], 0, $strpos);
69 | }
70 | else
71 | {
72 | $mod_time = $_SERVER['HTTP_IF_MODIFIED_SINCE'];
73 | }
74 |
75 | return strtotime($mod_time);
76 | }
77 |
78 | return false;
79 | }
80 |
81 | function expires($seconds = 60, $last_modified = 0, $now = 0)
82 | {
83 | Dura_Model_Http::header($_SERVER['SERVER_PROTOCOL'] . ' 304 Not Modified');
84 |
85 | self::set($seconds, $last_modified, time());
86 |
87 | return $ret;
88 | }
89 |
90 | /**
91 | * Checks to see if content should be updated otherwise sends Not Modified status
92 | * and exits.
93 | *
94 | * @uses exit()
95 | * @uses expires::get()
96 | *
97 | * @param integer Maximum age of the content in seconds
98 | * @return integer|boolean Timestamp of the If-Modified-Since header or FALSE when header is lacking or malformed
99 | */
100 | public static function check($seconds = 60, $last_modified = 0, $now = 0)
101 | {
102 | if ($last_modified || $last_modified = self::get())
103 | {
104 | $seconds = (int)$seconds;
105 | $last_modified = (int)$last_modified;
106 | $now = (int)$now;
107 |
108 | !$now && $now = time();
109 |
110 | $expires = $last_modified + $seconds;
111 | $max_age = $expires - $now;
112 | }
113 | else
114 | {
115 | return false;
116 | }
117 |
118 | return $max_age;
119 | }
120 |
121 | /**
122 | * Check if expiration headers are already set
123 | *
124 | * @return boolean
125 | */
126 | public static function headers_set()
127 | {
128 | foreach (headers_list() as $header)
129 | {
130 | if (strncasecmp($header, 'Expires:', 8) === 0 or strncasecmp($header, 'Cache-Control:', 14) === 0 or strncasecmp($header, 'Last-Modified:', 14) === 0)
131 | {
132 | return true;
133 | }
134 | }
135 |
136 | return false;
137 | }
138 |
139 | } // End expires
140 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Model/Lang.php:
--------------------------------------------------------------------------------
1 | $name)
37 | {
38 | if (!file_exists(DURA_TRUST_PATH . '/language/' . $langcode . '.php'))
39 | {
40 | unset($this['list'][$langcode]);
41 | }
42 | }
43 |
44 | $this['list']->ksort();
45 |
46 | return $this['list'];
47 | }
48 |
49 | function acceptLang($acceptLangs = null)
50 | {
51 | if (!isset($this['list'])) $this->getList();
52 |
53 | if ($acceptLangs === null)
54 | {
55 | static $_acceptLangs;
56 |
57 | if ($_acceptLangs === null)
58 | {
59 | $_acceptLangs = '';
60 |
61 | foreach (array(
62 | $_SERVER['HTTP_ACCEPT_LANGUAGE'],
63 | $_ENV['HTTP_ACCEPT_LANGUAGE'],
64 | getenv('HTTP_ACCEPT_LANGUAGE'),
65 | ) as $v)
66 | {
67 | $_acceptLangs .= $v . ',';
68 | }
69 | }
70 |
71 | $acceptLangs = $_acceptLangs;
72 | }
73 |
74 | //$acceptLangs = 'zh-tw,en-us;q=0.8,ja;q=0.6,en;q=0.4,zh;q=0.2';
75 | $acceptLangs = explode(',', (string )$acceptLangs);
76 | $defaultLanguage[80][] = DURA_LANGUAGE;
77 |
78 | $list = $this['list']->toArray();
79 | array_unshift($list, array(DURA_LANGUAGE => DURA_LANGUAGE));
80 |
81 | foreach ($acceptLangs as $acceptLang)
82 | {
83 | @list($langcode, $dummy) = explode(';', $acceptLang);
84 |
85 | if (!$langcode) continue;
86 |
87 | parse_str($dummy, $tmp);
88 | $dummy = isset($tmp['q']) ? $tmp['q'] : ((float)$dummy ? $dummy : 1);
89 | $dummy = bcmul($dummy, 100, 0);
90 |
91 | foreach ($list as $language => $v)
92 | {
93 | if (stripos($language, $langcode) === 0)
94 | {
95 | $defaultLanguage[(int)$dummy][] = (string )$language;
96 | }
97 | }
98 | }
99 |
100 | krsort($defaultLanguage);
101 |
102 | foreach ($defaultLanguage as $k => $v)
103 | {
104 | $defaultLanguage[$k] = array_unique($v);
105 | }
106 |
107 | $this['acceptLangs'] = $defaultLanguage;
108 |
109 | return reset(reset($defaultLanguage));
110 | }
111 |
112 | function load($lang = null)
113 | {
114 | if (!$lang || !isset($this->catalog[$lang]))
115 | {
116 | $this->getList();
117 |
118 | if (!$lang || !isset($this->list[$lang]))
119 | {
120 | $lang = $this->catalog_idx;
121 |
122 | if (!$lang) $lang = Dura::$language;
123 | if (!$lang) $lang = DURA_LANGUAGE;
124 | }
125 |
126 | if (!isset($this->catalog[$lang]))
127 | {
128 | $catalog = Dura_Model_Lang_Loader::getInstance($lang);
129 | $this->catalog[$lang] = $catalog;
130 | }
131 |
132 | $this->catalog_idx = $lang;
133 | }
134 |
135 | return $this->catalog[$lang];
136 | }
137 |
138 | }
139 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Model/Lang/List.php:
--------------------------------------------------------------------------------
1 | "English",
12 | 'ja-JP' => "日本語",
13 | 'ko-KR' => "한국어",
14 | 'zh-TW' => "中文(繁體)",
15 | 'ru-RU' => "Русский",
16 | 'it-IT' => "Italiano",
17 | 'pl-PL' => "Polska",
18 | 'zh-CN' => "中文(簡体)",
19 | 'pt-BR' => "Português(Brazil)",
20 | 'eo' => "Esperanto",
21 | 'es-ES' => "Español",
22 | 'id-ID' => "Bahasa Indonesia",
23 | 'de-DE' => "Deutsch",
24 | 'tr-TR' => "Türkçe",
25 | 'he-IL' => "עברית",
26 | );
27 | }
28 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Model/Lang/Loader.php:
--------------------------------------------------------------------------------
1 | load($lang, $dir, $file);
16 | }
17 |
18 | function load($lang, $dir = null, $file = null)
19 | {
20 | $langFile = ($dir !== null ? $dir : DURA_TRUST_PATH . '/Dura/Resource/Lang/') . ($file !== null ? $file : $lang . '.php');
21 | $catalog = require $langFile;
22 |
23 | $this->exchangeArray((array)$catalog);
24 |
25 | $this->_langcode_ = $lang;
26 | }
27 |
28 | function &getInstance($lang, $dir = null, $file = null)
29 | {
30 | return new self($lang, $dir, $file);
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Model/Room/Session.php:
--------------------------------------------------------------------------------
1 |
10 | * @copyright 2010 Hidehito NOZAWA
11 | * @license http://www.gnu.org/licenses/gpl-3.0.html GNU GPL v3
12 | *
13 | */
14 |
15 | class Dura_Model_Room_Session
16 | {
17 | public static function isCreated()
18 | {
19 | return isset($_SESSION['room']);
20 | }
21 |
22 | public static function get($var = null)
23 | {
24 | if ($var)
25 | {
26 | return $_SESSION['room'][$var];
27 | }
28 |
29 | return $_SESSION['room'];
30 | }
31 |
32 | function &getSelf()
33 | {
34 | return $_SESSION['room'];
35 | }
36 |
37 | public static function create($id)
38 | {
39 | $_SESSION['room']['id'] = $id;
40 | }
41 |
42 | public static function delete()
43 | {
44 | unset($_SESSION['room']);
45 | }
46 |
47 | // bluelovers
48 | public function updateUserSesstion(&$roomModel, &$user)
49 | {
50 |
51 | if (isset($roomModel->password))
52 | {
53 | $password = (string )$roomModel->password;
54 |
55 | $password = trim(Dura::removeCrlf($password));
56 | $password = empty($password) ? 0 : $password;
57 |
58 | $roomModel->password = $password;
59 |
60 | $user->setPasswordRoom($password);
61 | }
62 | else
63 | {
64 | $user->setPasswordRoom();
65 | }
66 |
67 | }
68 | // bluelovers
69 | }
70 |
71 |
72 | ?>
73 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Model/Room/Xml.php:
--------------------------------------------------------------------------------
1 |
10 | * @copyright 2010 Hidehito NOZAWA
11 | * @license http://www.gnu.org/licenses/gpl-3.0.html GNU GPL v3
12 | *
13 | */
14 |
15 | class Dura_Model_Room_Xml extends Dura_Class_Xml
16 | {
17 | public function asArray()
18 | {
19 | $result = array();
20 |
21 | $result['name'] = (string )$this->name;
22 | $result['update'] = (int)$this->update;
23 | $result['limit'] = (int)$this->limit;
24 | $result['host'] = (string )$this->host;
25 | $result['language'] = (string )$this->language;
26 |
27 | // bluelovers
28 | $password = (string )$this->password;
29 |
30 | $password = isset($password) ? $password : 0;
31 | $password = trim(Dura::removeCrlf($password));
32 | $password = empty($password) ? 0 : $password;
33 |
34 | $this->password = $password;
35 | $result['password'] = (string )$this->password;
36 | // bluelovers
37 |
38 | if (isset($this->talks))
39 | {
40 | foreach ($this->talks as $talk)
41 | {
42 | $result['talks'][] = (array )$talk;
43 | }
44 | }
45 |
46 | foreach ($this->users as $user)
47 | {
48 | $result['users'][] = (array )$user;
49 | }
50 |
51 | return $result;
52 | }
53 |
54 | // bluelovers
55 | public function _talks_add($attr = array())
56 | {
57 | $talk = $this->addChild('talks');
58 |
59 | foreach ((array )$attr as $_k => $_v)
60 | {
61 | $talk->addChild((string)$_k, (string)$_v);
62 | }
63 |
64 | $this->_talks_handler($talk);
65 |
66 | return $talk;
67 | }
68 |
69 | public function _talks_handler(&$talk)
70 | {
71 | if ($talk->icon && empty($talk->color))
72 | {
73 | $talk->color = Dura_Class_Icon::getIconColor($talk->icon);
74 | }
75 |
76 | if (empty($talk->id)) $talk->id = md5(microtime() . mt_rand());
77 |
78 | if (empty($talk->time)) $talk->time = time();
79 |
80 | return $talk;
81 | }
82 | // bluelovers
83 |
84 | }
85 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Model/Room/XmlHandler.php:
--------------------------------------------------------------------------------
1 | fileName) !== 0)
18 | {
19 | continue;
20 | }
21 |
22 | $id = str_replace($this->fileName . '_', '', $file);
23 | $id = str_replace('.xml', '', $id);
24 |
25 | $xml = $this->load($id);
26 |
27 | if ($xml)
28 | {
29 | $xmls[$id] = $xml;
30 | }
31 | }
32 |
33 | closedir($dir);
34 |
35 | return $xmls;
36 | }
37 |
38 | // bluelovers
39 | public function create()
40 | {
41 | $xml = parent::create();
42 |
43 | if (!defined('TIMESTAMP'))
44 | {
45 | define('TIMESTAMP', time());
46 | }
47 |
48 | $xml->create = TIMESTAMP;
49 |
50 | return $xml;
51 | }
52 | // bluelovers
53 |
54 | protected function _getDefaultXml()
55 | {
56 | return '
57 |
58 |
59 |
60 |
61 | ';
62 | }
63 |
64 | // bluelovers
65 | public function load($id)
66 | {
67 | $xml = parent::load($id);
68 |
69 | if (!$xml) return false;
70 |
71 | $this->setPassword($xml, $xml->password);
72 |
73 | return $xml;
74 | }
75 |
76 | public function save($id, $xml)
77 | {
78 |
79 | $this->setPassword($xml, $xml->password);
80 |
81 | $_ret = parent::save($id, $xml);
82 |
83 | return $_ret;
84 | }
85 |
86 | public function setPassword(&$xml, $password = 0)
87 | {
88 | $password = (string )$password;
89 |
90 | $password = trim(Dura::removeCrlf($password));
91 |
92 | if (empty($password))
93 | {
94 | $password = 0;
95 | }
96 |
97 | $xml->password = $password;
98 |
99 | return $xml;
100 | }
101 |
102 | public function checkPassword($roomModel, $input_password)
103 | {
104 | $ret = false;
105 |
106 | $password = (string )$roomModel->password;
107 |
108 | if (!isset($password) || empty($password) || $password == (string )$input_password)
109 | {
110 | $ret = true;
111 | }
112 |
113 | return $ret;
114 | }
115 | // bluelovers
116 | }
117 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Colors.php:
--------------------------------------------------------------------------------
1 | 'strawberry',
12 | 'sizuo' => 'gray',
13 | 'lady' => 'carrot',
14 | 'koukin' => 'yellow',
15 | 'bakyura' => 'green',
16 | 'tanaka' => 'blue',
17 | 'gg' => 'pink',
18 | 'admin' => 'orange',
19 | 'zaika' => 'red',
20 | 'saika' => 'red',
21 | 'zawa' => 'green',
22 | 'kanra' => 'orange',
23 | 'setton' => 'gray',
24 | 'woman' => 'carrot',
25 | 'izaya' => 'brown',
26 | 'chinese' => 'purple',
27 | 'simon' => 'cobalt',
28 | );
29 | }
30 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/ar.php:
--------------------------------------------------------------------------------
1 | ".يرجى وضع اسماً",
9 | "Name should be less than 10 letters." => ".الاسم يجب أن يكون أقل عن ١٠ حروف",
10 | "Member should be more than {1}." => ".المستخدمين يجب أن يكونون أكثر عن {1}",
11 | "Member should be less than {1}." => ".المستخدمين يجب أن يكونون أقل عن {1}",
12 | "Cannot create new room any more." => ".لا يمكنك إضافة المزيد من الغرف",
13 | "{1} logged in." => ".سجّل دخوله {1} --",
14 | "{1} logged out." => ".سجّل خروجه {1} --",
15 | "{1} lost the connection." => "-- {1} فقد الاتصال.",
16 | "Data Error: Room creating failed." => ".خطأ: فشل في إضافة الغرفة",
17 | "Room Name" => "اسم الغرفة",
18 | "Max Members" => "العدد الأقصى للمستخدمين",
19 | "{1} members" => "{1} مستخدم",
20 | "Up to {1} rooms can be created." => ".يمكنك إضافة {1} غرف كحد أقصى*",
21 | "Create Room" => "إضافة غرفة",
22 | 'If auto reload doesn\'t work, please click here.' => 'هنا إذا الصفحة لم تحدّث تلقائياً، يرجى الضغط',
23 | "LOGOUT" => "تسجيل الخروج",
24 | "CREATE ROOM" => "إضافة غرفة",
25 | "Lounge" => "الاستراحة",
26 | "full" => "ممتلئ",
27 | "LOGIN" => "تسجيل الدخول",
28 | "Login error happened." => "خطأ في تسجيل الدخول",
29 | "ENTER" => "دخول",
30 | "Room not found." => "غرفة غير موجودة",
31 | "Room is full." => "الغرفة ممتلئة",
32 | "{1} users online!" => "!{1} أعضاء متصلين",
33 | "Admin" => "المشرف",
34 | "Admin ID" => "هوية المشرف",
35 | "Password" => "كلمة السر",
36 | "ID or password is wrong." => "الهوية أو كلمة المرور غير صحيحة",
37 | "Announce" => "إعلان",
38 | "Admin Announce" => "إعلان المشرف",
39 | "{1} is a new host." => "-- {1} هو المضيف الجديد.",
40 | "Change" => "تغيير",
41 | "Same name user exists. Please rename or change icon." => "يوجد مستخدم بنفس الاسم. يرجى تغيير الاسم أو الصورة الرمزية",
42 | "You are not host." => "أنت لست المضيف.",
43 | "Room name is blank." => "اسم الغرفة خالي.",
44 | "Room name is modified." => "تم التأكد من اسم الغرفة.",
45 | "Handover host" => "إعطاء صلاحيات المضيف",
46 | "Ban user" => "حظر المستخدم",
47 | "Host is invaild." => "المضيف غير صحيح.",
48 | "User not found." => "لم يتم ايجاد المستخدم",
49 | "Gave host rights to {1}." => "إعطاء صلاحيات المضيف إلى {1}.",
50 | "User is invaild." => "المستخدم غير صحيح.",
51 | "Banned {1}." => "حظر {1}.",
52 | "Language" => "اللغة",
53 | "The language is not in the option." => ".اللغة ليست في الخيارات",
54 | "Durarara like chat room" => "شات شبيه الانمي دورارارا",
55 | "Durarara fan community" => "نادي معجبين الانمي دورارارا",
56 | );
57 |
58 | ?>
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/ca.php:
--------------------------------------------------------------------------------
1 | "Introduixca el nom si us plau.",
10 | "Name should be less than 10 letters." => "El nom deu tindre menys de 10 lletres.",
11 |
12 | "Member should be more than {1}." => "La capacitat d'usuaris deu ser major de {1}.",
13 | "Member should be less than {1}." => "La capacitat d'usuaris deu ser menor de {1}.",
14 |
15 | "Cannot create new room any more." => "No es poden crear noves sales.",
16 | "{1} logged in." => "-- {1} s'ha connectat.",
17 |
18 | "{1} logged out." => "-- {1} s'ha desconnectat.",
19 | "{1} lost the connection." => "-- {1} ha perdut la connexió.",
20 |
21 | "Data Error: Room creating failed." => "Error: No s'ha pogut creat la sala.",
22 | "Room Name" => "Nom de la sala",
23 |
24 | "Max Members" => "Capacitat d'usuaris",
25 | "{1} members" => "{1} usuaris",
26 | "Up to {1} rooms can be created." => "*Tan sols pots crear {1} sales com a màxim.",
27 |
28 | "Create Room" => "Crear sala",
29 | 'If auto reload doesn\'t work, please click here.' => 'Si la pàgina no recarrega automàticament, pique aqui siusplau here',
30 |
31 | "LOGOUT" => "DESCONECTAT",
32 | "CREATE ROOM" => "CREAR SALA",
33 | "Lounge" => "Sala d'estar",
34 |
35 | "full" => "Es plé",
36 | "LOGIN" => "CONNECTAR-SE",
37 | "Login error happened." => "Problemes al connectars-se.",
38 |
39 | "ENTER" => "ENTRAR",
40 | "Room not found." => "Sala no trobada.",
41 | "Room is full." => "La sala es plena.",
42 |
43 | "{1} users online!" => "{1} usuaris en línia!",
44 | "Admin" => "Administrador",
45 | "Admin ID" => "ID de l'administrador",
46 |
47 | "Password" => "Contrasenya",
48 | "ID or password is wrong." => "L'ID o la contrasenya estan malament.",
49 | "Announce" => "Anunci",
50 |
51 | "Admin Announce" => "Anunci de l'administrador",
52 | "{1} is a new host." => "-- {1} es el nou hoste.",
53 | "Change" => "Canvi",
54 |
55 | "Same name user exists. Please rename or change icon." => "Aquest nom ja existeix, canvie el nom o la icona si us plau.",
56 | "You are not host." => "No ets l'hoste.",
57 |
58 | "Room name is blank." => "El nom de la sala es buit.",
59 | "Room name is modified." => "S'ha modificat el nom de la sala.",
60 |
61 | "Handover host" => "Traspasar drets d'hoste",
62 | "Ban user" => "Prohibir usuari",
63 | "Host is invaild." => "L'hoste es invalid.",
64 |
65 | "User not found." => "Usuari no encontrat.",
66 | "Gave host rights to {1}." => "Ha lliurat els drets d'hoste a {1}.",
67 |
68 | "User is invaild." => "Usuari invalid.",
69 | "Banned {1}." => "{1} ha sigut expulsat.",
70 | "Language" => "Idioma",
71 |
72 | "The language is not in the option." => "Aquest idioma no es a les opcions.",
73 | "Durarara like chat room" => "Sala de chat Durarara",
74 |
75 | "Durarara fan community" => "Comunitat de fans de Durarara",
76 | );
77 |
78 | ?>
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/de-DE.php:
--------------------------------------------------------------------------------
1 | "Bitte gib einen Namen ein.",
5 | "Name should be less than 10 letters." => "Der Name muss weniger als 10 Buchstaben haben.",
6 | "Member should be more than {1}." => "Die Anzahl der User sollte mehr sein als {1}.",
7 | "Member should be less than {1}." => "Die Anzahl der User sollte weniger sein als {1}.",
8 | "Cannot create new room any more." => "Du kannst keinen weiteren Chat Room anlegen.",
9 | "{1} logged in." => "-- {1} Eingeloggt.",
10 | "{1} logged out." => "-- {1} Ausgeloggt.",
11 | "{1} lost the connection." => "-- {1} Deine Verbindung wurde getrennt.",
12 | "Data Error: Room creating failed." => "Fehler: Chat Room Erstellung gescheitert.",
13 | "Room Name" => "Chat Room Name",
14 | "Max Members" => "Anzahl der User",
15 | "{1} members" => "{1} Users",
16 | "Up to {1} rooms can be created." => "*Du kannst maximal {1} Chat Rooms erstellen.",
17 | "Create Room" => "Chat Room erstellen",
18 | 'If auto reload doesn\'t work, please click here.' => 'Wenn die Seite sich nicht erneut aufbaut, dann klick hier',
19 | "LOGOUT" => "AUSLOGGEN",
20 | "CREATE ROOM" => "CHAT ROOM ERSTELLEN",
21 | "Lounge" => "Lounge",
22 | "full" => "Voll",
23 | "LOGIN" => "EINLOGGEN",
24 | "Login error happened." => "Fehler beim einloggen.",
25 | "ENTER" => "TRITT EIN",
26 | "Room not found." => "Chat Room nicht gefunden.",
27 | "Room is full." => "Chat Roomist voll.",
28 | "{1} users online!" => "{1} Users online!",
29 | "Admin" => "Administrator",
30 | "Admin ID" => "Administrator ID",
31 | "Password" => "Passwort",
32 | "ID or password is wrong." => "ID oder Passwort ist falsch.",
33 | "Announce" => "Ankuendigung",
34 | "Admin Announce" => "Administrator Ankuendigung",
35 | "{1} is a new host." => "-- {1} ist ein neuer Host.",
36 | "Change" => "Aendern",
37 | "Same name user exists. Please rename or change icon." => "Der Name ist bereits vergeben. Bitte aendere deinen Namen oder dein Icon.",
38 | "You are not host." => "Du bist kein Host.",
39 | "Room name is blank." => "Chat Room Name ist leer.",
40 | "Room name is modified." => "Chat Room Name ist geaendert.",
41 | "Handover host" => "Uebergibt die Host Rechte",
42 | "Ban user" => "User sperren",
43 | "Host is invaild." => "Host ist falsch.",
44 | "User not found." => "User wurde nicht gefunden.",
45 | "Gave host rights to {1}." => "Gab Host Rechte ab an {1}.",
46 | "User is invaild." => "User ist falsch.",
47 | "Banned {1}." => "Gesperrt {1}.",
48 | "Language" => "Sprache",
49 | "The language is not in the option." => "Die Sprache ist nicht verfuegbar.",
50 | "Durarara like chat room" => "Chat Room wie in Durarara! ",
51 | "Durarara fan community" => "Durarara Fan Gemeinde",
52 | );
53 |
54 | ?>
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/en-US.php:
--------------------------------------------------------------------------------
1 | "Please input name.",
5 | "Name should be less than 10 letters." => "Name must be less than 10 letters.",
6 | "Member should be more than {1}." => "User capacity must be more than{1}.",
7 | "Member should be less than {1}." => "User capacity must be less than {1}.",
8 | "Cannot create new room any more." => "You can't create a new room any more.",
9 | "{1} logged in." => "-- {1} logged in.",
10 | "{1} logged out." => "-- {1} logged out.",
11 | "{1} lost the connection." => "-- {1} got disconnected.",
12 | "Data Error: Room creating failed." => "Error: Failed to create a room.",
13 | "Room Name" => "Room name",
14 | "Max Members" => "User capacity",
15 | "{1} members" => "{1} users",
16 | "Up to {1} rooms can be created." => "*You can create {1} rooms in maximam.",
17 | "Create Room" => "Create Room",
18 | 'If auto reload doesn\'t work, please click here.' => 'If the page does not automatically reload, please click here',
19 | "LOGOUT" => "LOGOUT",
20 | "CREATE ROOM" => "CREATE ROOM",
21 | "Lounge" => "Lounge",
22 | "full" => "full",
23 | "LOGIN" => "LOGIN",
24 | "Login error happened." => "Login error.",
25 | "ENTER" => "ENTER",
26 | "Room not found." => "Room not found.",
27 | "Room is full." => "Room is full.",
28 | "{1} users online!" => "{1} users online!",
29 | "Admin" => "Admin",
30 | "Admin ID" => "Admin ID",
31 | "Password" => "Password",
32 | "ID or password is wrong." => "ID or password is wrong.",
33 | "Announce" => "Announce",
34 | "Admin Announce" => "Admin Announce",
35 | "{1} is a new host." => "-- {1} is a new host.",
36 | "Change" => "Change",
37 | "Same name user exists. Please rename or change icon." => "Same name user exists. Please change your name or icon.",
38 | "You are not host." => "You are not host.",
39 | "Room name is blank." => "Room name is blank.",
40 | "Room name is modified." => "Room name is modified.",
41 | "Handover host" => "Handover host rights",
42 | "Ban user" => "Ban user",
43 | "Host is invaild." => "Host is invaild.",
44 | "User not found." => "User not found.",
45 | "Gave host rights to {1}." => "Gave host rights to {1}.",
46 | "User is invaild." => "User is invaild.",
47 | "Banned {1}." => "Banned {1}.",
48 | "Language" => "Language",
49 | "The language is not in the option." => "The language is not in the option.",
50 | "Durarara like chat room" => "Durarara like chat room",
51 | "Durarara fan community" => "Durarara fan community",
52 |
53 | // Added at 2011-08-13
54 | "I'm now chatting at room '{1}'!" => "I'm now chatting at room '{1}'!", // Message for Twitter or other social media
55 |
56 | // Added at 2011-08-15
57 | "Welcome to Durarara-like-chat!" => "Welcome to Durarara-like-chat!",
58 |
59 | // Added at 2011-08-28
60 | "This room is not available." => "This room is not available.",
61 | "N/A" => "N/A", // (this means Not Available. this appears at lounge page when a chat room is unaviable)
62 | "Room setting updated." => "Room setting updated.",
63 | "ENTER" => "ENTER",
64 | "LOGIN" => "LOGIN",
65 | "EXIT" => "EXIT",
66 | "YOUR NAME" => "YOUR NAME",
67 | "Kick" => "Kick",
68 | "Ban" => "Ban",
69 | "{1} was kicked." => "Kicked {1}.",
70 | "{1} was banned." => "Banned {1}.",
71 | "POST!" => "POST!",
72 |
73 | // Added at 2011-09-03
74 | "Here is no one. Why don't you join this room?" => "Here is no one. Why don't you join this room?",
75 | "There is no one in this chat now." => "-- There is no one in this chat now.",
76 | "Name is must be more shorter. (Max length: {1})" => "Name is must be more shorter. (Max length: {1})", // <-- {1} is variable number.
77 | "CREATE!" => "CREATE!",
78 |
79 | // These expression is not used now.
80 | // If your translation contains these, please remove its.
81 | /*
82 | "Room name is modified." => "Room name is modified.",
83 | "Ban user" => "Ban user",
84 | "Banned {1}." => "Banned {1}.",
85 | */
86 |
87 | // Added as 2011-12-05 by bluelovers
88 | 'Chat room name was changed to {1}' => '-- Chat room name was changed to {1}',
89 | );
90 |
91 | ?>
92 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/eo.php:
--------------------------------------------------------------------------------
1 | "Bonvole entajpu nomon",
4 | "Name should be less than 10 letters." => "Nomo estu malpli ol 10 literoj.",
5 | "Member should be more than {1}." => "Nomobro de ano estu pli ol {1}.",
6 | "Member should be less than {1}." => "Nombro de ano estu malpli ol {1}.",
7 | "Cannot create new room any more." => "Ne eblas krei pli da ĉambro.",
8 | "{1} logged in." => "ーー {1} enĉambriĝas.",
9 | "{1} logged out." => "ーー {1} deĉambriĝas.",
10 | "{1} lost the connection." => "ーー {1} malkonektiĝas.",
11 | "Data Error: Room creating failed." => "Datuma Eraro: Malsukcesas krei ĉambron.",
12 | "Room Name" => "Ĉambronomo",
13 | "Max Members" => "Limo de ano",
14 | "{1} members" => "{1} anoj",
15 | "Up to {1} rooms can be created." => "*Eblas esti maksimume {1} ĉambroj.",
16 | "Create Room" => "Krei Ĉambron",
17 | 'If auto reload doesn\'t work, please click here.' => 'Se aŭtomata reŝuto ne okazas, alklaku tie ĉi.',
18 | "LOGOUT" => "ELSALUTI",
19 | "CREATE ROOM" => "KREI ĈAMBRON",
20 | "Lounge" => "Ĉambrolisto",
21 | "full" => "plena",
22 | "LOGIN" => "ENSALUTI",
23 | "Login error happened." => "Okazas eraro dum ensalutado.",
24 | "ENTER" => "ENIRI",
25 | "Room not found." => "La ĉambro ne troviĝas.",
26 | "Room is full." => "La ĉambro estas plena.",
27 | "{1} users online!" => "{1} uzantoj enretaj!",
28 | "Admin" => "Mastro",
29 | "Admin ID" => "Mastro-Konto",
30 | "Password" => "Pasvorto",
31 | "ID or password is wrong." => "Konto aŭ pasvorto ne ĝustas.",
32 | "Announce" => "Ĉien anonci",
33 | "Admin Announce" => "Mastra anonco",
34 | "{1} is a new host." => "ーー {1} estas la nova ĉambrestro.",
35 | "Change" => "Ŝanĝu",
36 | "Same name user exists. Please rename or change icon." => "Pardonon, jam estas uzanto samnoma. Bonvole rename aŭ ŝanĝu bildon",
37 | "You are not host." => "Ne ĉambrestra rajto.",
38 | "Room name is blank." => "Ĉambronomo malplena.",
39 | "Room name is modified." => "Ĉambronomo ŝanĝita.",
40 | "Handover host" => "Transdoni ĉambrestran rajton ",
41 | "Ban user" => "Forigi anon",
42 | "Host is invaild." => "Malĝusta ano elektita",
43 | "User not found." => "Ano ne troviĝas",
44 | "Gave host rights to {1}." => "Transdoni ĉambrestran rajton al {1}",
45 | "User is invaild." => "Okazas eraro dum anoelektado",
46 | "Banned {1}." => "{1} forigita.",
47 | "Language" => "Lingvo",
48 | "The language is not in the option." => "La lingvo ne estas elektebla.",
49 | "Durarara like chat room" => "Durarara-stila Babilejo",
50 | );
51 | ?>
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/es-ES.php:
--------------------------------------------------------------------------------
1 | "Por favor poner el nombre.",
5 | "Name should be less than 10 letters." => " El nombre debe tener menos de 10 letras.",
6 | "Member should be more than {1}." => " Capacidad del usuario debe ser más de (1).",
7 | "Member should be less than {1}." => " Capacidad del usuario debe ser menos de(1).",
8 | "Cannot create new room any more." => "No puedes crear otra sala.",
9 | "{1} logged in." => "-- {1} Conectarte.",
10 | "{1} logged out." => "-- {1} Desconectar.",
11 | "{1} lost the connection." => "-- {1} se ha desconectado.",
12 | "Data Error: Room creating failed." => " Error: No se pudo crear una sala.",
13 | "Room Name" => "Nombre de sala",
14 | "Max Members" => " Capacidad de Usuarios ",
15 | "{1} members" => "{1} usuario",
16 | "Up to {1} rooms can be created." => "* Puede crear (1) habitaciones máximo.",
17 | "Create Room" => "Crear Sala",
18 | 'If auto reload doesn\'t work, please click here.' => 'If the page does not automatically reload, please click here',
19 | "LOGOUT" => "DESCONECTAR",
20 | "CREATE ROOM" => "CREAR SALA",
21 | "Lounge" => "SALA",
22 | "full" => "LLENO",
23 | "LOGIN" => "CONECTAR",
24 | "Login error happened." => "ERROR AL CONECTAR.",
25 | "ENTER" => "ENTRAR",
26 | "Room not found." => "Sala no encontrada",
27 | "Room is full." => "Sala llena.",
28 | "{1} users online!" => "{1} usuarios en línea!",
29 | "Admin" => "Admin",
30 | "Admin ID" => "Admin ID",
31 | "Password" => "Contraseña",
32 | "ID or password is wrong." => "ID o contraseña errónea.",
33 | "Announce" => "Anuncio",
34 | "Admin Announce" => "Anuncio de admin",
35 | "{1} is a new host." => "-- {1} es un nuevo usuario.",
36 | "Change" => "Change",
37 | "Same name user exists. Please rename or change icon." => "El nombre de usuario ya existe. Favor de cambiar el nombre o icono.",
38 | "You are not host." => "No eres huesped.",
39 | "Room name is blank." => "El nombre de sala está en blanco.",
40 | "Room name is modified." => "El nombre de la sala se modifico.",
41 | "Handover host" => "Entregar los derechos. ",
42 | "Ban user" => "Usuario prohibido",
43 | "Host is invaild." => "Host is invaild.",
44 | "User not found." => "Usuario no encontrado.",
45 | "Gave host rights to {1}." => "Entregar los derechos a {1}.",
46 | "User is invaild." => "Usuario inválido.",
47 | "Banned {1}." => "Baneado {1}.",
48 | "Language" => "Lenguaje",
49 | "The language is not in the option." => " El idioma no está en la opción.",
50 | "Durarara like chat room" => "Durarara like chat room",
51 | "Durarara fan community" => "Durarara fan community",
52 | );
53 |
54 | ?>
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/he-IL.php:
--------------------------------------------------------------------------------
1 | "הכנס שם.",
5 | "Name should be less than 10 letters." => "השם חייב להיות מתחת ל10 תווים.",
6 | "Member should be more than {1}." => ".חייב להיות מעל {1} משתמשים",
7 | "Member should be less than {1}." => "חייב להיות מתחת ל {1} משתמשים.",
8 | "Cannot create new room any more." => "אתה לא יכול ליצור יותר חדרים.",
9 | "{1} logged in." => "-- {1} התחבר.",
10 | "{1} logged out." => "-- {1} התנתק.",
11 | "{1} lost the connection." => "-- {1} נותק מהשרת.",
12 | "Data Error: Room creating failed." => "שגיאה: שגיאה בעת יצירת החדר.",
13 | "Room Name" => "שם החדר",
14 | "Max Members" => "מקסימום משתמשים",
15 | "{1} members" => "{1} משתמשים",
16 | "Up to {1} rooms can be created." => "*אתה יכול ליצור מקסימים {1} חדרים.",
17 | "Create Room" => "צור חדר",
18 | 'If auto reload doesn\'t work, please click here.' => 'If the page does not automatically reload, please click here',
19 | "LOGOUT" => "התנתקות",
20 | "CREATE ROOM" => "יצירת חדר",
21 | "Lounge" => "חדר אורחים",
22 | "full" => "מלא",
23 | "LOGIN" => "התחברות",
24 | "Login error happened." => "שגיאה בהתחברות.",
25 | "ENTER" => "כניסה",
26 | "Room not found." => "החדר המבוקש לא נמצא.",
27 | "Room is full." => "החדר המבוקש מלא.",
28 | "{1} users online!" => "{1} משתמשים מחוברים",
29 | "Admin" => "אדמין",
30 | "Admin ID" => "ID אדמין ",
31 | "Password" => "סיסמא",
32 | "ID or password is wrong." => "ID או סיסמא שגויה. ",
33 | "Announce" => "להודיע",
34 | "Admin Announce" => "הודעת אדמין",
35 | "{1} is a new host." => "-- {1} הוא מארח חדש.",
36 | "Change" => "לשנות",
37 | "Same name user exists. Please rename or change icon." => "משתמש זהה כבר קיים. אנא שנה את השם או את האייקון.",
38 | "You are not host." => "אתה לא המארח.",
39 | "Room name is blank." => "שם החדר ריק.",
40 | "Room name is modified." => "שם החדר שונה.",
41 | "Handover host" => "העברת בעלות חדר.",
42 | "Ban user" => "תן באן",
43 | "Host is invaild." => "המארח לא קיים.",
44 | "User not found." => "השמשתמש לא נמצא.",
45 | "Gave host rights to {1}." => "בעלות על החדר הועברו ל {1}.",
46 | "User is invaild." => "השמתמש לא קיים.",
47 | "Banned {1}." => "Banned {1}.",
48 | "Language" => "Language",
49 | "The language is not in the option." => "השפה לא נמצאת באפשרויות.",
50 | "Durarara like chat room" => "חדר צ'אט של דורארארה",
51 | "Durarara fan community" => "קהילת מעריצים של דורארארה",
52 | );
53 |
54 | ?>
55 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/id-ID.php:
--------------------------------------------------------------------------------
1 | "silahkan masukkan nama.",
5 | "Name should be less than 10 letters." => "nama harus kurang dari 10 karakter.",
6 | "Member should be more than {1}." => "user harus lebih dari {1}.",
7 | "Member should be less than {1}." => "User harus kurang dari {1}.",
8 | "Cannot create new room any more." => "tidak dapat membuat Room lagi.",
9 | "{1} logged in." => "-- {1} anda telah masuk.",
10 | "{1} logged out." => "-- {1} anda telah keluar.",
11 | "{1} lost the connection." => "-- {1} anda terputus dari server.",
12 | "Data Error: Room creating failed." => "Error: gagal membuat Room.",
13 | "Room Name" => "nama Room",
14 | "Max Members" => "kapasitas User",
15 | "{1} members" => "{1} users",
16 | "Up to {1} rooms can be created." => "*kamu bisa membuat hingga {1} rooms.",
17 | "Create Room" => "Create Room",
18 | 'If auto reload doesn\'t work, please click here.' => 'jika halaman tidak memuat, silahkan click disini',
19 | "LOGOUT" => "Keluar",
20 | "CREATE ROOM" => "membuat ROOM",
21 | "Lounge" => "Lounge",
22 | "full" => "penuh",
23 | "LOGIN" => "masuk",
24 | "Login error happened." => "gagal masuk.",
25 | "ENTER" => "ENTER",
26 | "Room not found." => "Room tidak di temukan.",
27 | "Room is full." => "Room sudah penuh.",
28 | "{1} users online!" => "{1} users online!",
29 | "Admin" => "Admin",
30 | "Admin ID" => "Admin ID",
31 | "Password" => "kata sandi",
32 | "ID or password is wrong." => "ID atau password salah.",
33 | "Announce" => "mengumumkan",
34 | "Admin Announce" => "pengumuman dari admin",
35 | "{1} is a new host." => "-- {1} adalah host yang baru.",
36 | "Change" => "ganti",
37 | "Same name user exists. Please rename or change icon." => "nama telah terpakai. silahkan mengganti nama atau icon.",
38 | "You are not host." => "kamu bukan host.",
39 | "Room name is blank." => "nama room kosong.",
40 | "Room name is modified." => "nama room telah diganti.",
41 | "Handover host" => "melepaskan hak host",
42 | "Ban user" => "Ban user",
43 | "Host is invaild." => "Host tida valid.",
44 | "User not found." => "User tidak ditemukan.",
45 | "Gave host rights to {1}." => "memberikan hak host kepada {1}.",
46 | "User is invaild." => "User tidak valid.",
47 | "Banned {1}." => "telah di ban {1}.",
48 | "Language" => "bahasa",
49 | "The language is not in the option." => "bahasa tidak terdapat pada opsi.",
50 | "Durarara like chat room" => "chat room seperti Durarara",
51 | "Durarara fan community" => "komunitas fan durarara",
52 | );
53 |
54 | ?>
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/it-IT.php:
--------------------------------------------------------------------------------
1 | "Digitare il nome",
5 | "Name should be less than 10 letters." => "Il numero di caratteri del nome deve essere inferiore a 10.",
6 | "Member should be more than {1}." => "Il numero di utenti deve essere superiore a {1}.",
7 | "Member should be less than {1}." => "Il numero di utenti deve essere inferiore a {1}.",
8 | "Cannot create new room any more." => "Non puoi creare più stanze.",
9 | "{1} logged in." => "-- {1} entra in chat.",
10 | "{1} logged out." => "-- {1} è uscito.",
11 | "{1} lost the connection." => "-- {1} ha perso la connessione.",
12 | "Data Error: Room creating failed." => "Errore: impossibile creare la stanza.",
13 | "Room Name" => "Nome stanza",
14 | "Max Members" => "Utenti massimi",
15 | "{1} members" => "{1} utenti",
16 | "Up to {1} rooms can be created." => "*Il numero massimo di stanze creabili è {1}.*",
17 | "Create Room" => "Crea Stanza",
18 | 'If auto reload doesn\'t work, please click here.' => 'Se la pagina non si aggiorna
19 | automaticamente, premi qui',
20 | "LOGOUT" => "LOGOUT",
21 | "CREATE ROOM" => "CREA STANZA",
22 | "Lounge" => "Lounge",
23 | "full" => "Piena",
24 | "LOGIN" => "ENTRA",
25 | "Login error happened." => "Errore di login.",
26 | "ENTER" => "ENTRA",
27 | "Room not found." => "Stanza non trovata.",
28 | "Room is full." => "La stanza è piena.",
29 | "{1} users online!" => "{1} utenti online!",
30 | "Admin" => "Admin",
31 | "Admin ID" => "Admin ID",
32 | "Password" => "Password",
33 | "ID or password is wrong." => "L'ID o la password è errata.",
34 | "Announce" => "Annuncio",
35 | "Admin Announce" => "Annuncio dell'Admin",
36 | "{1} is a new host." => "-- {1} è il nuovo Host.",
37 | "Change" => "Cambia",
38 | "Same name user exists. Please rename or change icon." => "Esiste già un utente con lo stesso nome. Cambiare il
39 | nick o l'icona e riprovare.",
40 | "You are not host." => "Non sei l'host.",
41 | "Room name is blank." => "Manca il nome della stanza.",
42 | "Room name is modified." => "Il nome della stanza è stato modificato.",
43 | "Handover host" => "Cedi l'host",
44 | "Ban user" => "Banna utente",
45 | "Host is invaild." => "L'host non è valido.",
46 | "User not found." => "Utente non trovato.",
47 | "Gave host rights to {1}." => "L'host è passato a {1}.",
48 | "User is invaild." => "Il nome utente non è valido.",
49 | "Banned {1}." => "{1} è stato bannato.",
50 | "Language" => "Lingua",
51 | "The language is not in the option." => "La lingua non è presente tra le opzioni.",
52 | );
53 |
54 | ?>
55 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/ja-JP.php:
--------------------------------------------------------------------------------
1 | "名前を決めてください。",
5 | "Name should be less than 10 letters." => "名前は10文字以内にしてください。",
6 | "Member should be more than {1}." => "人数は{1}人以上にしてください。",
7 | "Member should be less than {1}." => "人数は{1}人以下にしてください。",
8 | "Cannot create new room any more." => "これ以上部屋を増やすことはできません。",
9 | "{1} logged in." => "ーー {1}さんが入室しました",
10 | "{1} logged out." => "ーー {1}さんが退室しました",
11 | "{1} lost the connection." => "ーー {1}さんの接続が切れました",
12 | "Data Error: Room creating failed." => "データエラー:ルーム作成に失敗しました。",
13 | "Room Name" => "部屋名",
14 | "Max Members" => "定員",
15 | "{1} members" => "{1}人",
16 | "Up to {1} rooms can be created." => "*部屋は{1}部屋まで作ることができます。",
17 | "Create Room" => "部屋を作る",
18 | 'If auto reload doesn\'t work, please click here.' => '転送されない場合はここをクリックしてください。',
19 | "LOGOUT" => "LOGOUT",
20 | "CREATE ROOM" => "部屋を作る",
21 | "Lounge" => "ラウンジ",
22 | "full" => "満員",
23 | "LOGIN" => "LOGIN",
24 | "Login error happened." => "外部からログインを試みたなどの原因でエラーが発生しました。",
25 | "ENTER" => "ENTER",
26 | "Room not found." => "部屋が存在しないか削除されました。",
27 | "Room is full." => "部屋が満員になりました。",
28 | "{1} users online!" => "{1}人がチャット参加中!",
29 | "Admin" => "管理",
30 | "Admin ID" => "管理者ID",
31 | "Password" => "パスワード",
32 | "ID or password is wrong." => "IDかパスワードが正しくありません。",
33 | "Announce" => "全室アナウンス",
34 | "Admin Announce" => "管理者アナウンス",
35 | "{1} is a new host." => "ーー {1}さんにルーム管理権限が移動しました",
36 | "Change" => "変更",
37 | "Same name user exists. Please rename or change icon." => "同じ名前のユーザがいるため参加できません。名前かアイコンを変更してください。",
38 | "You are not host." => "権限がありません。",
39 | "Room name is blank." => "部屋名が空欄です。",
40 | "Room name is modified." => "部屋名を変更しました。",
41 | "Handover host" => "管理権限を渡す",
42 | "Ban user" => "退室させる",
43 | "Host is invaild." => "ユーザの選択エラー。",
44 | "User not found." => "ユーザが見つかりません。",
45 | "Gave host rights to {1}." => "{1}さんに管理権限を渡しました。",
46 | "User is invaild." => "ユーザの選択エラー。",
47 | "Banned {1}." => "{1}さんを退室させました。",
48 | "Language" => "使用言語",
49 | "The language is not in the option." => "選択肢にない言語が選択されました。",
50 | "Durarara like chat room" => "デュラララ!!チャットルーム",
51 | "Durarara fan community" => "ファンコミュニティ",
52 |
53 | // http://drrrchat.com/localize.php#ja-JP
54 | "I'm now chatting at room '{1}'!" => "「{1}」部屋でチャットなう!",
55 |
56 | // Added at 2011-08-15
57 | "Welcome to Durarara-like-chat!" => "ようこそデュラララ風チャットへ!\nデュラララの世界を楽しんでいってください^^\nデュラララチャットとは?",
58 |
59 | // Added at 2011-08-21
60 | "Contains bad words." => "使用できない単語が含まれています。",
61 |
62 | // Added at 2011-08-28
63 | "This room is not available." => "この部屋は現在ご利用いただけません。",
64 | "N/A" => "利用不可", // (this means Not Available. this appears at lounge page when a chat room is unaviable)
65 | "Room setting updated." => "部屋設定が変更されました。",
66 | "ENTER" => "入室",
67 | "LOGIN" => "ログイン",
68 | "EXIT" => "退室",
69 | "YOUR NAME" => "ハンドルネーム",
70 | "Kick" => "退室させる",
71 | "Ban" => "退室させる(再入室禁止)",
72 | "{1} was kicked." => "{1}さんを強制退室しました。",
73 | "{1} was banned." => "{1}さんを再入室不可にしました。",
74 | "POST!" => "POST!",
75 |
76 | // Added at 2011-09-03
77 | "Here is no one. Why don't you join this room?" => "まだ誰もいません。入室しませんか?",
78 | "There is no one in this chat now." => "―― 現在チャットルームには誰もいません",
79 | "Name is must be more shorter. (Max length: {1})" => "名前は{1}文字以内にしてください。",
80 | "CREATE!" => "部屋を作る",
81 |
82 | // Added as 2011-12-05 by bluelovers
83 | 'Chat room name was changed to {1}' => 'ーー チャットルーム名は {1} に変更されました',
84 | );
85 |
86 | ?>
87 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/ko-KR.php:
--------------------------------------------------------------------------------
1 | "이름을 입력해 주십시오.",
5 | "Name should be less than 10 letters." => "이름은 10글짜 이내로 입력해 주십시오.",
6 | "Member should be more than {1}." => "인수는 {1} 명 이상으로 해 주십시오.",
7 | "Member should be less than {1}." => "인수는 {1} 명 이하로 해 주십시오.",
8 | "Cannot create new room any more." => "더 이상 방을 만들 수 없습니다.",
9 | "{1} logged in." => "-- {1}님이 로그인 하셨습니다.",
10 | "{1} logged out." => "-- {1}님이 로그아웃 하셨습니다.",
11 | "{1} lost the connection." => "-- {1}님의 접속이 끊겼습니다.",
12 | "Data Error: Room creating failed." => "오류: 방 작성 실패",
13 | "Room Name" => "방 이름",
14 | "Max Members" => "정원",
15 | "{1} members" => "{1} 명",
16 | "Up to {1} rooms can be created." => "*방은 최대로 {1} 실까지 만들 수 있습니다.",
17 | "Create Room" => "방 만들기",
18 | 'If auto reload doesn\'t work, please click here.' => '자동 전송이 안 될 경우 여기를 클릭해 주십시오.',
19 | "LOGOUT" => "LOGOUT",
20 | "CREATE ROOM" => "방 만들기",
21 | "Lounge" => "로비",
22 | "full" => "만원",
23 | "LOGIN" => "LOGIN",
24 | "Login error happened." => "외부에서 로그인을 시도했다 등의 이유로 인해 오류가 발생했습니다.",
25 | "ENTER" => "ENTER",
26 | "Room not found." => "방이 없거나 삭제되었습니다.",
27 | "Room is full." => "방이 만원이 되었습니다.",
28 | "{1} users online!" => "{1} 명이 채팅중!",
29 | "Admin" => "관리",
30 | "Admin ID" => "관리자ID",
31 | "Password" => "비밀변호",
32 | "ID or password is wrong." => "ID나 비밀번호가 옳지 않습니다.",
33 | "Announce" => "전체 아나운스",
34 | "Admin Announce" => "관리자 아나운스",
35 | "{1} is a new host." => "-- {1} 님에게 관리권한이 이동했습니다.",
36 | "Change" => "변경",
37 | "Same name user exists. Please rename or change icon." => "같은 이름의 참가자가 있습니다. 이름 또는 아이콘을 바꾸셔서 로그인하세요.",
38 | "You are not host." => "권한이 없습니다.",
39 | "Room name is blank." => "방 이름이 공백입니다.",
40 | "Room name is modified." => "방 이름을 변경했습니다.",
41 | "Handover host" => "관리권한 옮기기",
42 | "Ban user" => "퇴실시키기",
43 | "Host is invaild." => "선택 어류가 발생했습니다.",
44 | "User not found." => "유저를 못 찾았습니다.",
45 | "Gave host rights to {1}." => "{1} 님에게 관리권한을 옮겼습니다.",
46 | "User is invaild." => "선택 어류가 발생했습니다.",
47 | "Banned {1}." => "{1} 님을 퇴실시켰습니다.",
48 | "Language" => "언어",
49 | "The language is not in the option." => "선택자에 없는 언어가 선택됐습니다.",
50 | "Durarara like chat room" => "듀라라라!!채팅방",
51 | "Durarara fan community" => "팬 교류 사이트",
52 |
53 | // Added at 2011-08-13
54 | "I'm now chatting at room '{1}'!" => "\"{1}\" 채팅방에서 채팅하고 있는 중!",
55 |
56 | // Added at 2011-08-15
57 | "Welcome to Durarara-like-chat!" => "듀라라라!! 채팅방에 어서 오세요 :)",
58 |
59 | // Added at 2011-08-21
60 | "Contains bad words." => "사용하실 수 없는 단어가 들어 있습니다.",
61 |
62 | // Added at 2011-08-28
63 | "This room is not available." => "이 방은 이용하실 수 없습니다.",
64 | "N/A" => "이용불가", // (this means Not Available. this appears at lounge page when a chat room is unaviable)
65 | "Room setting updated." => "방설정이 방경되었습니다.",
66 | "ENTER" => "입실",
67 | "LOGIN" => "로그인",
68 | "EXIT" => "퇴실",
69 | "YOUR NAME" => "닉네임",
70 | "Kick" => "퇴실시키기",
71 | "Ban" => "퇴실시키기(제입실금지)",
72 | "{1} was kicked." => "{1}님을 퇴실시켰습니다.",
73 | "{1} was banned." => "{1}님을 퇴실시켰습니다.(제입실금지)",
74 |
75 | // Added at 2011-09-03
76 | "Here is no one. Why don't you join this room?" => "현재 아무도 없습니다. 이 방에 들어가시겠어요?",
77 | "There is no one in this chat now." => "-- 현재 채팅방에는 아무도 없습니다.",
78 | "Name is must be more shorter. (Max length: {1})" => "이름은 {1}글자 이내로 입력해 주십시오.",
79 | "CREATE!" => "작성",
80 | );
81 |
82 | ?>
83 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/list.php:
--------------------------------------------------------------------------------
1 | "English",
7 | 'ja-JP' => "日本語",
8 | 'ko-KR' => "한국어",
9 | 'zh-TW' => "中文(繁體)",
10 | 'ru-RU' => "Русский",
11 | 'it-IT' => "Italiano",
12 | 'pl-PL' => "Polska",
13 | 'zh-CN' => "中文(簡体)",
14 | 'pt-BR' => "Português(Brazil)",
15 | 'eo' => "Esperanto",
16 | 'es-ES' => "Español",
17 | 'id-ID' => "Bahasa Indonesia",
18 | 'de-DE' => "Deutsch",
19 | 'tr-TR' => "Türkçe",
20 | 'he-IL' => "עברית",
21 | );
22 | }
23 |
24 | ?>
25 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/no.php:
--------------------------------------------------------------------------------
1 | "Skriv inn navn.",
10 | "Name should be less than 10 letters." => "Navn må være maksimum 10 bokstaver.",
11 | "Member should be more than {1}." => "Brukerkapasiteten må minimum {1}.",
12 | "Member should be less than {1}." => "Brukerkapasiteten må være mindre enn {1}.",
13 | "Cannot create new room any more." => "Du kan ikke opprette et nytt rom.",
14 | "{1} logged in." => "-- {1} logget inn.",
15 | "{1} logged out." => "-- {1} logget ut.",
16 | "{1} lost the connection." => "-- {1} ble frakoblet.",
17 | "Data Error: Room creating failed." => "Feil: Det er ikke mulig å opprette et nytt rom.",
18 | "Room Name" => "Romnavn",
19 | "Max Members" => "Brukerkapasitet",
20 | "{1} members" => "{1} brukere",
21 | "Up to {1} rooms can be created." => "*Maksimum {1} rom kan bli opprettet.",
22 | "Create Room" => "Opprett rom.",
23 | 'If auto reload doesn\'t work, please click here.' => 'If the page does not automatically reload, please click here',
24 | "LOGOUT" => "LOGG UT",
25 | "CREATE ROOM" => "OPPRETT ROM",
26 | "Lounge" => "LOBBY",
27 | "full" => "fullt",
28 | "LOGIN" => "LOGG INN",
29 | "Login error happened." => "Det oppstod en feil ved pålogging.",
30 | "ENTER" => "ENTER",
31 | "Room not found." => "Rom ikke funnet.",
32 | "Room is full." => "Rommet er fullt.",
33 | "{1} users online!" => "{1} brukere online!",
34 | "Admin" => "Admin",
35 | "Admin ID" => "Admin ID",
36 | "Password" => "Passord",
37 | "ID or password is wrong." => "ID eller passord er feil.",
38 | "Announce" => "Kunngjøring",
39 | "Admin Announce" => "Admin Kunngjøring",
40 | "{1} is a new host." => "-- {1} er en ny vert.",
41 | "Change" => "Bytt.",
42 | "Same name user exists. Please rename or change icon." => "Brukernavnet eksistrer allerede. Bytt navn eller ikon.",
43 | "You are not host." => "Du er ikke vert.",
44 | "Room name is blank." => "Romnavn er tomt.",
45 | "Room name is modified." => "Romnavn er endret.",
46 | "Handover host" => "Overlevering av vert",
47 | "Ban user" => "Steng bruker ute.",
48 | "Host is invaild." => "Verten er ugyldig.",
49 | "User not found." => "Bruker ikke funnet.",
50 | "Gave host rights to {1}." => "Ga vertsrettigheter til {1}.",
51 | "User is invaild." => "Bruker er ugyldig.",
52 | "Banned {1}." => "Utestengt {1}.",
53 | "Language" => "Språk",
54 | "The language is not in the option." => "Språket er ikke et alternativ.",
55 | "Durarara like chat room" => "Durarara-lignende chat",
56 | "Durarara fan community" => "Durarara fan community",
57 |
58 | );
59 |
60 | ?>
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/pl-PL.php:
--------------------------------------------------------------------------------
1 | "Podaj nazwę nicku.",
4 | "Name should be less than 10 letters." => "
5 | Nazwa musi być mniejsza niż 10 liter.",
6 | "Member should be more than {1}." => "Możliwości użytkownika może być większa niż{1}.",
7 | "Member should be less than {1}." => "Możliwości użytkownika może być mniejsza niż {1}.",
8 | "Cannot create new room any more." => "Nie można utworzyć nowego pokoju.",
9 | "{1} logged in." => "-- {1} zalogowany.",
10 | "{1} logged out." => "-- {1} wologowany.",
11 | "{1} lost the connection." => "-- {1} połączenie przerwano.",
12 | "Data Error: Room creating failed." => "Error: Nie udało się utworzyć pokoju",
13 | "Room Name" => "Nazwa pokoju",
14 | "Max Members" => "User capacity",
15 | "{1} members" => "{1} users",
16 | "Up to {1} rooms can be created." => "*Możesz utworzyć {1} pokój maksymalnie.",
17 | "Create Room" => "Utwórz pokuj",
18 | 'If auto reload doesn\'t work, please click here.' => 'Jeśli strona nie została automatycznie przeładowana, kliknij here',
19 | "LOGOUT" => "LOGOUT",
20 | "CREATE ROOM" => "CREATE ROOM",
21 | "Lounge" => "Lounge",
22 | "full" => "pełny",
23 | "LOGIN" => "LOGIN",
24 | "Login error happened." => "Błąd logowania.",
25 | "ENTER" => "ENTER",
26 | "Room not found." => "Pokój nie został odnaleziony. ",
27 | "Room is full." => "Pokój jest pełny.",
28 | "{1} users online!" => "{1} użytkowników online!",
29 | "Admin" => "Admin",
30 | "Admin ID" => "Admin ID",
31 | "Password" => "Hasło",
32 | "ID or password is wrong." => "ID lub hasło jest nieprawidłowe.",
33 | "Announce" => "Ogłosić",
34 | "Admin Announce" => "Admin ogłasza",
35 | "{1} is a new host." => "-- {1} jest to nowy administrator.",
36 | "Change" => "Change",
37 | "Same name user exists. Please rename or change icon." => "Użytkownik o tej samej nazwie lub ikonie jest w bazie danych.",
38 | "You are not host." => "Nie jesteś gospodarzem.",
39 | "Room name is blank." => "Nazwa pokoju jest zajęta.",
40 | "Room name is modified." => "Nazwa pokoju jest modyfikowana",
41 | "Handover host" => "Przekazywanie praw administratorskich",
42 | "Ban user" => "Użytkownik zbanowany",
43 | "Host is invaild." => "Admin jest invaild.",
44 | "User not found." => "Nie znaleziono użytkownika.",
45 | "Gave host rights to {1}." => "Admin dał prawo {1}.",
46 | "User is invaild." => "Użytkownik jest invaild.",
47 | "Banned {1}." => "Zbanowany {1}.",
48 | "Language" => "Język",
49 | "The language is not in the option." => "Język nie jest w opcji.",
50 |
51 | // Added at 2011-08-13
52 | "I'm now chatting at room '{1}'!" => "Teraz rozmawiam w pokoju '{1}'!", // Message for Twitter or other social media
53 |
54 | // Added at 2011-08-15
55 | "Welcome to Durarara-like-chat!" => "Witaj na czacie jak w Durarara!",
56 |
57 | // Added at 2011-08-28
58 | "This room is not available." => "Ten pokój jest niedostępny.",
59 | "N/A" => "N/D", // (this means Not Available. this appears at lounge page when a chat room is unaviable)
60 | "Room setting updated." => "Zaktualizowano ustawienia pokoju.",
61 | "ENTER" => "WEJDŹ",
62 | "LOGIN" => "ZALOGUJ",
63 | "EXIT" => "WYJDŹ",
64 | "YOUR NAME" => "TWÓJ NICK",
65 | "Kick" => "Wyrzuć",
66 | "Ban" => "Zbanuj",
67 | "{1} was kicked." => "{1} wyrzucony.",
68 | "{1} was banned." => "{1} zbanowany.",
69 | "POST!" => "WYŚLIJ!",
70 | );
71 | ?>
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/pt-BR.php:
--------------------------------------------------------------------------------
1 | "Por favor coloque um nome.",
4 | "Name should be less than 10 letters." => "O nome deve conter menos de 10 letras.",
5 | "Member should be more than {1}." => "A capacidade de usuários deve ser mais de {1}.",
6 | "Member should be less than {1}." => "A capacidade de usários deve ser menos de {1}.",
7 | "Cannot create new room any more." => "Você não pode mais criar uma sala nova.",
8 | "{1} logged in." => "-- {1} entrou.",
9 | "{1} logged out." => "-- {1} saiu.",
10 | "{1} lost the connection." => "-- {1} foi desconectado.",
11 | "Data Error: Room creating failed." => "Erro: Falha ao criar sala",
12 | "Room Name" => "Nome da sala",
13 | "Max Members" => "Capacidade de usuários",
14 | "{1} members" => "{1} usuários",
15 | "Up to {1} rooms can be created." => "*Você pode criar no máximo {1} salas.",
16 | "Create Room" => "Criar Sala",
17 | 'If auto reload doesn\'t work, please click here.' => 'Se a página não se atualizar, por favor clique aqui',
18 | "LOGOUT" => "SAIR",
19 | "CREATE ROOM" => "CRIAR SALA",
20 | "Lounge" => "Saguão",
21 | "full" => "cheio",
22 | "LOGIN" => "ENTRAR",
23 | "Login error happened." => "Erro ao entrar.",
24 | "ENTER" => "ENTRAR",
25 | "Room not found." => "Sala não encontrada.",
26 | "Room is full." => "Sala cheia.",
27 | "{1} users online!" => "{1} usuários online!",
28 | "Admin" => "Admin",
29 | "Admin ID" => "Admin ID",
30 | "Password" => "Senha",
31 | "ID or password is wrong." => "ID ou senha está incorreto.",
32 | "Announce" => "Anunciar",
33 | "Admin Announce" => "Admin Anuncia",
34 | "{1} is a new host." => "-- {1} é o novo proprietário da sala.",
35 | "Change" => "Mudar",
36 | "Same name user exists. Please rename or change icon." => "Um usuário do mesmo nome já existe. Por favor mude seu nome ou imagem.",
37 | "You are not host." => "Você não é o proprietário da sala.",
38 | "Room name is blank." => "Nome da sala está vazio.",
39 | "Room name is modified." => "Nome da sala foi mudado.",
40 | "Handover host" => "Passar direitos de proprietário",
41 | "Ban user" => "Banir usuário",
42 | "Host is invaild." => "Proprietário é inválido.",
43 | "User not found." => "Usuário não encontrado.",
44 | "Gave host rights to {1}." => "Deu direitos de proprietário para {1}.",
45 | "User is invaild." => "Usuários inválido.",
46 | "Banned {1}." => "{1} foi banido.",
47 | "Language" => "Idioma",
48 | "The language is not in the option." => "O idioma não está nas opções.",
49 |
50 | // Added at 2011-08-13
51 | "I'm now chatting at room '{1}'!" => "Estou conversando na sala '{1}'!",
52 |
53 | // Added at 2011-08-15
54 | "Welcome to Durarara-like-chat!" => "Bem-vindo ao chat do Durarara!",
55 |
56 | );
57 | ?>
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/ru-RU.php:
--------------------------------------------------------------------------------
1 | "Пожалуйста, введите ник.",
5 | "Name should be less than 10 letters." => "Ник должен быть меньше 10 знаков.",
6 | "Member should be more than {1}." => "Число пользователей должно быть больше {1}.",
7 | "Member should be less than {1}." => "Число пользователей должно быть меньше {1}.",
8 | "Cannot create new room any more." => "Вы больше не можете создать новую комнату.",
9 | "{1} logged in." => "-- {1} в чате.",
10 | "{1} logged out." => "-- {1} покинул(а) чат.",
11 | "{1} lost the connection." => "-- {1} был(а) отключен(а).",
12 | "Data Error: Room creating failed." => "Ошибка: Ошибка при создании комнаты.",
13 | "Room Name" => "Название комнаты",
14 | "Max Members" => "Макс. число пользователей",
15 | "{1} members" => "{1} пользователей",
16 | "Up to {1} rooms can be created." => "*Всего можно создать {1} комнат.",
17 | "Create Room" => "Создать комнату",
18 | 'If auto reload doesn\'t work, please click here.' => 'Если страница автоматически не перезагружается, нажмите сюда',
19 | "LOGOUT" => "Выйти",
20 | "CREATE ROOM" => "Создать комнату",
21 | "Lounge" => "Лобби",
22 | "full" => "Полная",
23 | "LOGIN" => "Войти",
24 | "Login error happened." => "Ошибка авторизации",
25 | "ENTER" => "Войти",
26 | "Room not found." => "Комната не найдена.",
27 | "Room is full." => "Комната переполнена.",
28 | "{1} users online!" => "{1} пользователей в сети!",
29 | "Admin" => "Админ",
30 | "Admin ID" => "Админ ID",
31 | "Password" => "Пароль",
32 | "ID or password is wrong." => "ID или пароль не те.",
33 | "Announce" => "Обьявление",
34 | "Admin Announce" => "Обьявление админа",
35 | "{1} is a new host." => "-- {1} подключился.",
36 | "Change" => "Изменить",
37 | "Same name user exists. Please rename or change icon." => "Такое имя уже занято. Пожалуйста, смените имя или аватар.",
38 | "You are not host." => "Вы не вошли.",
39 | "Room name is blank." => "Пустое имя комнаты",
40 | "Room name is modified." => "Имя комнаты изменено.",
41 | "Handover host" => "Передача прав",
42 | "Ban user" => "Забанить",
43 | "Host is invaild." => "Ошибка подключения.",
44 | "User not found." => "Юзер не найден.",
45 | "Gave host rights to {1}." => "Передать права {1}.",
46 | "User is invaild." => "Юзер инвалид.",
47 | "Banned {1}." => "Забанен {1}.",
48 | "Language" => "Язык",
49 | "The language is not in the option." => "Язык не выбран.",
50 | "Durarara like chat room" => "Чат, как в «Durarara»",
51 | "Durarara fan community" => "Фан-сообщество «Durarara»",
52 |
53 | // Added at 2011-08-13
54 | "I'm now chatting at room '{1}'!" => "В данный момент я общаюсь в комнате '{1}'!", // Message for Twitter or other social media
55 |
56 | // Added at 2011-08-15
57 | "Welcome to Durarara-like-chat!" => "Добро пожаловать в чат как в \"Durarara\"",
58 |
59 | // Added at 2011-08-28
60 | "This room is not available." => "Эта комната недоступна.",
61 | "N/A" => "N/A", // (this means Not Available. this appears at lounge page when a chat room is unaviable)
62 | "Room setting updated." => "Настрйоки комнаты обновлены.",
63 | "ENTER" => "ЗАЙТИ",
64 | "LOGIN" => "ВОЙТИ",
65 | "EXIT" => "ВЫХОД",
66 | "YOUR NAME" => "ВАШЕ ИМЯ",
67 | "Kick" => "Кикнуть",
68 | "Ban" => "Заблокировать",
69 | "{1} was kicked." => "{1} был кикнут.",
70 | "{1} was banned." => "{1} был заблокирован.",
71 | "POST!" => "ОТПРАВИТЬ!",
72 | );
73 |
74 | ?>
75 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/tr-TR.php:
--------------------------------------------------------------------------------
1 | "Lütfen adınızı giriniz.",
5 | "Name should be less than 10 letters." => "Adınız 10 karakterden küçük olmalı.",
6 | "Member should be more than {1}." => "Kullanıcı kapasitesi en az {1} olmalı.",
7 | "Member should be less than {1}." => "Kullanıcı kapasitesi en fazla {1} olmalı .",
8 | "Cannot create new room any more." => "Daha fazla oda açamazsınız.",
9 | "{1} logged in." => "-- {1} çevrimiçi.",
10 | "{1} logged out." => "-- {1} çevrimdışı.",
11 | "{1} lost the connection." => "-- {1} kullanıcısının bağlantısı koptu.",
12 | "Data Error: Room creating failed." => "Hata: Oda açılamadı..",
13 | "Room Name" => "Oda Adı",
14 | "Max Members" => "Kullanıcı kapasitesi",
15 | "{1} members" => "{1} kullanıcı",
16 | "Up to {1} rooms can be created." => "*En fazla {1} oda açılabilir.",
17 | "Create Room" => "Oda aç",
18 | 'If auto reload doesn\'t work, please click here.' => 'Eğer yönlendirme otomatik gerçekleşmezse, lütfen burayı tıklayın.',
19 | "LOGOUT" => "ÇIKIŞ",
20 | "CREATE ROOM" => "ODA AÇ",
21 | "Lounge" => "CHAT ODALARI",
22 | "full" => "DOLU",
23 | "LOGIN" => "BAĞLAN",
24 | "Login error happened." => "Giriş hatası.",
25 | "ENTER" => "ENTER",
26 | "Room not found." => "oda Bulunamadı.",
27 | "Room is full." => "Oda Dolu.",
28 | "{1} users online!" => "{1} Kişi çevrimiçi!",
29 | "Admin" => "Admin",
30 | "Admin ID" => "Admin ID",
31 | "Password" => "Şifre",
32 | "ID or password is wrong." => "ID veya şifre yanlış..",
33 | "Announce" => "Duyuru",
34 | "Admin Announce" => "Admin Duyurusu",
35 | "{1} is a new host." => "-- {1} odanın yeni sahibi.",
36 | "Change" => "Değiştir",
37 | "Same name user exists. Please rename or change icon." => "Bu ad kullanılmakta, lütfen adınızı veya iconunuzu değiştiriniz..",
38 | "You are not host." => "Oda sahibi değilsiniz.",
39 | "Room name is blank." => "Oda adı yok.",
40 | "Room name is modified." => "Oda adı değiştirildi.",
41 | "Handover host" => "Odanın sahipliğini devret.",
42 | "Ban user" => "Kullanıcıyı banla.",
43 | "Host is invaild." => "Böyle bir Oda sahibi yok.",
44 | "User not found." => "Kullanıcı bulunamadı.",
45 | "Gave host rights to {1}." => "{1} adlı kullanıcıya odayı devret..",
46 | "User is invaild." => "Böyle bir kullanıcı yok.",
47 | "Banned {1}." => " {1} Banlandı.",
48 | "Language" => "Dil",
49 | "The language is not in the option." => "Dil kullanılabilir değil.",
50 | "Durarara like chat room" => "Durarara tarzı chat ",
51 | "Durarara fan community" => "Durarara Hayran Topluluğu",
52 | );
53 |
54 | ?>
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/zh-CN.php:
--------------------------------------------------------------------------------
1 | "请输入昵称。",
5 | "Name should be less than 10 letters." => "昵称必须少于10 字节。",
6 | "Member should be more than {1}." => "成员人数必须多于{1} 人。",
7 | "Member should be less than {1}." => "成员人数必须少于{1} 人。",
8 | "Cannot create new room any more." => "已无法创建更多新房间。",
9 | "{1} logged in." => "ーー{1} 已登陆房间",
10 | "{1} logged out." => "ーー{1} 已退出房间",
11 | "{1} lost the connection." => "ーー{1} 已与服务器断开连接",
12 | "Data Error: Room creating failed." => "输入错误:房间创建失败。",
13 | "Room Name" => "房间名称",
14 | "Max Members" => "成员人数",
15 | "{1} members" => "{1}人",
16 | "Up to {1} rooms can be created." => "*本站最多仅能创建{1} 间房间。",
17 | "Create Room" => "创建房间",
18 | 'If auto reload doesn\'t work, please click here.' => '若自动转移无任何反应,请按这里。 ',
19 | "LOGOUT" => "LOGOUT",
20 | "CREATE ROOM" => "创建房间",
21 | "Lounge" => "房间一览",
22 | "full" => "满人",
23 | "LOGIN" => "LOGIN",
24 | "Login error happened." => "登陆发生错误。",
25 | "ENTER" => "ENTER",
26 | "Room not found." => "房间不存在或已被删除。",
27 | "Room is full." => "房间已经满人。",
28 | "{1} users online!" => "目前共有{1} 人在线上!",
29 | "Admin" => "管理",
30 | "Admin ID" => "帐号",
31 | "Password" => "密码",
32 | "ID or password is wrong." => "帐号密码错误。",
33 | "Announce" => "全室广播",
34 | "Admin Announce" => "管理员广播",
35 | "{1} is a new host." => "ーー{1} 为新房间管理员",
36 | "Change" => "修改",
37 | "Same name user exists. Please rename or change icon." => "抱歉,这个昵称已有人使用。请更改昵称或头像。",
38 | "You are not host." => "没有管理权限。",
39 | "Room name is blank." => "尚未输入房间名称。",
40 | "Room name is modified." => "房间名称已修改。",
41 | "Handover host" => "更改管理员",
42 | "Ban user" => "强制退出",
43 | "Host is invaild." => "成员选择错误。",
44 | "User not found." => "找不到成员。",
45 | "Gave host rights to {1}." => "{1} 取得管理权限。",
46 | "User is invaild." => "请选择成员。",
47 | "Banned {1}." => "{1} 已强制退出。",
48 | "Language" => "选择语言",
49 | "The language is not in the option." => "请选择可用的语言。",
50 | "Durarara like chat room" => "Durarara chat room",
51 | "Durarara fan community" => "Durarara fan community",
52 |
53 | // Added as 2011-12-05 by bluelovers
54 | 'Chat room name was changed to {1}' => 'ーー房间名称变更为 {1}',
55 | );
56 |
57 | ?>
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Resource/Lang/zh-TW.php:
--------------------------------------------------------------------------------
1 | "請輸入顯示名稱。",
5 | "Name should be less than 10 letters." => "名稱必須少於 10 字元。",
6 | "Member should be more than {1}." => "成員人數必須多於 {1} 人。",
7 | "Member should be less than {1}." => "成員人數必須少於 {1} 人。",
8 | "Cannot create new room any more." => "已無法創立更多新部屋。",
9 | "{1} logged in." => "ーー {1} 已登入部屋",
10 | "{1} logged out." => "ーー {1} 已退出部屋",
11 | "{1} lost the connection." => "ーー {1} 已中斷連線",
12 | "Data Error: Room creating failed." => "資料錯誤:部屋創立失敗。",
13 | "Room Name" => "部屋名稱",
14 | "Max Members" => "成員人數",
15 | "{1} members" => "{1}人",
16 | "Up to {1} rooms can be created." => "*本站最多僅能創立 {1} 間部屋。",
17 | "Create Room" => "創立部屋",
18 | 'If auto reload doesn\'t work, please click here.' => '若自動轉移無任何反應,請按這裡。',
19 | "LOGOUT" => "LOGOUT",
20 | "CREATE ROOM" => "創立部屋",
21 | "Lounge" => "部屋一覽",
22 | "full" => "額滿",
23 | "LOGIN" => "LOGIN",
24 | "Login error happened." => "登入發生錯誤。",
25 | "ENTER" => "ENTER",
26 | "Room not found." => "部屋不存在或已被刪除。",
27 | "Room is full." => "部屋已經額滿。",
28 | "{1} users online!" => "目前共有 {1} 人在線上!",
29 | "Admin" => "管理",
30 | "Admin ID" => "帳號",
31 | "Password" => "密碼",
32 | "ID or password is wrong." => "帳號密碼錯誤。",
33 | "Announce" => "全室廣播",
34 | "Admin Announce" => "管理者廣播",
35 | "{1} is a new host." => "ーー {1} 為新部屋管理人",
36 | "Change" => "變更",
37 | "Same name user exists. Please rename or change icon." => "抱歉,這個顯示名稱已有人使用。請更改顯示名稱或圖示。",
38 | "You are not host." => "沒有管理權限。",
39 | "Room name is blank." => "尚未輸入部屋名稱。",
40 | "Room name is modified." => "部屋名稱已修改。",
41 | "Handover host" => "更改管理人",
42 | "Ban user" => "強制退出",
43 | "Host is invaild." => "成員選擇錯誤。",
44 | "User not found." => "找不到成員。",
45 | "Gave host rights to {1}." => "{1} 取得管理權限。",
46 | "User is invaild." => "請選擇成員。",
47 | "Banned {1}." => "{1} 已強制退出。",
48 | "Language" => "選擇語言",
49 | "The language is not in the option." => "請選擇可用的語言。",
50 | "Durarara like chat room" => "Durarara 聊天室",
51 | "Durarara fan community" => "中文版",
52 |
53 | // Added as 2011-12-05 by bluelovers
54 | 'Chat room name was changed to {1}' => 'ーー 部屋名稱變更為 {1}',
55 | );
56 |
57 | ?>
58 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Syntax/syntax.func.php:
--------------------------------------------------------------------------------
1 | $param)
20 | {
21 | $message = str_replace('{' . $i . '}', $param, $message);
22 | }
23 |
24 | return $message;
25 | }
26 |
27 | function e($string, $escape = false)
28 | {
29 | echo $escape ? Dura::escapeHtml($string) : $string;
30 | }
31 |
--------------------------------------------------------------------------------
/dura/trust_path/Dura/Syntax/syntax.json.php:
--------------------------------------------------------------------------------
1 | suppressNotFoundWarnings(true)
32 | ;
33 |
34 | /*
35 | Zend_Loader::loadClass('Dura_Autoloader', dirname(__file__));
36 |
37 | Zend_Loader_Autoloader::getInstance()->pushAutoloader(Dura_Autoloader::getInstance(DURA_TRUST_PATH, 'Dura'));
38 |
39 | $pluginLoader = new Zend_Loader_PluginLoader();
40 |
41 | $pluginLoader->addPrefixPath('Dura', DURA_TRUST_PATH);
42 |
43 | Zend_Loader_Autoloader::getInstance()->pushAutoloader($pluginLoader);
44 | */
45 |
46 | Zend_Loader::loadClass('Dura_Autoloader', DURA_TRUST_PATH);
47 |
48 | /*
49 | $resourceLoader = new Zend_Loader_Autoloader_Resource(array(
50 | 'basePath' => DURA_TRUST_PATH . '/Dura',
51 | 'namespace' => 'Dura',
52 | 'resourceTypes' => array(
53 | 'Abstract' => array(
54 | 'path' => 'Abstract/',
55 | 'namespace' => 'Abstract',
56 | ),
57 | 'Class' => array(
58 | 'path' => 'Class/',
59 | 'namespace' => 'Class',
60 | ),
61 | 'Controller' => array(
62 | 'path' => 'Controller/',
63 | 'namespace' => 'Controller',
64 | ),
65 | 'Model' => array(
66 | 'path' => 'Model/',
67 | 'namespace' => 'Model',
68 | ),
69 | 'Resource' => array(
70 | 'path' => 'Resource/',
71 | 'namespace' => 'Resource',
72 | ),
73 | ),
74 | ));
75 | */
76 |
77 | Dura_Autoloader::getInstance()
78 | ->pushAutoloader(DURA_TRUST_PATH, 'Dura_')
79 | ->pushAutoloader(array('Dura', 'autoload'), 'Dura_')
80 | ;
81 |
82 | /*
83 | Zend_Loader_Autoloader::getInstance()
84 | ->pushAutoloader(array('Dura', 'autoload'), 'Dura_')
85 | // ->pushAutoloader(array($resourceLoader, 'autoload'), 'Dura_')
86 | ->unshiftAutoloader(array('Dura_Autoloader', 'autoload'), 'Dura_')
87 | ;
88 | */
89 |
90 | Zend_Loader::loadFile('syntax.func.php', DURA_TRUST_PATH.'/Dura/Syntax', true);
91 | Zend_Loader::loadFile('syntax.json.php', DURA_TRUST_PATH.'/Dura/Syntax', true);
92 |
93 | if (!class_exists('Dura'))
94 | {
95 | Zend_Loader::loadFile('Dura.php', DURA_TRUST_PATH, true);
96 | }
97 |
--------------------------------------------------------------------------------
/dura/trust_path/data/xml/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/trust_path/data/xml/.gitkeep
--------------------------------------------------------------------------------
/dura/trust_path/readme/.htaccess:
--------------------------------------------------------------------------------
1 | order deny,allow
2 | deny from all
3 |
--------------------------------------------------------------------------------
/dura/trust_path/readme/image.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/trust_path/readme/image.docx
--------------------------------------------------------------------------------
/dura/trust_path/readme/readme-en.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/trust_path/readme/readme-en.html
--------------------------------------------------------------------------------
/dura/trust_path/readme/readme-ja.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/trust_path/readme/readme-ja.html
--------------------------------------------------------------------------------
/dura/trust_path/readme/update1.0.1-to-1.0.2.txt:
--------------------------------------------------------------------------------
1 | 1./duraを全部削除
2 | 2.新しく/duraを設置
3 | 3.xmlディレクトリに書き込み権限0777を与える
4 |
5 | 追加機能
6 | ・部屋作成機能
7 | ・チャット参加者表示 /member コマンド
8 | ・Comet実装(設定でON/OFF可能)
9 | ・多言語対応(ローカライズ、設定で表示言語を変更可能)
10 | ・管理人機能 (ログインページフッター部分のリンクから)
11 | ・mod_rewrite
12 | ・管理者アナウンス(全室にむけて一斉アナウンスする機能)
13 |
14 | 変更
15 | ・全体的にディレクトリの構成を変更
16 | ・サウンド有効をデフォルトに /sound でON/OFF可能
17 | ・ログのXML化
18 | ・trust_path化(ログファイルなど外部からの直接アクセスを遮断するため)
--------------------------------------------------------------------------------
/dura/trust_path/readme/update1.0.2-to-1.0.3.txt:
--------------------------------------------------------------------------------
1 | 追加
2 | ・IE7でも発言バルーンの角が丸く表示される機能を追加(javascriptで対応)
3 | ・アイコンを2つ追加 ZAWA, GG
4 | ・ふきだしサウンド、ふきだしアニメーション、メンバーリストの表示のON/OFFを選べるインターフェイスを追加
5 | ・韓国語の翻訳ファイルを追加
6 | ・ホスト機能(部屋名変更・ホスト権限移譲・強制退室)
7 | ・中国語(台湾)の翻訳ファイルを追加
8 | ・ロシア語の翻訳ファイルを追加
9 | ・動的言語切替の仕組みを実装
10 |
11 | 変更
12 | ・チャット画面のメッセージ入力部分の幅をウィンドウに対して100%になるように変更(原作だと100%だから直してという要望あり)
13 | ・より忠実にアニメーションを再現するように、チャットルームの表示を変更
14 | ・/sound /memberなどのCLI的な実装を廃止
15 | ・同じ名前、同じアイコンのユーザがひとつの部屋に共存できないように変更
16 | ・アイコンのクオリティが上昇(台湾の甘樂さん提供)
17 |
18 | 修正
19 | ・ajaxのリロードループがリクエスト完了まで待つように修正(パフォーマンス向上)
20 | ・mod_rewriteを使わない時、退室とPOST!ができないバグを修正 (thx 凪)
21 | ・自分の発言が140文字を超えても丸められないで表示されるバグを修正
22 | ・モニタによってボタンの四隅の白が気になることがあるので四隅を透過に修正
23 | ・Enterだけを押すと改行が入るバグを修正
24 | ・ログアウト中に「接続が切れました」と出るバグを修正
25 | ・英語の間違えを修正
--------------------------------------------------------------------------------
/dura/trust_path/setting.dist.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dura/trust_path/template/admin.default.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dura/trust_path/template/admin_announce.default.php:
--------------------------------------------------------------------------------
1 |
8 | */ ?>
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | -
24 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/dura/trust_path/template/create_room.default.php:
--------------------------------------------------------------------------------
1 |
62 |
--------------------------------------------------------------------------------
/dura/trust_path/template/default.default.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dura/trust_path/template/footer.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/dura/trust_path/template/header.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
18 |
19 |
--------------------------------------------------------------------------------
/dura/trust_path/template/lounge.default.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 
5 |
6 | -
7 |
8 |
9 |
12 |
13 |
14 |
15 |
16 |
17 | -
18 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
77 |
78 |
--------------------------------------------------------------------------------
/dura/trust_path/template/page.about.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/trust_path/template/page.about.php
--------------------------------------------------------------------------------
/dura/trust_path/template/room.askpw.php:
--------------------------------------------------------------------------------
1 |
35 |
--------------------------------------------------------------------------------
/dura/trust_path/template/room.default.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/trust_path/template/room.default.php
--------------------------------------------------------------------------------
/dura/trust_path/template/theme.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/trust_path/template/theme.php
--------------------------------------------------------------------------------
/dura/trust_path/template/trans.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/admin.default.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Admin
4 |
5 |
6 | slot('theme.error'));?>
7 |
22 |
23 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/admin_announce.default.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
13 |
14 | slot('theme.error'));?>
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | -
27 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/create_room.default.php:
--------------------------------------------------------------------------------
1 |
2 | extend('theme'); ?>
3 |
4 |
5 |
6 |
7 |
8 |
9 |
41 |
42 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/default.default.header.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/default.default.php:
--------------------------------------------------------------------------------
1 |
2 | extend('theme'); ?>
3 |
4 | set('html.header.script', $this->slot('default.default.header')); ?>
5 |
6 |
7 | slot('theme.page.header'));?>
8 |
9 |
10 | slot('theme.content.secondary'));?>
11 |
12 |
51 | slot('theme.copyright'));?>
52 |
53 | slot('theme.footer'));?>
54 |
55 | slot('admin.default'));?>
56 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/default.logout.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/html.footer.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/trust_path/tpl/html.footer.php
--------------------------------------------------------------------------------
/dura/trust_path/tpl/html.header.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/trust_path/tpl/html.header.php
--------------------------------------------------------------------------------
/dura/trust_path/tpl/lounge.default.btn.php:
--------------------------------------------------------------------------------
1 |
2 | slot('theme.default.btn.share')); ?>
3 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/lounge.default.php:
--------------------------------------------------------------------------------
1 |
2 | extend('theme'); ?>
3 |
4 | set('tpl.page.header.back', true); ?>
5 |
6 |
7 | slot('theme.page.header'));?>
8 |
9 |
10 | slot('theme.content.secondary'));?>
11 |
12 |
13 |
14 |
15 |
31 |
32 |
33 |
34 | slot('theme.error'));?>
35 |
36 |
37 |
38 |
41 |
42 |
43 |
44 |
45 |
46 | getList()->toArray(); ?>
47 |
48 |
49 |
50 |
51 |
52 |
53 | -
54 |
55 |
56 |
57 |
58 |
59 | -
60 |
61 |
62 |
63 | /
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 | slot('theme.copyright'));?>
79 |
80 | slot('theme.footer'));?>
81 |
82 | slot('default.logout'));?>
83 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/page.about.header.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/page.about.php:
--------------------------------------------------------------------------------
1 |
2 | extend('theme'); ?>
3 |
4 | set('tpl.page.header.back.url', '#'); ?>
5 |
6 |
7 | slot('theme.page.header'));?>
8 |
9 |
10 | slot('page.about.header')) ?>
11 |
12 |
13 |
14 |
デュラララ!!チャットとは?| みんなが楽しめるチャット
15 |
16 |
17 |
18 |
19 |
40 |
41 | slot('theme.footer'));?>
42 |
43 |
44 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/room.askpw.php:
--------------------------------------------------------------------------------
1 |
2 | extend('theme'); ?>
3 |
4 |
5 |
6 |
7 |
8 |
9 |
26 |
27 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/room.default.header.php:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | slot('room.default.js.sound'));?>
14 |
15 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/room.default.js.sound.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bluelovers/drrr-like-chat/fb8299fc34e662cdfcf0706567d7b755c994d5a1/dura/trust_path/tpl/room.default.js.sound.php
--------------------------------------------------------------------------------
/dura/trust_path/tpl/room.default.php:
--------------------------------------------------------------------------------
1 |
2 | extend('theme');
5 | $this->set('html.header.script', $this->slot('room.default.header'));
6 |
7 | endif; ?>
8 |
9 | set('html.title', $dura['room']['name'] .' | '.t(DURA_TITLE).' | '.t(DURA_SUBTITLE)) ?>
10 |
11 | set('tpl.page.header.back', true); ?>
12 |
13 |
14 |
15 |
16 |
17 |
18 | get('tpl.page.header.home', true)): ?>
19 |
Home
20 |
21 |
22 | get('tpl.page.header.btn.left')); ?>
23 |
24 |
25 |
26 |
|
27 |
28 |
29 |
30 | get('tpl.page.header.btn.right')); ?>
31 |
32 |
33 |
34 |
35 | get('tpl.page.header.back')): ?>
36 |
37 |
38 |
39 |
40 |
41 |
42 |
85 |
86 | slot('theme.content.secondary'));?>
87 |
88 |
89 |
90 | slot('room.default.talks.talk'));?>
91 |
92 |
93 |
94 | slot('theme.copyright'));?>
95 |
96 |
97 | slot('theme.footer'));?>
98 |
99 | slot('default.logout'));?>
100 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/room.default.talks.talk.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | data-time="" >
4 |
5 |
6 |
7 |
>
8 | -
9 |
10 |
11 |
12 | -
13 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/room.options.php:
--------------------------------------------------------------------------------
1 |
2 | extend('theme'); ?>
3 |
4 |
5 |
6 |
7 |
8 |
9 |
66 |
67 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/theme.content.secondary.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/theme.copyright.php:
--------------------------------------------------------------------------------
1 |
2 | get('dura-debug', true)): ?>
3 |
4 |
5 |
6 |
7 |
get('dura-debug-msg')) ?>
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | |
20 |
21 |
22 | Durarara-like-chat Copyright (c) 2010 Suin | Fork (c) bluelovers
23 |
24 | | get this chat?
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/theme.default.btn.share.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/theme.error.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/theme.footer.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
Top
7 |
8 | get('tpl.page.footer.btn.left')); ?>
9 |
10 |
11 |
12 | get('tpl.page.footer.btn.center')); ?>
13 |
14 | slot('theme.default.btn.share')); ?>
15 |
16 |
17 |
18 |
19 |
20 |
21 | get('tpl.page.footer.btn.right')); ?>
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/theme.js.dura.php:
--------------------------------------------------------------------------------
1 | (function($)
2 | {
3 |
4 | $.Dura = $.extend({}, $.Dura, {});
5 |
6 | })(jQuery);
--------------------------------------------------------------------------------
/dura/trust_path/tpl/theme.page.header.php:
--------------------------------------------------------------------------------
1 | get('tpl.page.header.attr')) ?>>
2 |
3 |
4 |
5 | get('tpl.page.header.home', true)): ?>
6 |
Home
7 |
8 |
9 | get('tpl.page.header.btn.left')); ?>
10 |
11 |
12 |
13 |
get('html.title', t(DURA_TITLE).' | '.t(DURA_SUBTITLE))) ?>
14 |
15 |
16 |
17 | get('tpl.page.header.btn.right')); ?>
18 |
19 |
20 |
21 |
22 | get('tpl.page.header.back')): ?>
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/theme.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | get('html.title', t(DURA_TITLE).' | '.t(DURA_SUBTITLE))) ?>
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | slot('theme.header')) ?>
27 |
28 | slot('html.header')) ?>
29 |
30 |
31 |
32 |
33 |
34 | content) ?>
35 |
36 |
37 |
38 | slot('html.footer')) ?>
39 |
40 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/theme.switch.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | getList()->toArray() as $langcode => $language): ?>
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/dura/trust_path/tpl/trans.php:
--------------------------------------------------------------------------------
1 |
2 | extend('theme'); ?>
3 |
4 | set('html.header.script', '') ?>
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
here.', $this->get('url'))) ?>
13 | slot('theme.error'));?>
14 |
15 |
16 |
--------------------------------------------------------------------------------