-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
219 lines (202 loc) · 7.23 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<?php
/* Title + description of the page */
$title = "XDCC";
$description = "My XDCC!";
/*
language available:
- en
- fr
*/
$language = "en";
/*
Do you want to show the Bookmark block:
- true
- false
*/
$bookmark = true;
/*
Can Search engines track this website?
- true (yes)
- false (no)
*/
$can_track = true;
/*
Your main website
- "" for no website
- begin with ftp/http
*/
$website_link = "";
$website_label = "Website";
/* The IRC server to connect to:
change in this example irc://irc-server:port/channel?key:
* `irc-server` by your IRC server
* `port` by the port by default (optionnal)
* `channel` by your channel (without the #)
* `key` by the key to enter to your channel (optionnal, if you don't put it, remove the ? in the URL too)
For example "irc://freenode.net/wikihow" is ok
*/
$irc_link = "irc://irc-server:port/channel?key";
$irc_label = "IRC";
/* IMPORTANT: For admin.php page */
$user = "user";
$password = "user";
/* Separator for CSV
though CSV stands for "comma separated value"
in many countries (like France) separator is ";"
*/
$csv_separator = ",";
/* Where to host the json files
and where name they have.
Per default:
* data.json for bot
* bookmarks.json for bookmarks
in the folder cache/
*/
$folder_json_files = "json/";
$bot_file = "data.json";
$bookmarks_file = "bookmarks.json";
/**********************************************************\
* _ *
* | | *
* | | __ _ _ __ __ _ _ _ __ _ __ _ ___ *
* | | / _` | '_ \ / _` | | | |/ _` |/ _` |/ _ \ *
* | |___| (_| | | | | (_| | |_| | (_| | (_| | __/ *
* \_____/\__,_|_| |_|\__, |\__,_|\__,_|\__, |\___| *
* __/ | __/ | *
* |___/ |___/ *
\**********************************************************/
$lang = array (
"en" => array(
"choose_bot" => "Choose a bot",
"Pack" => "Pack",
"Pack_number" => "Number of the pack",
"File" => "File",
"Size" => "Size",
"Downloads" => "Downloads",
"Packs_size" => "Size of these packs:",
"Paste_windows" => "Paste this in your irc client:",
"User" => "User",
"Password" => "Password",
"Powered" => "Powered by",
"msg_add" => "has been successfully added!",
"msg_modify" => "has been successfully modified!",
"msg_remove" => "has been successfully removed!",
"Bot_name" => "Name of the bot",
"Bot_xml" => "XML of the bot",
"Bot_website" => "Website linked to the bot",
"Bot_irc" => "IRC linked to the bot",
"Bookmark_name" => "Name of the bookmark",
"Bookmark_search" => "Search query of the bookmark",
"Bookmark_bot" => "Bot linked to the bookmark",
"Add_but" => "Add it!",
"Modify_but" => "Modify it",
"Remove_but" => "Remove it",
"Connect_but" => "Log in!",
"Bot:" => "Bot:",
"Bots" => "Bots",
"Bookmarks" => "Bookmarks",
"Add_bot_but" => "Add a bot",
"Modify_bot" => "Modify a bot",
"Modify_bookmark" => "Modify a bookmark",
"Managing_Bot" => "Manage bots",
"Managing_Bookmark" => "Manage bookmarks",
"Add_bookmark_but" => "Add a bookmark",
"Login_page" => "Login Page",
"Admin_page" => "Admin Page",
"Disconnect_but" => "Disconnect",
"Home_but" => "Home",
"website" => "website",
"IRC" => "IRC",
"Fail_load_XML" => "Failed to load XML content, or the XML content is empty",
"Export_csv" => "Export the number of download per file",
"Transfered_daily" => "Transfered Daily",
"Transfered_weekly" => "Transfered Weekly",
"Transfered_monthly" => "Transfered Monthly",
"Transfered_total" => "Transfered Total",
"Last_update" => "Last Update:",
"Other_sysinfo" => "Other system informations",
"Slots_max" => "Maximum number of slots:",
"Main_queue_max" => "Maximum number of parallele download:",
"Idle_queue_max" => "Maximum number of idle download:",
"Bandwith_max" => "Maximum Bandwith reached:",
"Search:" => "Search:",
"Import_botJSON" => "Import " . $bot_file,
"Export_botJSON" => "Export " . $bot_file,
"Import_bookJSON" => "Import " . $bookmarks_file,
"Export_bookJSON" => "Export " . $bookmarks_file,
"Return_admin" => "Return to the Admin Page",
"Search_on" => "Search on",
"ALL_BOTS" => "ALL BOTS",
"Upload_file" => "Your file has been correctly imported.",
"Upload_file_fail" => "Your file's upload failed.",
"Upload_file_fail_name" => "The file's name is not <code>" . $bot_file . "</code>",
"Fail_connect" => "Fail to connect",
),
"fr" => array(
"choose_bot" => "Choisissez un bot dans la liste",
"Pack" => "Pack",
"Pack_number" => "Numéro du pack",
"File" => "Fichier",
"Size" => "Taille",
"Downloads" => "Téléchargements",
"Packs_size" => "Taille de ces packs :",
"Paste_windows" => "Copie cela dans ton logiciel IRC :",
"User" => "Utilisateur",
"Password" => "Mot de passe",
"Powered" => "Utilise",
"msg_add" => "a été ajouté !",
"msg_modify" => "a été modifié !",
"msg_remove" => "a été supprimé !",
"Bot_name" => "Nom du bot",
"Bot_xml" => "XML du bot",
"Bot_website" => "Site web du bot",
"Bot_irc" => "IRC du bot",
"Bookmark_name" => "Nom du signet",
"Bookmark_search" => "Recherche du signet",
"Bookmark_bot" => "Bot du signet",
"Add_but" => "L’ajouter !",
"Modify_but" => "Modifier le bot",
"Remove_but" => "Supprimer le bot",
"Connect_but" => "Se connecter",
"Bot:" => "Bot :",
"Bots" => "Bots",
"Bookmarks" => "Signets",
"Add_bot_but" => "Ajouter un bot",
"Modify_bot" => "Modifier un bot",
"Modify_bookmark" => "Modifier un bookmark",
"Managing_Bot" => "Gestion des bots",
"Managing_Bookmark" => "Gestion des signets",
"Add_bookmark_but" => "Ajouter un signet",
"Login_page" => "Page de connexion",
"Admin_page" => "Page d’administration",
"Disconnect_but" => "Se déconnecter",
"Home_but" => "Accueil",
"website" => "site internet",
"IRC" => "IRC",
"Fail_load_XML" => "Échec du chargement du contenu XML ou le contenu XML est vide",
"Export_csv" => "Exporter le nombre de téléchargement par fichier",
"Transfered_daily" => "Transferé par jour",
"Transfered_weekly" => "Transféré par semaine",
"Transfered_monthly" => "Transferé par mois",
"Transfered_total" => "Transferé au total",
"Last_update" => "Dernière mise à jour :",
"Other_sysinfo" => "D’autres informations systèmes",
"Slots_max" => "Nombres de slots maximum :",
"Main_queue_max" => "Nombres de transferts parallèle maximum :",
"Idle_queue_max" => "Nombres de transferts en pause maximum :",
"Bandwith_max" => "Vitesse maximum atteint :",
"Search:" => "Recherche :",
"Import_botJSON" => "Importer " . $bot_file,
"Export_botJSON" => "Exporter " . $bot_file,
"Import_bookJSON" => "Importer " . $bookmarks_file,
"Export_bookJSON" => "Exporter " . $bookmarks_file,
"Return_admin" => "Retourner sur la page d’administration",
"Search_on" => "Rechercher sur",
"ALL_BOTS" => "TOUS LES BOTS",
"Upload_file" => "Le fichier a correctement été importé.",
"Upload_file_fail" => "Échec de l’import.",
"Upload_file_fail_name" => "Le nom du fichier n’est pas <code>" . $bot_file . "</code>",
"Fail_connect" => "Connexion non réussie",
),
);
?>