aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11103] Output the notifications to the templateNathan Guse2012-09-081-1/+8
| | | | | | For now, just dumping the notifications in the header. PHPBB3-11103
* Merge pull request #962 from imkingdavid/feature/add_eventsNils Adermann2012-09-011-0/+34
|\ | | | | Feature/add events
| * [feature/add_events] Rename override to overwrite, made docs 79 chars/lineDavid King2012-08-211-17/+18
| | | | | | | | PHPBB3-9550
| * [feature/add_events] Rename core.append_sid_override to just core.append_sidDavid King2012-08-201-2/+14
| | | | | | | | | | | | Also, I added the hook back in below the event for backwards compatibility. PHPBB3-9550
| * [feature/add_events] Globalize the event dispatcher objectDavid King2012-08-201-0/+1
| | | | | | | | PHPBB3-9550
| * [feature/add_events] Return the correct variableDavid King2012-08-201-1/+1
| | | | | | | | PHPBB3-9550
| * [feature/add_events] Replaced current append_sid() hook with new eventDavid King2012-08-201-7/+27
| | | | | | | | | | | | | | The new event, core.append_sid_override can either supplement or override the append_sid() function. PHPBB3-9550
* | Merge branch 'develop-olympus' into developNils Adermann2012-09-011-1/+1
|\ \ | |/ |/| | | | | | | | | * develop-olympus: [task/functional] Fixed DEBUG_TEST related issues [task/functional] Allow tests to bypass certain restrictions with DEBUG_TEST [task/functional] Added posting tests (reply and new topic)
| * [task/functional] Allow tests to bypass certain restrictions with DEBUG_TESTDavid King2012-09-011-1/+1
| | | | | | | | PHPBB3-10758
* | [feature/php-events] Remove double space in commentsJoas Schilling2012-08-051-2/+2
| | | | | | | | PHPBB3-9550
* | [feature/php-events] Add docs for core.garbage_collectionJoas Schilling2012-08-051-0/+6
| | | | | | | | PHPBB3-9550
* | [feature/php-events] Add docs for core.page_footerJoas Schilling2012-08-051-2/+10
| | | | | | | | PHPBB3-9550
* | [feature/php-events] Add docs for core.page_headerJoas Schilling2012-08-051-0/+14
| | | | | | | | PHPBB3-9550
* | [feature/php-events] Remove duplicated event and name the events properlyJoas Schilling2012-08-011-5/+2
| | | | | | | | PHPBB3-9550
* | [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