| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
| |
Template executor interface defines a template executor object.
It is an object which can execute (i.e. display/render) a template.
Currently there are two implementations:
* phpbb_template_executor_include includes php code from a file.
* phpbb_template_executor_eval eval's php code.
PHPBB3-9726
|
| |
|
|
|
|
|
|
|
| |
phpBB 3.1 will not provide the option to store templates in the database.
This commit removes code that handles templates stored in database
from the template engine.
PHPBB3-9726
|
| |
|
|
| |
PHPBB3-9726
|
| |
|
|
| |
PHPBB3-9726
|
| |
|
|
| |
PHPBB3-9726
|
| |
|
|
|
|
|
| |
There is no need to leave the stream to the garbage collector,
and the amount of data stuck in it may be substantial.
PHPBB3-9726
|
| |
|
|
|
|
|
| |
This function returns false on failure, which can happen if
display() failed. Document the failure return value.
PHPBB3-9726
|
| |
|
|
|
|
| |
If display() failed, propagate the failure out of assign_display().
PHPBB3-9726
|
| |
|
|
|
|
| |
The compile class no longer takes template as a parameter.
PHPBB3-9726
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
compile_tag_if had the flawed approach of adding an isset statement for
all variables to the beginning of the if. This fails for negative
expressions, and checking those takes a considerable effort.
The easier solution is to make the variable expression itself
conditional, defaulting to null if it is not set.
Thanks to naderman for the solution.
PHPBB3-9726
|
| |
|
|
| |
PHPBB3-9726
|
| |
|
|
|
|
|
|
| |
This error resulted in a dot from the namespace being placed into
variable reference in compiled template code, thus creating bogus
compiled template code.
PHPBB3-9726
|
| |
|
|
|
|
|
| |
The code is now supposed to be notice-free, therefore there is no need
to have the notices silenced.
PHPBB3-9726
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
phpbb_template_compile is now much simpler. It takes complete file paths
as inputs, either source template path or source template path and output
compiled template path. The number of methods also went down to two -
compile template and returned compiled text or compile and write to file.
phpbb_compile class is responsible for determining source and compiled
paths. It already had all the data necessary for this, now the code is
in the same place as the data it uses.
PHPBB3-9726
|
| |
|
|
|
|
|
| |
This is a cherry-pick of 053cf790a93e9cfb521f484901d79c72783f868f
which appears to have been partially reverted here.
PHPBB3-9924
|
| |
|
|
| |
PHPBB3-9726
|
| |
|
|
| |
PHPBB3-9726
|
| |
|
|
|
|
| |
Subsilver uses ._file in overall_header.
PHPBB3-9726
|
| |
|
|
|
|
|
|
|
| |
Do not change $recompile from true to false - any recompilation
condition alone is sufficient to force recompilation.
Also uncomment the nonexistent file test which passes with this fix.
PHPBB3-9726
|
| |
|
|
| |
PHPBB3-9726
|
| |
|
|
| |
PHPBB3-9726
|
| |\
| |
| |
| |
| | |
* develop-olympus:
[ticket/10147] Corrected a typo in includes/functions_template.php.
|
| | |\
| | |
| | |
| | |
| | | |
* ticket/p/10147:
[ticket/10147] Corrected a typo in includes/functions_template.php.
|
| | | |
| | |
| | |
| | | |
PHPBB3-10147
|
| |\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
* develop-olympus:
[ticket/10141] Save a hash lookup when value is not in cache.
[ticket/10141] Split double-assignment into conditional and unconditional part.
[ticket/10141] Use a cache in $auth->_fill_acl() for better performance.
|
| | | |
| | |
| | |
| | | |
PHPBB3-10141
|
| | | |
| | |
| | |
| | | |
PHPBB3-10141
|
| | |/
| |
| |
| |
| |
| |
| | |
Many sequences being converted are the same. Use a local cache to
convert each sequence once, speeding up the function.
PHPBB3-10141
|
| | |
| |
| |
| | |
PHPBB3-10139
|
| | |
| |
| |
| | |
PHPBB3-10139
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Remove some of the additional `if (isset)` checks
PHPBB3-10006
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Remove some unneeded return values
PHPBB3-10006
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Add the missing `phpbb_config::delete` method to the config class
PHPBB3-10006
|
| | | |
| | |
| | |
| | | |
PHPBB3-7252
|
| |\ \ \
| | |/
| |/|
| | |
| | | |
* develop-olympus:
[ticket/10109] Fix "Undefined Index" errors when copying a topic.
|
| | |\ \
| | | |
| | | |
| | | |
| | | | |
* ticket/nickvergessen/10109:
[ticket/10109] Fix "Undefined Index" errors when copying a topic.
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-10109
|
| |\ \ \ \
| |/ / /
| | | /
| |_|/
|/| |
| | |
| | |
| | | |
* develop-olympus:
[ticket/10117] Add one more missed 'u' modifier, add code comment
[ticket/10115] Switch UTF-8 mode on for the rest of BBCodes
[ticket/10117] Make smilies to be correctly parsed within unicode text.
[ticket/10115] Make some text oriented BBCodes to properly handle unicode.
|
| | |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
* ticket/rxu/10117:
[ticket/10117] Add one more missed 'u' modifier, add code comment
[ticket/10117] Make smilies to be correctly parsed within unicode text.
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-10117
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-10117
|
| | |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* ticket/rxu/10115:
[ticket/10115] Switch UTF-8 mode on for the rest of BBCodes
[ticket/10115] Make some text oriented BBCodes to properly handle unicode.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-10115
|
| | | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
[quote], [b], [i], [size], [color], [u], [list] are affected.
PHPBB3-10115
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* p/ticket/10136:
[ticket/10136] Added missing $request globalizations in functions.php.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-10136
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* ticket/nickvergessen/9684:
[ticket/9684] Also display forum-name in subsilver2 template
[ticket/9684] Move currently existing GAs to a selectable forum while updating.
[ticket/9684] View origin-forumname for GAs in topic-list
[ticket/9684] Fix Forum/Topic-Tracking for global announcements
[ticket/9684] Fix a SQL-Error in the posting.php
[ticket/9684] Remove code in some more files especially includes/
[ticket/9684] Remove code for global announcement in root-files
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Should be ready for intensive testing now.
PHPBB3-9684
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Topic-Tracking is still missing.
PHPBB3-9684
|