| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
PHPBB3-11388
|
|
|
|
| |
PHPBB3-11388
|
|
|
|
| |
PHPBB3-11388
|
|
|
|
|
|
|
|
|
| |
Copied from the INCLUDECSS PR, since this needed to be modified.
Added checks for argument strings/anchors/http/https paths in asset files
to load files properly
PHPBB3-11388
|
|
|
|
|
|
|
|
|
| |
If debug mode is enabled, lets check for new/removed EVENT templates on
page load rather than at compile. This is slower, but makes developing
extensions easier (no need to purge the cache when a new event template
file is added)
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
|
|
|
|
|
| |
As a last resort, now we use the Twig Loader to find the correct file to
include to (most specific file first, then parent styles). Also allows
using @namespace convention. This is ONLY done if the specified path is not
an absolute path AND the file does not exist relative to the phpBB root path.
PHPBB3-11598
|
|
|
|
|
|
|
|
|
| |
This was done because T_TEMPLATE_PATH is not always correct for js files
(e.g. the inheriting style does not include these). Now we use the Twig
Loader to find the correct file to link to (most specific file first, then
parent styles). Also allows using @namespace convention
PHPBB3-11598
|
|
|
|
|
|
|
| |
This had to be done because, like DEFINE, setting variables to $context
only affected the local file and any children, not parent templates.
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
|
|
|
|
|
|
|
| |
No longer using the begin tokenparser/node as it did not allow proper
handling of <!-- BEGIN !foo, <!-- BEGIN foo(0,2). Now the lexer will
use regular expressions to handle that correctly and replace it with Twig's
for token
Also fixing <!-- IF .foo as I discovered it evaluates to if sizeof(foo)
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
|
|
| |
I could find no better way to do this...
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
|
|
| |
Some fixes for main template parser
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Was:
<!-- INCLUDEJS template/foo.js -->
Now:
<!-- INCLUDEJS T_TEMPLATE_PATH ~ '/foo.js' -->
Reasons for this:
1. INCLUDEJS is 3.1-dev only
2. INCLUDEJS has odd behavior to begin with (arbitrary setting root path
to styles/name/ directory)
3. INCLUDEJS could not include files from outside directories or anywhere
else
4. It was easier to change INCLUDEJS behavior to something more flexible
and useful than hack around it to make it work as it was with Twig.
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is done so that when event template files are included, if they
include files themselves, that namespace is checked first, then __main__
is checked to include the correct template file.
Also, when template files are included from a particular namespace, this is
done so that the files from that namespace are included first, then the
main namespace is checked.
We may want to change this behavior in the future to allow choosing which
locations have priority, but for now, this is what I am doing to make sure
the behavior is simple and always the same.
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
|
|
|
| |
The way it was setup would actually require PHP 5.4, which isn't an option
right now. Leaving the old code there, just commented out, for now at least.
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
|
|
| |
Fixing begin token/node, adding includejs token/node
PHPBB3-11598
|
|
PHPBB3-11598
|