aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/15905] Re-add add_class and lang_definedmrgoldy2019-09-251-0/+12
| | | | PHPBB3-15905
* [ticket/15905] Try it without authmrgoldy2019-09-251-58/+1
| | | | PHPBB3-15905
* [ticket/15905] Resolve conflictsmrgoldy2019-09-251-4/+5
| | | | PHPBB3-15905
* [ticket/15905] Try with existing phpbb extensionmrgoldy2019-09-253-94/+46
| | | | PHPBB3-15905
* [ticket/15905] Correct line endingsmrgoldy2019-09-254-320/+320
| | | | PHPBB3-15905
* [ticket/15905] Create multiple twig extensionsmrgoldy2019-09-254-0/+320
| | | | PHPBB3-15905
* [ticket/14948] Update lexer to be compatible with twig 2.6Marc Alexander2019-05-091-13/+3
| | | | PHPBB3-14948
* [ticket/14948] Update requirements and travis build matrixMarc Alexander2019-05-091-7/+0
| | | | PHPBB3-14948
* [ticket/14948] Adjust calls for twig and phpunit updatesMarc Alexander2019-05-091-1/+1
| | | | PHPBB3-14948
* [ticket/15508] Update loaderFrançois-Xavier de Guillebon2019-05-091-3/+3
| | | | PHPBB3-15508
* [ticket/15508] Remove call to getEnvironment() from parserFrançois-Xavier de Guillebon2019-05-098-25/+63
| | | | PHPBB3-15508
* [ticket/15508] Replace Twig_NodeInterface with Twig_NodeFrançois-Xavier de Guillebon2019-05-098-8/+8
| | | | PHPBB3-15508
* [ticket/15424] Multiple typo fixes in docs & commentsluzpaz2019-05-082-3/+3
| | | | | | Fixed typos in some docs, guidelines, some non-user-facing files. PHPBB3-15424
* [ticket/15377] Use __DIR__ constantRubén Calvo2019-05-081-1/+1
| | | | PHPBB3-15377
* [ticket/15330] Fix typoRubén Calvo2019-05-081-1/+1
| | | | PHPBB3-15330
* [ticket/15330] Twig function to know if a language string is definedRubén Calvo2019-05-081-2/+13
| | | | PHPBB3-15330
* [ticket/15904] Fix counting empty template blockskasimi2018-12-081-1/+2
| | | | PHPBB3-15904
* [ticket/15542] Only add assets version for relative pathsMarc Alexander2018-10-291-0/+5
| | | | PHPBB3-15542
* [ticket/15542] Always append assets versions to assetsMarc Alexander2018-10-291-1/+1
| | | | PHPBB3-15542
* Merge pull request #5249 from senky/ticket/15659Tristan Darricau2018-07-081-0/+10
|\ | | | | | | | | | | | | [ticket/15659] Fix retrieve_block_vars() * github.com:/phpbb/phpbb: [ticket/15659] Fix retrieve_block_vars()
| * [ticket/15659] Fix retrieve_block_vars()Jakub Senko2018-07-071-0/+10
| | | | | | | | PHPBB3-15659
* | [ticket/15666] Fix array key in twig lang() callJakub Senko2018-06-181-1/+1
|/ | | | PHPBB3-15666
* [ticket/15099] Remove type attr from INCLUDECSS and INCLUDEJSJakub Senko2018-01-171-2/+2
| | | | PHPBB3-15099
* [ticket/14972] replace all occurrences of sizeof() with the count()rxu2018-01-011-1/+1
| | | | PHPBB3-14972
* [ticket/14972] Fix template context use of sizeof()Marc Alexander2018-01-011-46/+33
| | | | PHPBB3-14972
* [ticket/14994] Refactor template->assign_block_varjaviexin2017-11-011-1/+1
| | | | | | | | | | Refactor assign_block_var to use the same block selection mechanism as is used in alter_block_array. This allows creating new blocks at any position in the template structure, not only on the last block. Allows selecting a block as outer[2].middle. Added tests. Added PHP 7.2 compatibility. PHPBB3-14994
* [ticket/14994] Refactor template->assign_block_varjaviexin2017-11-011-19/+4
| | | | | | | | | | Refactor assign_block_var to use the same block selection mechanism as is used in alter_block_array. This allows creating new blocks at any position in the template structure, not only on the last block. Allows selecting a block as outer[2].middle. Added tests. Added PHP 7.2 compatibility. PHPBB3-14994
* [ticket/14994] Refactor template->assign_block_varjaviexin2017-10-291-51/+46
| | | | | | | | | Refactor assign_block_var to use the same block selection mechanism as is used in alter_block_array. This allows creating new blocks at any position in the template structure, not only on the last block. Allows selecting a block as outer[2].middle. PHPBB3-14994
* Merge branch 'ticket/15178' into ticket/15179Marc Alexander2017-05-312-2/+11
|\
* \ Merge remote-tracking branch 'javiexin/ticket/15068' into 3.2.xMarc Alexander2017-05-293-0/+126
|\ \
| * \ Merge branch '3.2.x' into ticket/15068javiexin2017-03-0916-146/+509
| |\ \
| * | | [ticket/15068] Add template vars retrieval from the template objectjaviexin2017-03-092-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | Add possibility to retrieve full block of vars PHPBB3-15068
| * | | [ticket/15068] Add template vars retrieval from the template objectjaviexin2017-02-053-0/+110
| | | | | | | | | | | | | | | | PHPBB3-15068
* | | | [ticket/14990] Move dispatcher object to the front of the options arrayrxu2017-04-161-2/+2
| | | | | | | | | | | | | | | | PHPBB3-14990
* | | | [ticket/14990] Fix event name, email parsing, installer and dispatcher callsrxu2017-04-161-14/+18
| | | | | | | | | | | | | | | | PHPBB3-14990
* | | | [ticket/14990] Add core events to the Twig environmentrxu2017-04-161-1/+31
| | | | | | | | | | | | | | | | PHPBB3-14990
* | | | Merge pull request #4612 from javiexin/ticket/14950Marc Alexander2017-04-152-2/+43
|\ \ \ \ | |_|/ / |/| | | | | | | [ticket/14950] Add possibility to delete a template block
| * | | [ticket/14950] Add possibility to delete a template blockjaviexin2017-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Added tests for the new function, fixed. PHPBB3-14950
| * | | [ticket/14950] Add possibility to delete a template blockjaviexin2017-01-042-2/+43
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge branch '3.1.x' into 3.2.xMarc Alexander2017-02-231-29/+40
|\ \ \ | | |/ | |/|
| * | Merge pull request #4605 from javiexin/ticket/14943Marc Alexander2017-02-231-29/+40
| |\ \ | | | | | | | | | | | | [ticket/14943] Fix template loop access by index
| | * | [ticket/14943] Fix template loop access by indexjaviexin2017-01-121-30/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows inserting elements in a loop specified as 'outer[3].inner'. This was coded, but malfunctioning. Name incorrectly set on insert. If block was empty, the insertion process should create it. Checking for out of bounds indexes. PHPBB3-14943
| | * | [ticket/14943] Fix template loop access by indexjaviexin2017-01-011-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows inserting elements in a loop specified as 'outer[3].inner'. This was coded, but malfunctioning. Name incorrectly set on insert. PHPBB3-14943
* | | | Merge branch '3.1.x' into 3.2.xMarc Alexander2017-02-193-0/+108
|\ \ \ \ | |/ / /
| * | | Merge pull request #4598 from javiexin/ticket/14944Marc Alexander2017-02-193-0/+108
| |\ \ \ | | | | | | | | | | | | | | | [ticket/14944] Add search for template loop indexes by key
| | * | | [ticket/14944] Add possibility to search for template loop indexes by keyjaviexin2017-01-283-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 keyjaviexin2017-01-081-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. PHPBB3-14944
| | * | | [ticket/14944] Add possibility to search for template loop indexes by keyjaviexin2016-12-301-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. PHPBB3-14944
| | * | | [ticket/14944] Add possibility to search for template loop indexes by keyjaviexin2016-12-283-0/+96
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge branch '3.1.x' into 3.2.xMarc Alexander2017-01-061-2/+1
|\ \ \ \ | |/ / /