Verzeichnisstruktur phpBB-3.1.0


Veröffentlicht
27.10.2014

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

ban.php

Zuletzt modifiziert: 09.10.2024, 12:54 - Dateigröße: 4.32 KiB


01  <?php
02  /**
03  *
04  * This file is part of the phpBB Forum Software package.
05  *
06  * @copyright (c) phpBB Limited <https://www.phpbb.com>
07  * @license GNU General Public License, version 2 (GPL-2.0)
08  *
09  * For full copyright and license information, please see
10  * the docs/CREDITS.txt file.
11  *
12  */
13   
14  /**
15  * DO NOT CHANGE
16  */
17  if (!defined('IN_PHPBB'))
18  {
19      exit;
20  }
21   
22  if (empty($lang) || !is_array($lang))
23  {
24      $lang = array();
25  }
26   
27  // DEVELOPERS PLEASE NOTE
28  //
29  // All language files should use UTF-8 as their encoding and the files must not contain a BOM.
30  //
31  // Placeholders can now contain order information, e.g. instead of
32  // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
33  // translators to re-order the output of data while ensuring it remains correct
34  //
35  // You do not need this where single placeholders are used, e.g. 'Message %d' is fine
36  // equally where a string contains only two placeholders which are used to wrap text
37  // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
38   
39  // Banning
40  $lang = array_merge($lang, array(
41      '1_HOUR'        => '1 hour',
42      '30_MINS'        => '30 minutes',
43      '6_HOURS'        => '6 hours',
44   
45      'ACP_BAN_EXPLAIN'    => 'Here you can control the banning of users by name, IP or email address. These methods prevent a user reaching any part of the board. You can give a short (maximum 3000 characters) reason for the ban if you wish. This will be displayed in the admin log. The duration of a ban can also be specified. If you want the ban to end on a specific date rather than after a set time period select <span style="text-decoration: underline;">Until -&gt;</span> for the ban length and enter a date in <kbd>YYYY-MM-DD</kbd> format.',
46   
47      'BAN_EXCLUDE'            => 'Exclude from banning',
48      'BAN_LENGTH'            => 'Length of ban',
49      'BAN_REASON'            => 'Reason for ban',
50      'BAN_GIVE_REASON'        => 'Reason shown to the banned',
51      'BAN_UPDATE_SUCCESSFUL'    => 'The banlist has been updated successfully.',
52      'BANNED_UNTIL_DATE'        => 'until %s', // Example: "until Mon 13.Jul.2009, 14:44"
53      'BANNED_UNTIL_DURATION'    => '%1$s (until %2$s)', // Example: "7 days (until Tue 14.Jul.2009, 14:44)"
54   
55      'EMAIL_BAN'                    => 'Ban one or more email addresses',
56      'EMAIL_BAN_EXCLUDE_EXPLAIN'    => 'Enable this to exclude the entered email address from all current bans.',
57      'EMAIL_BAN_EXPLAIN'            => 'To specify more than one email address enter each on a new line. To match partial addresses use * as the wildcard, e.g. <samp>*@hotmail.com</samp>, <samp>*@*.domain.tld</samp>, etc.',
58      'EMAIL_NO_BANNED'            => 'No banned email addresses',
59      'EMAIL_UNBAN'                => 'Un-ban or un-exclude emails',
60      'EMAIL_UNBAN_EXPLAIN'        => 'You can unban (or un-exclude) multiple email addresses in one go using the appropriate combination of mouse and keyboard for your computer and browser. Excluded email addresses are emphasised.',
61   
62      'IP_BAN'                    => 'Ban one or more IPs',
63      'IP_BAN_EXCLUDE_EXPLAIN'    => 'Enable this to exclude the entered IP from all current bans.',
64      'IP_BAN_EXPLAIN'            => 'To specify several different IPs or hostnames enter each on a new line. To specify a range of IP addresses separate the start and end with a hyphen (-), to specify a wildcard use “*”.',
65      'IP_HOSTNAME'                => 'IP addresses or hostnames',
66      'IP_NO_BANNED'                => 'No banned IP addresses',
67      'IP_UNBAN'                    => 'Un-ban or un-exclude IPs',
68      'IP_UNBAN_EXPLAIN'            => 'You can unban (or un-exclude) multiple IP addresses in one go using the appropriate combination of mouse and keyboard for your computer and browser. Excluded IPs are emphasised.',
69   
70      'LENGTH_BAN_INVALID'        => 'The date has to be formatted <kbd>YYYY-MM-DD</kbd>.',
71   
72      'OPTIONS_BANNED'            => 'Banned',
73      'OPTIONS_EXCLUDED'            => 'Excluded',
74   
75      'PERMANENT'        => 'Permanent',
76   
77      'UNTIL'                        => 'Until',
78      'USER_BAN'                    => 'Ban one or more users by username',
79      'USER_BAN_EXCLUDE_EXPLAIN'    => 'Enable this to exclude the entered users from all current bans.',
80      'USER_BAN_EXPLAIN'            => 'You can ban multiple users in one go by entering each name on a new line. Use the <span style="text-decoration: underline;">Find a member</span> facility to look up and add one or more users automatically.',
81      'USER_NO_BANNED'            => 'No banned usernames',
82      'USER_UNBAN'                => 'Un-ban or un-exclude users by username',
83      'USER_UNBAN_EXPLAIN'        => 'You can unban (or un-exclude) multiple users in one go using the appropriate combination of mouse and keyboard for your computer and browser. Excluded users are emphasised.',
84  ));
85