aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'develop' of git://github.com/phpbb/phpbb3 into ↵Joas Schilling2012-07-181-9/+21
|\ | | | | | | feature/new-tz-handling
| * [ticket/10829] Delete T_STYLESHEET_NAME - no longer used.Oleg Pudeyev2012-06-111-1/+0
| | | | | | | | PHPBB3-10829
| * [ticket/10743] Renaming user->themeVjacheslav Trushkin2012-06-111-9/+9
| | | | | | | | | | | | Renaming user->theme to user->style PHPBB3-10743
| * [ticket/10931] Make to_numeric function globally available.Andreas Fischer2012-06-111-0/+13
| | | | | | | | PHPBB3-10931
* | [feature/new-tz-handling] Properly name new timezone selection functionJoas Schilling2012-07-171-10/+18
| | | | | | | | | | | | Marked the old one as deprecated and made it using the new function. PHPBB3-9558
* | [feature/new-tz-handling] Require user argument on phpbb_datetimeJoas Schilling2012-07-161-2/+2
| | | | | | | | PHPBB3-9558
* | [feature/new-tz-handling] Fix code and doc layoutJoas Schilling2012-06-201-2/+4
| | | | | | | | PHPBB3-9558
* | [feature/new-tz-handling] Prefix function with phpbb_Joas Schilling2012-06-191-2/+2
| | | | | | | | PHPBB3-9558
* | [feature/new-tz-handling] Update doc blocks for the three timezone functionsJoas Schilling2012-06-181-3/+20
| | | | | | | | PHPBB3-9558
* | [feature/new-tz-handling] Inject $user to avoid the usage of globalJoas Schilling2012-06-181-2/+2
| | | | | | | | PHPBB3-9558
* | [feature/new-tz-handling] Introduce 2 step timezone selection using javascriptJoas Schilling2012-06-181-9/+34
| | | | | | | | PHPBB3-9558
* | [feature/new-tz-handling] Fix displaying of "All times are" stringJoas Schilling2012-06-181-1/+9
| | | | | | | | PHPBB3-9558
* | [feature/new-tz-handling] Fix selecting and validating of timezone in UCPJoas Schilling2012-06-181-10/+14
| | | | | | | | PHPBB3-9558
* | Merge branch 'feature/new-tz-handling' of https://github.com/p/phpbb3 into ↵Joas Schilling2012-06-041-7/+93
|\ \ | |/ |/| | | | | | | | | | | | | feature/new-tz-handling Conflicts: phpBB/includes/functions_profile_fields.php phpBB/includes/session.php phpBB/install/database_update.php
| * [feature/new-tz-handling] Sort timezones in selector by offset.Oleg Pudeyev2012-03-141-1/+70
| | | | | | | | | | | | | | | | | | | | | | Since the list of timezones is very long, and users are likely to know their current offset but not necessarily which city that is nearby is in the timezone database, sort the list of timezones by offset. UTC is specially handled to show up before other GMT+0 timezones. PHPBB3-9558
| * [feature/new-tz-handling] Remove case mangling, the identifiers are correct.Chris Smith2012-03-141-2/+2
| | | | | | | | PHPBB3-9558
| * [feature/new-tz-handling] Update tz_select() to use the PHP timezone database.Chris Smith2012-03-141-7/+24
| | | | | | | | | | | | | | | | | | tz_select() now uses the PHP timezone database to generate the timezone selection box, it tries to use a translated language string otherwise falls back to a label produced from the timezone identifier. I've done this so new timezones are available immediately without a new language pack. PHPBB3-9558
* | Merge branch 'develop-olympus' into developNils Adermann2012-05-311-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | By Andreas Fischer via Andreas Fischer (1) and Nils Adermann (1) * develop-olympus: [ticket/10162] Increase maximum length of email address TLD from 6 to 63. [ticket/10162] Add test cases for top level domain names longer than 6 chars.
| * | [ticket/10162] Increase maximum length of email address TLD from 6 to 63.Andreas Fischer2012-05-301-1/+1
| | | | | | | | | | | | | | | | | | Increase maximum length of email address top level domains from 6 to 63. PHPBB3-10162
* | | Merge PR #812 branch 'develop-olympus' into developOleg Pudeyev2012-05-211-4/+7
|\ \ \ | |/ / | | | | | | | | | | | | * develop-olympus: [ticket/10565] Add line breaks to query in order to follow coding guidelines. [ticket/10565] update_forum_tracking_info(): Remove unnecessary GROUP BY clause
| * | [ticket/10565] Add line breaks to query in order to follow coding guidelines.Andreas Fischer2012-05-221-3/+7
| | | | | | | | | | | | PHPBB3-10565
| * | [ticket/10565] update_forum_tracking_info(): Remove unnecessary GROUP BY clauseAndreas Fischer2012-05-221-2/+1
| | | | | | | | | | | | PHPBB3-10565
* | | Merge PR #734 branch 'shibulijack/ticket/10688' into developOleg Pudeyev2012-04-191-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * shibulijack/ticket/10688: [ticket/10688] Update install.html for 3.1 and current practices. [ticket/10688] Update readme for 3.1 and current practices. [ticket/10688] Changed version 3.0 to 3.1 [ticket/10688] Updated version to 3.1 [ticket/10688] Changed 3.0 to 3.1 in docs Conflicts: phpBB/docs/INSTALL.html phpBB/docs/README.html
| * | | [ticket/10688] Updated version to 3.1Shibu Lijack2012-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Replace phpBB 3.0.x to phpBB 3.1.x PHPBB-10688
* | | | [ticket/10783] Added ?assets_version to assets.Callum Macrae2012-04-111-3/+4
| | | | | | | | | | | | | | | | PHPBB3-10783
* | | | Merge branch 'develop-olympus' into developOleg Pudeyev2012-04-041-0/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10607] Added 'Powered by' translation string. Conflicts: phpBB/adm/index.php phpBB/language/en/common.php
| * | | [ticket/10607] Added 'Powered by' translation string.Fyorl2012-04-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added POWERED_BY line to common.php and modified the templates to use it. PHPBB3-10607
* | | | [ticket/10665] Solution for T_SUPER_TEMPLATE_PATHVjacheslav Trushkin2012-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Temporary solution for T_SUPER_TEMPLATE_PATH pointing to wrong directory, variable will be completely removed later because it will be obsolete PHPBB3-10665
* | | | [feature/class-prefix] Rename user and session to phpbb_*Igor Wiedler2012-03-311-1/+1
| | | | | | | | | | | | | | | | PHPBB-10609
* | | | Merge branch 'develop' into feature/merging-style-componentsVjacheslav Trushkin2012-03-311-9/+52
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop: (175 commits) [feature/ajax] Remove strange non-breaking spaces from approve button [feature/ajax] Add entirely unrelated but nice newlines [feature/ajax] Unify phpbb_json_response instantiation [feature/ajax] Fix acp_styles activate_deactivate ajax callback name [feature/ajax] Send correct activate/deactivate JSON response in acp_profile [ticket/10270] Alter background colors for posts [feature/ajax] Remove not working module enable/disable ajax code [feature/ajax] Replace static call to phpbb_request with OO [feature/ajax] Remove quick-reply AJAX handling until we have something good [ticket/10270] Changing close button for ajax popups [ticket/10270] Disabling links in disappearing content [ticket/10291] Fixed an AJAX bug on quick reply form submit. [ticket/10273] Fixed accepting / denying posts AJAX. [ticket/10272] Removed code that was prevent event propogation in AJAX. [ticket/10291] Fixed a bug in the quick reply AJAX. [feature/ajax] Handle acp_modules error cases with JSON response [feature/ajax] Fix filter check, quick mod tools data-attribute [feature/ajax] Use the error handler [feature/ajax] Generic error handling with a phpbb.alert box [feature/ajax] Change filter semantics, some minor adjustments ... Conflicts: phpBB/adm/style/acp_styles.html phpBB/includes/acp/acp_styles.php
| * | | | [ticket/10328] Renamed the JSON class, also now using autoloading.Callum Macrae2012-03-311-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is no longer static, and uses autoloading. It has also been renamed from JSON to phpbb_json_response. PHPBB3-10328
| * | | | [ticket/10328] Added a JSON class.Callum Macrae2012-03-311-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The JSON class adds a consistent way to send JSON to the client, making it perfect for AJAX (jQuery automatically parses it). PHPBB3-10328
| * | | | [ticket/10271] Changed AJAX functions to $request->is_ajax().Callum Macrae2012-03-311-6/+6
| | | | | | | | | | | | | | | | | | | | PHPBB3-10271
| * | | | [ticket/10270] Added JavaScript popups and basic AJAX functionality to PHP.Callum Macrae2012-03-311-7/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the phpbb object (JavaScript), and alert and confirm box methods. It also adds the first basic AJAX functionality, to deleting posts in viewtopic. PHPBB3-10270
| * | | | [feature/event-dispatcher] Update core.page_header eventMichael Cullum2012-03-301-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update it to the new correct format. PHPBB3-9550
| * | | | [feature/event-dispatcher] Implement mutation for page_header ledge.Oleg Pudeyev2012-03-181-2/+3
| | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | Merge branch 'develop' into feature/event-dispatcherIgor Wiedler2012-03-111-2/+19
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop: (95 commits) [ticket/9084] Explain the logic. [ticket/10653] Call get_row_count of base class in mysql get_estimated_row_count [ticket/9813] Only get posts table row count if we detected a fulltext index. [feature/append_var] Adding test case [ticket/7432] Delete redundant reference to "appropriate menu item". [ticket/10618] Change phpBB 3 to phpBB 3.1. [ticket/10685] Refactor template test defaults for php 5.4 compatibility. [feature/append_var] Adding append_var template class function [ticket/9813] Also use estimated row count of posts table for fulltext mysql. [ticket/10653] Fix parameter to substr() in unit tests. Should be 1, not -1. [ticket/10653] Unit tests for get_row_count() and get_estimated_row_count(). [ticket/10653] Add ability to count table rows to database abstraction layer. [ticket/9813] Use table status row count only if greater than 100000 or exact. [ticket/9813] Use SHOW TABLE STATUS to get search stats for native on MySQL. [ticket/8652] Comment for also updating forum watch table in user_notification. [ticket/8652] Sending 2 emails on 2 replies [ticket/10680] Add /phpBB/ext/* to .gitignore [ticket/10672] Fix total post count language string in statistics and feed [ticket/9220] Remove margin on table.table1 so it's centered in the blue box. [ticket/10453] Fixing spacing ... Conflicts: tests/bootstrap.php
| * | | | [feature/event-dispatcher] Prefix event name with 'core.'Igor Wiedler2012-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | [feature/event-dispatcher] Support setting data on an eventIgor Wiedler2012-01-071-1/+2
| | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | [feature/event-dispatcher] Add a sample hook in page_headerIgor Wiedler2012-01-071-0/+4
| | | | | | | | | | | | | | | | | | | | PHPBB3-9550
* | | | | [feature/merging-style-components] Updating PHP filesVjacheslav Trushkin2012-03-141-11/+11
| |/ / / |/| | | | | | | | | | | | | | | | | | | Removing theme and template entries in all files, except for acp styles section PHPBB3-10632
* | | | Merge branch 'develop-olympus' into developOleg Pudeyev2012-02-111-1/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | * develop-olympus: [ticket/10606] Also correctly use $s_search_hidden_fields in view(forum|topic). [ticket/10606] Fix incorrect hidden fields array name in page_header().
| * | | [ticket/10606] Fix incorrect hidden fields array name in page_header().James King2012-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Regression from dfb7cc625a37c6345fa647ee3a21f890ba5c9649. PHPBB3-10606
* | | | Merge branch 'develop-olympus' into developIgor Wiedler2012-02-071-0/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10616] Add template inheritance to exported template [ticket/10616] Ignore template inheritance that points to self [ticket/10616] Add template inheritance to default styles
| * | | [ticket/10616] Ignore template inheritance that points to selfVjacheslav Trushkin2012-02-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Ignore template inheritance if it points to self PHPBB3-10616
* | | | Merge branch 'develop-olympus' into developOleg Pudeyev2012-01-121-1/+13
|\ \ \ \ | |/ / / | | / / | |/ / |/| | | | | * develop-olympus: [ticket/9079] Always log backtrace to error log when logging errors. [ticket/9079] Display backtrace on all E_USER_ERROR errors, not only SQL errors
| * | [ticket/9079] Always log backtrace to error log when logging errors.Oleg Pudeyev2011-12-241-4/+9
| | | | | | | | | | | | PHPBB3-9079
| * | [ticket/9079] Display backtrace on all E_USER_ERROR errors, not only SQL errorsAndreas Fischer2011-12-241-0/+7
| | | | | | | | | | | | PHPBB3-9079
| * | Merge remote-tracking branch 'cyberalien/ticket/10399' into develop-olympusOleg Pudeyev2011-12-221-10/+10
| |\ \ | | | | | | | | | | | | | | | | | | | | * cyberalien/ticket/10399: [ticket/10399] Correctly encoding template component urls (3.0) [ticket/10399] Correctly encoding template component urls (3.0)
| | * | [ticket/10399] Correctly encoding template component urls (3.0)Vjacheslav Trushkin2011-12-011-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | Correctly encoding template component urls PHPBB3-10399