[phpMyAdmin Git] [phpmyadmin/phpmyadmin] fd1705: Simplify Template API

Michal Čihař michal at cihar.com
Tue Oct 3 13:59:51 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/phpmyadmin/phpmyadmin
  Commit: fd1705f45ed33943401fc39fe45a18d9f7b18acc
      https://github.com/phpmyadmin/phpmyadmin/commit/fd1705f45ed33943401fc39fe45a18d9f7b18acc
  Author: Michal Čihař <michal at cihar.com>
  Date:   2017-10-02 (Mon, 02 Oct 2017)

  Changed paths:
    M libraries/classes/Template.php
    R templates/test/set_helper.phtml
    M test/classes/TemplateTest.php

  Log Message:
  -----------
  Simplify Template API

Remove some features we do not seem to use:

- helper functions (this never worked with Twig)
- per class context, it now has to be passed to render
- this avoids need of array_merge call on every render

Signed-off-by: Michal Čihař <michal at cihar.com>


  Commit: 44bed27877f730ae225b07a3dd01de37eb309212
      https://github.com/phpmyadmin/phpmyadmin/commit/44bed27877f730ae225b07a3dd01de37eb309212
  Author: Michal Čihař <michal at cihar.com>
  Date:   2017-10-03 (Tue, 03 Oct 2017)

  Changed paths:
    M libraries/classes/Template.php
    R templates/test/set_helper.phtml
    M test/classes/TemplateTest.php

  Log Message:
  -----------
  Merge pull request #13717 from nijel/template-cleanup

Simplify Template API


Compare: https://github.com/phpmyadmin/phpmyadmin/compare/d7d3b5751c61...44bed27877f7


More information about the Git mailing list