aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_content.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/13597] Modify variable-variable syntax to be compatible with PHP7Marc Alexander2015-02-111-3/+3
| | | | PHPBB3-13597
* [ticket/13297] Add unicode modifier to url/email regular expression patterns.rxu2014-11-091-5/+5
| | | | PHPBB3-13297
* [ticket/13108] Add core event to the parse_attachments() functionrxu2014-10-011-1/+29
| | | | | | | Add core event to the parse_attachments() function in functions_content.php to allow modifying/adding attachment template data. PHPBB3-13108
* [ticket/12999] Remove @author tagsTristan Darricau2014-08-191-1/+0
| | | | PHPBB3-12999
* [ticket/12013] Use the correct variable for the forum id.Cesar G2014-07-041-1/+1
| | | | PHPBB3-12013
* [ticket/12013] Use path helper.Cesar G2014-07-041-4/+5
| | | | PHPBB3-12013
* [ticket/12013] Use new dropdown for quickmod tools and jumpbox.Cesar G2014-07-041-7/+11
| | | | PHPBB3-12013
* [ticket/12662] Add span containers to all usernames for consistencyPayBas2014-06-251-2/+2
| | | | PHPBB3-12662
* [ticket/12705] Store the regular expression matches based on server_urlJoas Schilling2014-06-141-7/+10
| | | | PHPBB3-12705
* [ticket/12675] Fix code sniffer complaints introduced by recent commitsMarc Alexander2014-06-091-1/+1
| | | | PHPBB3-12675
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-6/+7
| | | | PHPBB3-12594
* Merge pull request #2199 from Zoddo/ticket/12275Joas Schilling2014-05-241-10/+16
|\ | | | | | | | | | | | | | | [ticket/12275] Fix a bug on the event "core.modify_username_string" * Zoddo/ticket/12275: [ticket/12275] Change if (empty) to if (!isset) [ticket/12275] Fix a bug on the event "core.modify_username_string"
| * [ticket/12275] Change if (empty) to if (!isset)Zoddo2014-04-141-1/+1
| | | | | | | | PHPBB3-12275
| * [ticket/12275] Fix a bug on the event "core.modify_username_string"Zoddo2014-04-011-10/+16
| | | | | | | | | | | | | | Call the event "core.modify_username_string" also if $mode is "colour", "username" or "profile". PHPBB3-12275
* | Merge remote-tracking branch 'github-prototech/ticket/11508' into ↵Nils Adermann2014-05-021-4/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-prototech/ticket/11508: [ticket/11508] Fix build_url test. [ticket/11508] Add functional test for jumpbox. [ticket/11508] Use $phpbb_path_helper. [ticket/11508] Allow equal sign in parameter value. [ticket/11508] Remove unnecessary implode. [ticket/11508] Remove unnecessary isset check. [ticket/11508] Fix build_url test. [ticket/11508] Curly brace should be on its own line... [ticket/11508] The question mark is expected even if there are no parameters. [ticket/11508] Add tests. [ticket/11508] Do not add the '?' unless there are parameters. [ticket/11508] Change separator parameter to a simple true|false $is_amp. [ticket/11508] Move helper functions to path_helper class. [ticket/11508] Move the stripping param code to separate function as well. [ticket/11508] Build the jumpbox hidden fields using the _form action_ [ticket/11508] Split parts of build_url() into reusable functions.
| * | [ticket/11508] Use $phpbb_path_helper.Cesar G2014-04-221-3/+2
| | | | | | | | | | | | PHPBB3-11508
| * | [ticket/11508] Move helper functions to path_helper class.Cesar G2014-04-221-2/+4
| | | | | | | | | | | | PHPBB3-11508
| * | [ticket/11508] Build the jumpbox hidden fields using the _form action_Cesar G2014-04-221-3/+5
| | | | | | | | | | | | PHPBB3-11508
* | | Merge remote-tracking branch 'github-nickvergessen/ticket/12273' into ↵Nils Adermann2014-05-021-9/+26
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-nickvergessen/ticket/12273: (55 commits) [ticket/12273] Move $extension to constructor so the path is always set [ticket/12273] Find events.md relative from the path not the phpbb root [ticket/12273] Do not look in extensions docs/ and tests/ directory [ticket/12273] Also check file for adm "Location:" events [ticket/12273] Do not allow template events in non-html files [ticket/12273] Fix return description [ticket/12273] Update exporter to allow specifying an extension [ticket/12273] Allow to filter events for extensions [ticket/12273] Remove old parameter from function call [ticket/12273] Fix table header for adm events [ticket/12273] Add root path to recursive_event_filter_iterator [ticket/12273] Fix missing classes in export_events_for_wiki.php [ticket/12273] Use RecursiveDirectoryIterator with filter in php_exporter [ticket/12273] Use RecursiveDirectoryIterator in md_exporter [ticket/12273] Fix doc blocks [ticket/12273] Do not allow 3.1-A1 for template events [ticket/12273] Sort arguments alphabetically before exporting [ticket/12273] Do not allow 3.1-A1 version [ticket/12273] Update since version to 3.1.0-a* style [ticket/12273] Update existing events ...
| * | | [ticket/12273] Update since version to 3.1.0-a* styleJoas Schilling2014-04-251-7/+7
| | | | | | | | | | | | | | | | PHPBB3-12273
| * | | [ticket/12273] Update existing eventsJoas Schilling2014-04-251-3/+19
| | | | | | | | | | | | | | | | PHPBB3-12273
| * | | [ticket/12273] Fix long $vars lines for existing eventsJoas Schilling2014-04-241-1/+2
| |/ / | | | | | | | | | PHPBB3-12273
* | | [ticket/12458] Apply Squiz.WhiteSpace.SuperfluousWhitespace.* to legacy code.Andreas Fischer2014-04-291-3/+3
|/ / | | | | | | | | | | | | | | | | * There MUST NOT be trailing whitespace at the end of lines. * There MUST NOT be whitespace before the first content of a file. * There MUST NOT be whitespace after the last content of a file. * Functions MUST NOT contain multiple empty lines in a row. PHPBB3-12458
* | Merge branch 'develop-olympus' into develop-ascraeusJoas Schilling2014-04-151-0/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10423] Replace foreach with function in viewtopic.php [ticket/10423] Remove unnecessary include in test [ticket/10423] Match multiple wildcards [ticket/10423] Move code into a function and add tests for it [ticket/10423] Remove * from search or highlight string
| * | [ticket/10423] Match multiple wildcardsOliver Schramm2014-04-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Multiple wildcards are removed from the string if there is no word before or after them. If there is a word before or after them, they are just replaced with a single one. PHPBB3-10423
| * | [ticket/10423] Move code into a function and add tests for itOliver Schramm2014-04-131-0/+18
| | | | | | | | | | | | PHPBB3-10423
* | | [ticket/11959] Move phpbb_generate_string_list() to functions_content.php.Cesar G2014-03-291-0/+32
| |/ |/| | | | | PHPBB3-11959
* | Merge remote-tracking branch 'brunoais/ticket/11663' into developJoas Schilling2013-11-021-1/+11
|\ \ | | | | | | | | | | | | | | | | | | * brunoais/ticket/11663: [ticket/11663] Add the doc block about the parameters. [ticket/11663] Add the doc block about the return value. [ticket/11663] Make generate_text_for_storage return the errors.
| * | [ticket/11663] Add the doc block about the parameters.brunoais2013-08-171-0/+8
| | | | | | | | | | | | PHPBB3-11663
| * | [ticket/11663] Add the doc block about the return value.brunoais2013-08-141-0/+2
| | | | | | | | | | | | | | | | | | generate_text_for_storage does not return anything, all returned values are outputted using the parameters so this uses the returned value with the same idea as many C language functions where the returned value is if all went well or not and if it didn't what went wrong. PHPBB3-11663
| * | [ticket/11663] Make generate_text_for_storage return the errors.brunoais2013-08-091-1/+1
| | | | | | | | | | | | | | | | | | generate_text_for_storage does not return anything, all returned values are outputted using the parameters so this uses the returned value with the same idea as many C language functions where the returned value is if all went well or not and if it didn't what went wrong. PHPBB3-11663
* | | [ticket/11901] Pass empty string as relative_url for non-local magic URL.Andreas Fischer2013-10-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only the regular expression for MAGIC_URL_LOCAL has three capturing groups. As a result $matches[3] is only set in this case. Prior to PHPBB3-11606 an empty string was passed to make_clickable_callback() as a replacement in case of less than three capturing groups. This patch reintroduces the empty string. Regression from 49c12ef4be229bf2223139298766ef441b075fbc. PHPBB3-11901
* | | [ticket/11852] Split filesystem and path_helper into 2 classesJoas Schilling2013-09-261-2/+2
| | | | | | | | | | | | PHPBB3-11852
* | | Merge remote-tracking branch 'fredsa/ticket/11606' into developAndreas Fischer2013-09-231-14/+35
|\ \ \ | | | | | | | | | | | | | | | | * fredsa/ticket/11606: [ticket/11606] remove preg_replace() /e modifier in make_clickable()
| * | | [ticket/11606] remove preg_replace() /e modifier in make_clickable()Fred Sauer2013-06-131-14/+35
| | | | | | | | | | | | | | | | PHPBB3-11606
* | | | [ticket/11832] Fix smiley pathsNathan Guse2013-09-131-2/+2
| |/ / |/| | | | | | | | PHPBB3-11832
* | | Merge branch 'develop-olympus' into developJoas Schilling2013-08-031-2/+2
|\ \ \ | |/ / |/| / | |/ | | | | | | * develop-olympus: [ticket/11762] Added call to test class's parent::setUp(). [ticket/11762] Fixed test's filename [ticket/11762] Use the === operator to distinguish "0" from ""
| * [ticket/11762] Use the === operator to distinguish "0" from ""s9e2013-08-031-2/+2
| | | | | | | | PHPBB3-11762
* | Merge PR #786 branch 'brunoais/ticket/10845' into developOleg Pudeyev2012-11-061-3/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * brunoais/ticket/10845: [ticket/10845] Removed one empty line that wasn't supposed to be there [ticket/10845] Two of the three colouns were missing in the DB update file [ticket/10845] Remove censor from text [ticket/10845] Now it shows the preview post parsed [ticket/10845] Changed the report system. Now it saves posts with the bbcode Conflicts: phpBB/includes/functions_content.php
| * | [ticket/10845] Remove censor from textBruno Ais2012-05-021-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | In order to remove the censor, I added a new parameter to generate_text_for_display(), that new parameter is used to tell if the text should be censored or not. Defaults to true. PHPBB3-10845
* | | [feature/add_events] Put globals on one lineDavid King2012-08-221-4/+2
| | | | | | | | | | | | PHPBB3-9550
* | | [feature/add_events] Remove $allow_bbcode and $allow_smiliesDavid King2012-08-221-10/+4
| | | | | | | | | | | | | | | | | | Upon testing it was discovered that these did not work as originally intended. PHPBB3-9550
* | | [feature/add_events] Globalize event dispatcher object in some functionsDavid King2012-08-221-0/+2
| | | | | | | | | | | | PHPBB3-9550
* | | [feature/add_events] Before and after events for generate_text_for_* functionsDavid King2012-08-211-8/+72
| | | | | | | | | | | | PHPBB3-9550
* | | [feature/add_events] Added events for modifying generate_text_for_display()David King2012-08-211-0/+27
| | | | | | | | | | | | | | | | | | | | | The events allow you to perform extra functions on the text before nad/or after it has been parsed for BBCode and Smilies. PHPBB3-9550
* | | [feature/add_events] Fixed docs, added _profile_cache to event parametersDavid King2012-08-211-4/+4
| | | | | | | | | | | | PHPBB3-9550
* | | [feature/add_events] Change alter -> modify in event nameDavid King2012-08-211-2/+2
| | | | | | | | | | | | PHPBB3-9550
* | | [feature/add_events] Add event core.alter_username_string to change usernameDavid King2012-08-201-2/+27
|/ / | | | | | | PHPBB3-9550
* | [ticket/10438] Alligning the Smileys on the same line as the text.Hari Sankar R2012-04-021-1/+1
| | | | | | | | | | | | | | | | | | Changed the styling of smilies to appear at the same level as text, by adding vertical-align: text-bottom css property to all smilies. Edited functions_content.php to add class="smilies" to all parsed smilies. PHPBB3-10438
* | [ticket/10510] Moved a $user->lang call into the function.Callum Macrae2012-03-171-2/+3
| | | | | | | | PHPBB3-10510