aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
Commit message (Collapse)AuthorAgeFilesLines
...
* | | [feature/events] Add blank lineErik Frèrejean2012-08-011-0/+1
| | | | | | | | | | | | | | | | | | Add an additional blank line as requested in #680 PHPBB3-9550
* | | [feature/events] Adding core.garbage_collection eventErik Frèrejean2012-08-011-0/+3
| | | | | | | | | | | | | | | | | | | | | See: http://area51.phpbb.com/phpBB/viewtopic.php?f=111&t=42799 for reference. PHPBB3-9550
* | | [feature/events] Fixing events issuesMichael Cullum2012-08-011-0/+1
| | | | | | | | | | | | PHPBB3-9550
* | | [feature/events] Add `core.page_footer_override`Erik Frèrejean2012-08-011-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Add a ledge that will allow listeners to override the build in `page_footer` function. http://area51.phpbb.com/phpBB/viewtopic.php?f=111&t=42741&p=237037 PHPBB3-9550
* | | [feature/events] Add `core.page_header_override`Erik Frèrejean2012-08-011-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | Add a ledge that will allow listeners to override the build in `page_header` function. http://area51.phpbb.com/phpBB/viewtopic.php?f=111&t=42741&p=237037 PHPBB3-9550
* | | [feature/events] Fixing issues with eventsMichael Cullum2012-08-011-1/+0
| | | | | | | | | | | | PHPBB3-9550
* | | [feature/events] Remove unnecessary ledge common_template_varsJoas Schilling2012-08-011-9/+2
| | | | | | | | | | | | | | | | | | core.page_header is more powerful and includes all functionality of this one. PHPBB3-9550
* | | [feature/events] Add core.common_template_vars ledgeMichael Cullum2012-08-011-2/+10
| |/ |/| | | | | | | | | Needed by board3portal PHPBB3-9550
* | Merge pull request #843 from nickvergessen/feature/new-tz-handlingNils Adermann2012-07-191-13/+195
|\ \ | | | | | | Feature/new tz handling
| * | [feature/new-tz-handling] Don't use global user but make it a parameterJoas Schilling2012-07-191-4/+5
| | | | | | | | | | | | PHPBB3-9558
| * | [feature/new-tz-handling] Add previous selected value to validation if validJoas Schilling2012-07-191-4/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We also add the selected timezone if we can create an object with it. DateTimeZone::listIdentifiers seems to not add all identifiers to the list, because some are only kept for backward compatible reasons. If the user has a deprecated value, we add it here, so it can still be kept. Once the user changed his value, there is no way back to deprecated values. PHPBB3-9558
| * | [feature/new-tz-handling] Display suggestion when a different value is selectedJoas Schilling2012-07-191-2/+2
| | | | | | | | | | | | PHPBB3-9558
| * | [feature/new-tz-handling] Remove additional marking of selected itemsJoas Schilling2012-07-181-2/+2
| | | | | | | | | | | | PHPBB3-9558
| * | [feature/new-tz-handling] Delete old variable which is not used anymoreJoas Schilling2012-07-181-3/+0
| | | | | | | | | | | | PHPBB3-9558
| * | [feature/new-tz-handling] Rename $user->tz back to $user->timezoneJoas Schilling2012-07-181-2/+2
| | | | | | | | | | | | PHPBB3-9558
| * | Merge branch 'develop' of git://github.com/phpbb/phpbb3 into ↵Joas Schilling2012-07-181-9/+21
| |\ \ | | | | | | | | | | | | feature/new-tz-handling
| * | | [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
* | | | | [feature/pagination-as-list] New parameter for name of start varDrae2012-07-181-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new parameter to hold the name of the start variable. This fulfills ticket PHPBB3-8535. PHPBB3-10968
* | | | | [feature/pagination-as-list] Updates for nils commentsDrae2012-07-181-100/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-remove deprecated functions, change on_page to phpbb_on_page, add null returns, remove globals and pass as params. PHPBB3-10968
* | | | | [feature/pagination-as-list] Rename and deprecate functionsDrae2012-07-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Returned and marked deprecated topic_generate_pagination. Rename new function in line with coding guidelines. PHPBB3-10968
* | | | | [feature/pagination-as-list] Various fixes and improvementsDrae2012-07-181-37/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extracted common template code for prosilver as per subsilver2. Various other fixups and oversight corrections, changed name of the "new" template function and re-introduced existing version. Altered on_page to compensate for removal of some templating vars from pagination routine. PHPBB3-10968
* | | | | [ticket/10968] Render pagination within the templateDrae2012-07-181-42/+56
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since phpBB 2 pagination has been rendered mostly within the source. This limits just what designers can do with pagination. The current form is also questionable in terms of "best practice". The aim is to move rendering completely to the template via the use of a block element. Enabling S_ template vars also allows for control over specific aspects of the pagination output such as next, previous, active and ellipsis. Related to this - merging the capabilities of the topic_generate_pagination with generate_pagination removes an element of duplication. PHPBB3-10968
* | | | [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
* | | 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