Verzeichnisstruktur phpBB-3.3.15


Veröffentlicht
28.08.2024

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

posting.php

Zuletzt modifiziert: 02.04.2025, 15:02 - Dateigröße: 17.23 KiB


001  <?php
002  /**
003  *
004  * This file is part of the phpBB Forum Software package.
005  *
006  * @copyright (c) phpBB Limited <https://www.phpbb.com>
007  * @license GNU General Public License, version 2 (GPL-2.0)
008  *
009  * For full copyright and license information, please see
010  * the docs/CREDITS.txt file.
011  *
012  */
013   
014  /**
015  * DO NOT CHANGE
016  */
017  if (!defined('IN_PHPBB'))
018  {
019      exit;
020  }
021   
022  if (empty($lang) || !is_array($lang))
023  {
024      $lang = array();
025  }
026   
027  // DEVELOPERS PLEASE NOTE
028  //
029  // All language files should use UTF-8 as their encoding and the files must not contain a BOM.
030  //
031  // Placeholders can now contain order information, e.g. instead of
032  // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
033  // translators to re-order the output of data while ensuring it remains correct
034  //
035  // You do not need this where single placeholders are used, e.g. 'Message %d' is fine
036  // equally where a string contains only two placeholders which are used to wrap text
037  // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
038   
039  // BBCodes
040  // Note to translators: you can translate everything but what's between { and }
041  $lang = array_merge($lang, array(
042      'ACP_BBCODES_EXPLAIN'        => 'BBCode is a special implementation of HTML offering greater control over what and how something is displayed. From this page you can add, remove and edit custom BBCodes.',
043      'ADD_BBCODE'                => 'Add a new BBCode',
044   
045      'BBCODE_DANGER'                => 'The BBCode you are trying to add seems unsafe. If the BBCode uses a {TEXT} token in a sensitive context, try using a more restrictive type instead. Only proceed if you understand the risks involved.',
046      'BBCODE_DANGER_PROCEED'        => 'Proceed', //'I understand the risk',
047   
048      'BBCODE_ADDED'                => 'BBCode added successfully.',
049      'BBCODE_EDITED'                => 'BBCode edited successfully.',
050      'BBCODE_DELETED'            => 'The BBCode has been removed successfully.',
051      'BBCODE_NOT_EXIST'            => 'The BBCode you selected does not exist.',
052      'BBCODE_HELPLINE'            => 'Help line',
053      'BBCODE_HELPLINE_EXPLAIN'    => 'This field contains the mouse over text of the BBCode.',
054      'BBCODE_HELPLINE_TEXT'        => 'Help line text',
055      'BBCODE_HELPLINE_TOO_LONG'    => 'The help line you entered is too long.',
056   
057      'BBCODE_INVALID_TAG_NAME'    => 'The BBCode tag name that you selected already exists.',
058      'BBCODE_INVALID'            => 'Your BBCode is constructed in an invalid form.',
059      'BBCODE_INVALID_TEMPLATE'    => 'Your BBCode’s template is invalid.',
060      'BBCODE_TAG'                => 'Tag',
061      'BBCODE_TAG_TOO_LONG'        => 'The tag name you selected is too long.',
062      'BBCODE_TAG_DEF_TOO_LONG'    => 'The tag definition that you have entered is too long, please shorten your tag definition.',
063      'BBCODE_USAGE'                => 'BBCode usage',
064      'BBCODE_USAGE_EXAMPLE'        => '[highlight={COLOR}]{TEXT}[/highlight]<br /><br />[font={SIMPLETEXT1}]{SIMPLETEXT2}[/font]',
065      'BBCODE_USAGE_EXPLAIN'        => 'Here you define how to use the BBCode. Replace any variable input by the corresponding token (%ssee below%s).',
066   
067      'EXAMPLE'                        => 'Example:',
068      'EXAMPLES'                        => 'Examples:',
069   
070      'HTML_REPLACEMENT'                => 'HTML replacement',
071      'HTML_REPLACEMENT_EXAMPLE'        => '&lt;span style="background-color: {COLOR};"&gt;{TEXT}&lt;/span&gt;<br /><br />&lt;span style="font-family: {SIMPLETEXT1};"&gt;{SIMPLETEXT2}&lt;/span&gt;',
072      'HTML_REPLACEMENT_EXPLAIN'        => 'Here you define the default HTML replacement. Do not forget to put back tokens you used above!',
073   
074      'TOKEN'                    => 'Token',
075      'TOKENS'                => 'Tokens',
076      'TOKENS_EXPLAIN'        => 'Tokens are placeholders for user input. The input will be validated only if it matches the corresponding definition. If needed, you can number them by adding a number as the last character between the braces, e.g. {TEXT1}, {TEXT2}.<br /><br />Within the HTML replacement you can also use any language string present in your language/ directory like this: {L_<em>&lt;STRINGNAME&gt;</em>} where <em>&lt;STRINGNAME&gt;</em> is the name of the translated string you want to add. For example, {L_WROTE} will be displayed as “wrote” or its translation according to user’s locale.<br /><br /><strong>Please note that only tokens listed below are able to be used within custom BBCodes.</strong>',
077      'TOKEN_DEFINITION'        => 'What can it be?',
078      'TOO_MANY_BBCODES'        => 'You cannot create any more BBCodes. Please remove one or more BBCodes then try again.',
079   
080      'tokens'    =>    array(
081          'TEXT'            => 'Any text, including foreign characters, numbers, etc…',
082          'SIMPLETEXT'    => 'Characters from the latin alphabet (A-Z), numbers, spaces, commas, dots, minus, plus, hyphen and underscore',
083          'INTTEXT'        => 'Unicode letter characters, numbers, spaces, commas, dots, minus, plus, hyphen, underscore and whitespaces.',
084          'IDENTIFIER'    => 'Characters from the latin alphabet (A-Z), numbers, hyphen and underscore',
085          'NUMBER'        => 'Any series of digits',
086          'EMAIL'            => 'A valid email address',
087          'URL'            => 'A valid URL using any allowed protocol (http, ftp, etc… cannot be used for javascript exploits). If none is given, “http://” is prefixed to the string.',
088          'LOCAL_URL'        => 'A local URL. The URL must be relative to the topic page and cannot contain a server name or protocol, as links are prefixed with “%s”',
089          'RELATIVE_URL'    => 'A relative URL. You can use this to match parts of a URL, but be careful: a full URL is a valid relative URL. When you want to use relative URLs of your board, use the LOCAL_URL token.',
090          'COLOR'            => 'A HTML colour, can be either in the numeric form <samp>#FF1234</samp> or a <a href="http://www.w3.org/TR/CSS21/syndata.html#value-def-color">CSS colour keyword</a> such as <samp>fuchsia</samp> or <samp>InactiveBorder</samp>',
091          'ALNUM'            => 'Characters from the latin alphabet (A-Z) and numbers.',
092          'CHOICE'        => 'A choice of specified values, e.g. <samp>{CHOICE=spades,hearts,diamonds,clubs}</samp>. The values are treated as case-insensitive by default and can be treated case-sensitive by specifying the <samp>caseSensitive</samp> option: <samp>{CHOICE=Spades,Hearts,Diamonds,Clubs;caseSensitive}</samp>',
093          'FLOAT'            => 'A decimal value, e.g. <samp>0.5</samp>.',
094          'HASHMAP'        => 'Maps strings to their replacement in the form <samp>{HASHMAP=string1:replacement1,string2:replacement2}</samp>. Case-sensitive. Preserves unknown values by default.',
095          'INT'            => 'An integer value, e.g. <samp>2</samp>.',
096          'IP'            => 'A valid IPv4 or IPv6 address.',
097          'IPPORT'        => 'A valid IPv4 or IPv6 address with port number.',
098          'IPV4'            => 'A valid IPv4 address.',
099          'IPV6'            => 'A valid IPv6 address.',
100          'MAP'            => 'Maps strings to their replacement in the form <samp>{MAP=string1:replacement1,string2:replacement2}</samp>. Case-insensitive. Preserves unknown values by default.',
101          'RANGE'            => 'Accepts an integer in the given range, e.g. <samp>{RANGE=-10,42}</samp>.',
102          'REGEXP'        => 'Validates its value against a given regexp, e.g. <samp>{REGEXP=/^foo\w+bar$/}</samp>.',
103          'TIMESTAMP'        => 'A timestamp such as <samp>1h30m10s</samp> which will be converted to a number of seconds. Also accepts a number.',
104          'UINT'            => 'An unsigned integer value. Same as <samp>{INT}</samp>, but rejects values less than 0.',
105      ),
106  ));
107   
108  // Smilies and topic icons
109  $lang = array_merge($lang, array(
110      'ACP_ICONS_EXPLAIN'        => 'From this page you can add, remove and edit the icons users may add to their topics or posts. These icons are generally displayed next to topic titles on the forum listing, or the post subjects in topic listings. You can also install and create new packages of icons.',
111      'ACP_SMILIES_EXPLAIN'    => 'Smilies or emoticons are typically small, sometimes animated images used to convey an emotion or feeling. From this page you can add, remove and edit the emoticons users can use in their posts and private messages. You can also install and create new packages of smilies.',
112      'ADD_SMILIES'            => 'Add multiple smilies',
113      'ADD_SMILEY_CODE'        => 'Add additional smiley code',
114      'ADD_ICONS'                => 'Add multiple icons',
115      'AFTER_ICONS'            => 'After %s',
116      'AFTER_SMILIES'            => 'After %s',
117   
118      'CODE'                        => 'Code',
119      'CURRENT_ICONS'                => 'Current icons',
120      'CURRENT_ICONS_EXPLAIN'        => 'Choose what to do with the currently installed icons.',
121      'CURRENT_SMILIES'            => 'Current smilies',
122      'CURRENT_SMILIES_EXPLAIN'    => 'Choose what to do with the currently installed smilies.',
123   
124      'DISPLAY_ON_POSTING'        => 'Display on posting page',
125      'DISPLAY_POSTING'            => 'On posting page',
126      'DISPLAY_POSTING_NO'        => 'Not on posting page',
127   
128      'EDIT_ICONS'                => 'Edit icons',
129      'EDIT_SMILIES'                => 'Edit smilies',
130      'EMOTION'                    => 'Emotion',
131      'EXPORT_ICONS'                => 'Export and download icons.pak',
132      'EXPORT_ICONS_EXPLAIN'        => '%sOn clicking this link, the configuration for your installed icons will be packaged into <samp>icons.pak</samp> which once downloaded can be used to create a <samp>.zip</samp> or <samp>.tgz</samp> file containing all of your icons plus this <samp>icons.pak</samp> configuration file%s.',
133      'EXPORT_SMILIES'            => 'Export and download smilies.pak',
134      'EXPORT_SMILIES_EXPLAIN'    => '%sOn clicking this link, the configuration for your installed smilies will be packaged into <samp>smilies.pak</samp> which once downloaded can be used to create a <samp>.zip</samp> or <samp>.tgz</samp> file containing all of your smilies plus this <samp>smilies.pak</samp> configuration file%s.',
135   
136      'FIRST'            => 'First',
137   
138      'ICONS_ADD'                => 'Add a new icon',
139      'ICONS_ADDED'            => array(
140          0    => 'No icons were added.',
141          1    => 'The icon has been added successfully.',
142          2    => 'The icons have been added successfully.',
143      ),
144      'ICONS_CONFIG'            => 'Icon configuration',
145      'ICONS_DELETED'            => 'The icon has been removed successfully.',
146      'ICONS_EDIT'            => 'Edit icon',
147      'ICONS_EDITED'            => array(
148          0    => 'No icons were updated.',
149          1    => 'The icon has been updated successfully.',
150          2    => 'The icons have been updated successfully.',
151      ),
152      'ICONS_HEIGHT'            => 'Icon height',
153      'ICONS_IMAGE'            => 'Icon image',
154      'ICONS_IMPORTED'        => 'The icons pack has been installed successfully.',
155      'ICONS_IMPORT_SUCCESS'    => 'The icons pack was imported successfully.',
156      'ICONS_LOCATION'        => 'Icon location',
157      'ICONS_NOT_DISPLAYED'    => 'The following icons are not displayed on the posting page',
158      'ICONS_ORDER'            => 'Icon order',
159      'ICONS_URL'                => 'Icon image file',
160      'ICONS_WIDTH'            => 'Icon width',
161      'IMPORT_ICONS'            => 'Install icons package',
162      'IMPORT_SMILIES'        => 'Install smilies package',
163   
164      'KEEP_ALL'            => 'Keep all',
165   
166      'MASS_ADD_SMILIES'    => 'Add multiple smilies',
167   
168      'NO_ICONS_ADD'        => 'There are no icons available for adding.',
169      'NO_ICONS_EDIT'        => 'There are no icons available for modifying.',
170      'NO_ICONS_EXPORT'    => 'You have no icons with which to create a package.',
171      'NO_ICONS_PAK'        => 'No icon packages found.',
172      'NO_SMILIES_ADD'    => 'There are no smilies available for adding.',
173      'NO_SMILIES_EDIT'    => 'There are no smilies available for modifying.',
174      'NO_SMILIES_EXPORT'    => 'You have no smilies with which to create a package.',
175      'NO_SMILIES_PAK'    => 'No smiley packages found.',
176   
177      'PAK_FILE_NOT_READABLE'        => 'Could not read <samp>.pak</samp> file.',
178   
179      'REPLACE_MATCHES'    => 'Replace matches',
180   
181      'SELECT_PACKAGE'            => 'Select a package file',
182      'SMILIES_ADD'                => 'Add a new smiley',
183      'SMILIES_ADDED'                => array(
184          0    => 'No smilies were added.',
185          1    => 'The smiley has been added successfully.',
186          2    => 'The smilies have been added successfully.',
187      ),
188      'SMILIES_CODE'                => 'Smiley code',
189      'SMILIES_CONFIG'            => 'Smiley configuration',
190      'SMILIES_DELETED'            => 'The smiley has been removed successfully.',
191      'SMILIES_EDIT'                => 'Edit smiley',
192      'SMILIE_NO_CODE'            => 'The smiley “%s” was ignored, as there was no code entered.',
193      'SMILIE_NO_EMOTION'            => 'The smiley “%s” was ignored, as there was no emotion entered.',
194      'SMILIE_NO_FILE'            => 'The smiley “%s” was ignored, as the file is missing.',
195      'SMILIES_EDITED'            => array(
196          0    => 'No smilies were updated.',
197          1    => 'The smiley has been updated successfully.',
198          2    => 'The smilies have been updated successfully.',
199      ),
200      'SMILIES_EMOTION'            => 'Emotion',
201      'SMILIES_HEIGHT'            => 'Smiley height',
202      'SMILIES_IMAGE'                => 'Smiley image',
203      'SMILIES_IMPORTED'            => 'The smilies pack has been installed successfully.',
204      'SMILIES_IMPORT_SUCCESS'    => 'The smilies pack was imported successfully.',
205      'SMILIES_LOCATION'            => 'Smiley location',
206      'SMILIES_NOT_DISPLAYED'        => 'The following smilies are not displayed on the posting page',
207      'SMILIES_ORDER'                => 'Smiley order',
208      'SMILIES_URL'                => 'Smiley image file',
209      'SMILIES_WIDTH'                => 'Smiley width',
210   
211      'TOO_MANY_SMILIES'            => array(
212          1    => 'Limit of %d smiley reached.',
213          2    => 'Limit of %d smilies reached.',
214      ),
215   
216      'WRONG_PAK_TYPE'    => 'The specified package does not contain the appropriate data.',
217  ));
218   
219  // Word censors
220  $lang = array_merge($lang, array(
221      'ACP_WORDS_EXPLAIN'        => 'From this control panel you can add, edit, and remove words that will be automatically censored on your forums. People are still allowed to register with usernames containing these words. Wildcards (*) are accepted in the word field, e.g. *test* will match detestable, test* would match testing, *test would match detest.',
222      'ADD_WORD'                => 'Add new word',
223   
224      'EDIT_WORD'        => 'Edit word censor',
225      'ENTER_WORD'    => 'You must enter a word and its replacement.',
226   
227      'NO_WORD'    => 'No word selected for editing.',
228   
229      'REPLACEMENT'    => 'Replacement',
230   
231      'UPDATE_WORD'    => 'Update word censor',
232   
233      'WORD'                => 'Word',
234      'WORD_ADDED'        => 'The word censor has been successfully added.',
235      'WORD_REMOVED'        => 'The selected word censor has been successfully removed.',
236      'WORD_UPDATED'        => 'The selected word censor has been successfully updated.',
237  ));
238   
239  // Ranks
240  $lang = array_merge($lang, array(
241      'ACP_RANKS_EXPLAIN'        => 'Using this form you can add, edit, view and delete ranks. You can also create special ranks which can be applied to a user via the user management facility.',
242      'ADD_RANK'                => 'Add new rank',
243   
244      'MUST_SELECT_RANK'        => 'You must select a rank.',
245   
246      'NO_ASSIGNED_RANK'        => 'No special rank assigned.',
247      'NO_RANK_TITLE'            => 'You haven’t specified a title for the rank.',
248      'NO_UPDATE_RANKS'        => 'The rank was successfully deleted. However user accounts using this rank were not updated. You will need to manually reset the rank on these accounts.',
249   
250      'RANK_ADDED'            => 'The rank was successfully added.',
251      'RANK_IMAGE'            => 'Rank image',
252      'RANK_IMAGE_EXPLAIN'    => 'Use this to define a small image associated with the rank. The path is relative to the root phpBB directory.',
253      'RANK_IMAGE_IN_USE'        => '(In use)',
254      'RANK_MINIMUM'            => 'Minimum posts',
255      'RANK_REMOVED'            => 'The rank was successfully deleted.',
256      'RANK_SPECIAL'            => 'Set as special rank',
257      'RANK_TITLE'            => 'Rank title',
258      'RANK_UPDATED'            => 'The rank was successfully updated.',
259  ));
260   
261  // Disallow Usernames
262  $lang = array_merge($lang, array(
263      'ACP_DISALLOW_EXPLAIN'    => 'Here you can control usernames which will not be allowed to be used. Disallowed usernames are allowed to contain a wildcard character of *.',
264      'ADD_DISALLOW_EXPLAIN'    => 'You can disallow a username using the wildcard character * to match any character.',
265      'ADD_DISALLOW_TITLE'    => 'Add a disallowed username',
266   
267      'DELETE_DISALLOW_EXPLAIN'    => 'You can remove a disallowed username by selecting the username from this list and clicking submit.',
268      'DELETE_DISALLOW_TITLE'        => 'Remove a disallowed username',
269      'DISALLOWED_ALREADY'        => 'The name you entered is already disallowed.',
270      'DISALLOWED_DELETED'        => 'The disallowed username has been successfully removed.',
271      'DISALLOW_SUCCESSFUL'        => 'The disallowed username has been successfully added.',
272   
273      'NO_DISALLOWED'                => 'No disallowed usernames',
274      'NO_USERNAME_SPECIFIED'        => 'You haven’t selected or entered a username to operate with.',
275  ));
276   
277  // Reasons
278  $lang = array_merge($lang, array(
279      'ACP_REASONS_EXPLAIN'    => 'Here you can manage the reasons used in reports and denial messages when disapproving posts. There is one default reason (marked with a *) you are not able to remove, this reason is normally used for custom messages if no reason fits.',
280      'ADD_NEW_REASON'        => 'Add new reason',
281      'AVAILABLE_TITLES'        => 'Available localised reason titles',
282   
283      'IS_NOT_TRANSLATED'            => 'Reason has <strong>not</strong> been localised.',
284      'IS_NOT_TRANSLATED_EXPLAIN'    => 'Reason has <strong>not</strong> been localised. If you want to provide the localised form, specify the correct key from the language files report reasons section.',
285      'IS_TRANSLATED'                => 'Reason has been localised.',
286      'IS_TRANSLATED_EXPLAIN'        => 'Reason has been localised. If the title you enter here is specified within the language files report reasons section, the localised form of the title and description will be used.',
287   
288      'NO_REASON'                    => 'Reason could not be found.',
289      'NO_REASON_INFO'            => 'You have to specify a title and a description for this reason.',
290      'NO_REMOVE_DEFAULT_REASON'    => 'You are not able to remove the default reason “Other”.',
291   
292      'REASON_ADD'                => 'Add report/denial reason',
293      'REASON_ADDED'                => 'Report/denial reason successfully added.',
294      'REASON_ALREADY_EXIST'        => 'A reason with this title already exist, please enter another title for this reason.',
295      'REASON_DESCRIPTION'        => 'Reason description',
296      'REASON_DESC_TRANSLATED'    => 'Displayed reason description',
297      'REASON_EDIT'                => 'Edit report/denial reason',
298      'REASON_EDIT_EXPLAIN'        => 'Here you are able to add or edit a reason. If the reason is translated the localised version is used instead of the description entered here.',
299      'REASON_REMOVED'            => 'Report/denial reason successfully removed.',
300      'REASON_TITLE'                => 'Reason title',
301      'REASON_TITLE_TRANSLATED'    => 'Displayed reason title',
302      'REASON_UPDATED'            => 'Report/denial reason successfully updated.',
303   
304      'USED_IN_REPORTS'        => 'Used in reports',
305  ));
306