aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template/template.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/15424] Multiple typo fixes in docs & commentsluzpaz2019-05-081-1/+1
| | | | | | Fixed typos in some docs, guidelines, some non-user-facing files. PHPBB3-15424
* Merge remote-tracking branch 'javiexin/ticket/15068' into 3.2.xMarc Alexander2017-05-291-0/+24
|\
| * Merge branch '3.2.x' into ticket/15068javiexin2017-03-091-0/+17
| |\
| * | [ticket/15068] Add template vars retrieval from the template objectjaviexin2017-03-091-1/+1
| | | | | | | | | | | | | | | | | | Add possibility to retrieve full block of vars PHPBB3-15068
| * | [ticket/15068] Add template vars retrieval from the template objectjaviexin2017-02-051-0/+24
| | | | | | | | | | | | PHPBB3-15068
* | | Merge pull request #4612 from javiexin/ticket/14950Marc Alexander2017-04-151-1/+2
|\ \ \ | |_|/ |/| | | | | [ticket/14950] Add possibility to delete a template block
| * | [ticket/14950] Add possibility to delete a template blockjaviexin2017-01-041-1/+2
| |/ | | | | | | | | | | | | | | | | Adds a new mode to alter_block_array to allow for the deletion of a certain block of template variables. The selection method is the same as for the other modes for alter_block_array. The passed in vararray is ignored, and an out of bounds index is considered an error. PHPBB3-14944
* | [ticket/14944] Add possibility to search for template loop indexes by keyjaviexin2017-01-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | Adds a new function to the template interface, and implements it in the context class. The function returns the ordinal index for a specified key, with the same structure that the key for alter_block_array. Reuses same code. Remove unneeded references, do nothing for int keys. Check out of bounds or wrong blockname errors. Added tests. Remove default parameter value. PHPBB3-14944
* | [ticket/14944] Add possibility to search for template loop indexes by keyjaviexin2016-12-281-0/+17
|/ | | | | | | | | Adds a new function to the template interface, and implements it in the context class. The function returns the ordinal index for a specified key, with the same structure that the key for alter_block_array. Reuses same code. PHPBB3-14944
* [ticket/12715] Cleanup comments in \phpbb\template\*Tristan Darricau2014-06-151-0/+1
| | | | PHPBB3-12715
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-3/+7
| | | | PHPBB3-12594
* [ticket/12224] Add template wrapper method to assign block arraysrxu2014-02-231-0/+8
| | | | | | | | | | | Add one more wrapper template method for the function assign_block_vars() which takes a 2-dimensional array as a parameter and calls assign_block_vars() in a loop to assign the whole block loop at once. This can make the core a little bit more expendable from the point of developing extensions as it allows to pass the data to events before it's being assigned to template. PHPBB3-12224
* [task/code-sniffer] Remove the IN_PHPBB check side-effect from class files.Andreas Fischer2013-10-301-8/+0
| | | | PHPBB3-11980
* Merge remote-tracking branch 'github-phpbb/develop' into ticket/11700Nils Adermann2013-09-161-5/+23
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * github-phpbb/develop: (586 commits) [ticket/11735] Display disabled checkbox in subsilver for read notifications [ticket/11735] Display disabled checkbox when notification is already read [ticket/11844] update acp/authentication language var [ticket/11795] Remove PM popup [ticket/11795] Remove outdated comment from forum_fn.js [ticket/11795] Move find user JS to forum_fn [ticket/11795] Replace TWIG with phpBB syntax in ACP [ticket/11795] Move MSN scripts to forum_fn.js [ticket/11795] Use phpBB template syntax instead of TWIG [ticket/11795] Move PM popup JS to forum_fn.js [ticket/11795] Get rid of pagination JS variables [ticket/11795] Get rid of onload_functions [ticket/11795] Use data-reset-on-edit attr to reset elements [ticket/11795] Redo form elements auto-focus [ticket/11811] Remove outline on :focus [ticket/11836] Fix subsilver fatal error [ticket/11837] Replace escaped single quote with utf-8 single quote [ticket/11836] Fix fatal error on unsupported provider for auth link [ticket/11837] Translate UCP_AUTH_LINK_NOT_SUPPORTED [ticket/11809] Ensure code.js is first script included after jQuery ... Conflicts: phpBB/config/services.yml phpBB/develop/create_schema_files.php phpBB/develop/mysql_upgrader.php phpBB/download/file.php phpBB/includes/bbcode.php phpBB/includes/functions_container.php phpBB/install/database_update.php phpBB/install/index.php phpBB/phpbb/controller/helper.php phpBB/phpbb/controller/resolver.php phpBB/phpbb/request/request_interface.php phpBB/phpbb/session.php phpBB/phpbb/style/extension_path_provider.php phpBB/phpbb/style/path_provider.php phpBB/phpbb/style/path_provider_interface.php phpBB/phpbb/style/resource_locator.php phpBB/phpbb/style/style.php phpBB/phpbb/template/locator.php phpBB/phpbb/template/template.php phpBB/phpbb/template/twig/node/includeasset.php phpBB/phpbb/template/twig/node/includecss.php phpBB/phpbb/template/twig/node/includejs.php phpBB/phpbb/template/twig/twig.php tests/controller/helper_url_test.php tests/di/create_container_test.php tests/extension/style_path_provider_test.php tests/notification/notification_test.php tests/session/continue_test.php tests/session/creation_test.php tests/template/template_events_test.php tests/template/template_test_case.php tests/template/template_test_case_with_tree.php tests/test_framework/phpbb_functional_test_case.php
| * [ticket/11628] Remove the one usage of get_style_path()Nathaniel Guse2013-07-241-1/+1
| | | | | | | | | | | | Makes the code easier to follow PHPBB3-11628
| * [ticket/11628] Remove template_path option on set_custom_styleNathaniel Guse2013-07-241-2/+1
| | | | | | | | | | | | | | | | | | This was set to default 'template/' to append template/ to all the paths, but every location was actually just setting it to '' to not append anything. So removed the option entirely (additional paths can be appended to the paths being sent to the function already) PHPBB3-11628
| * [ticket/11628] Remove set_style_names function, moved to set_custom_styleNathaniel Guse2013-07-241-10/+0
| | | | | | | | PHPBB3-11628
| * [ticket/11628] Change set_custom_style $template path to default to stringNathaniel Guse2013-07-241-2/+2
| | | | | | | | | | | | | | Rather than default to false and compare === false ? 'template/' : value just assign this default in the arguments PHPBB3-11628
| * [ticket/11628] Remove third parameter ($names) from set_custom_styleNathaniel Guse2013-07-241-3/+2
| | | | | | | | | | | | | | | | This was basically duplicating functionality. $names would be used if not empty, else array($name) would be used. Merged functionality into the first argument PHPBB3-11628
| * [ticket/11628] Return $this from set_style, set_custom_styleNathaniel Guse2013-07-241-2/+2
| | | | | | | | PHPBB3-11628
| * [ticket/11628] Remove phpbb_style (move methods to phpbb_template)Nathaniel Guse2013-07-241-0/+30
| | | | | | | | PHPBB3-11628
* | [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-161-13/+15
|/ | | | PHPBB3-11700
* [ticket/11698] Moving all autoloadable files to phpbb/Nils Adermann2013-07-141-0/+157
PHPBB3-11698