Commit | Line | Data |
---|---|---|
d821a8ac PH |
1 | <?php |
2 | /******************************************************************************** | |
3 | * include/core.inc.php : The include file for using Philter Core | |
4 | * -------------------- | |
5 | * | |
6 | * This file is part of the philter distribution | |
7 | * Copyright: See COPYING files that comes with this distribution | |
8 | ********************************************************************************/ | |
9 | ||
10 | $philter->config['i18n'] = Array( | |
11 | // index.php | |
12 | 'up' => 'Up', | |
13 | 'dn' => 'Down', | |
14 | 'del' => 'Delete', | |
15 | 'submit' => 'Submit', | |
16 | ||
17 | 'new_action' => 'New Action', | |
18 | 'new_match' => 'New Match', | |
19 | ||
20 | 'global_title' => 'Global configuration', | |
21 | ||
22 | 'pool_title' => 'Redirection addresses Pool', | |
23 | ||
24 | 'filter_title' => 'Individuals Rules', | |
25 | 'filter_list_title' => 'Filter List', | |
26 | 'new_rule' => '[ new rule ]', | |
27 | ||
28 | 'filter_rule_conf' => 'Global Options', | |
29 | 'all_matches' => 'each match must be true', | |
30 | 'one_match' => 'only one match need to be true', | |
31 | 'blocking_rule' => 'stop after this rule if matched', | |
32 | ||
33 | 'filter_matches_list' => 'Matches List', | |
34 | 'filter_actions_list' => 'Actions List', | |
35 | ||
36 | // include/email.php | |
37 | 'your_email' => 'your email ...', | |
38 | 'email' => 'Email', | |
39 | 'active' => 'Active', | |
40 | 'apply_changes' => 'Apply Changes', | |
41 | 'add' => 'Add' | |
42 | ); | |
43 | ||
44 | $handle = opendir('locales/plugins'); | |
45 | while(($file = readdir($handle)) !== false) | |
46 | if(preg_match("/^.*\.en\.inc\.php$/",$file)) | |
47 | require_once('include/plugins/'.$file); | |
48 | closedir($handle); | |
49 | ||
50 | // PHP 4.3.0 required !!! | |
51 | // foreach(glob("include/plugins/*.en.inc.php") as $file) require_once($file); | |
52 | ||
53 | ||
54 | /******************************************************************************** | |
55 | * $Id$ | |
56 | * vim: set expandtab shiftwidth=4 tabstop=4 softtabstop=4 textwidth=100: | |
57 | ********************************************************************************/ | |
58 | ?> |