phpbb/phpBB/includes
Oleg Pudeyev 52f208900f [feature/template-engine] Get rid of orig_tpl_* in template engine.
The origins of orig_tpl_* are not pretty. Please see the following commits
and associated tickets: r9823, r9839, r9847, r10150, r10460.

In short, multiple hacks were required due to template engine reading
inheritance/storedb flags from $user (global) even when the template that
was being looked up or rendered was not the "active style of the
current user".

We no longer store templates in the database, removing half of the problem.
This commit fixes the second half of the problem by deleting
set_template_path function from template locator, and moving that logic
back into the template class' set_template. set_template now calls
set_custom_template, the latter only taking the template path and the
fallback paths as parameters. With this change template locator no longer
uses $user and does not use phpbb root path either.

All logic involving setting the user's "active" template is now
encapsulated in a single template class's function, set_template.
Setting other templates is done via set_custom_template and the caller
is responsible for determining and passing in fallback/inheritance path,
if any.

PHPBB3-9726
2011-08-04 21:45:42 -04:00
..
acp Merge branch 'ticket/nickvergessen/9684' into develop 2011-04-11 00:04:19 -04:00
auth Merge branch 'feature/igorw/request-class' into develop 2010-12-16 02:22:17 +01:00
cache [feature/redis] Add Redis cache driver using phpredis extension 2011-03-30 11:29:11 +08:00
captcha Merge branch 'develop-olympus' into develop 2011-03-31 20:32:11 +02:00
config [ticket/10139] Make signatures of set_atomic() consistent by using $new_value. 2011-04-19 10:17:18 +02:00
cron [ticket/10046] Remove register_shutdown_function() in cron.php from develop. 2011-03-12 15:07:31 +01:00
db Merge branch 'develop-olympus' into develop 2011-03-31 20:32:11 +02:00
diff [ticket/9556] Drop php closing tags, add trailing newline 2010-11-11 19:10:55 +01:00
hooks [ticket/9556] Drop php closing tags, add trailing newline 2010-11-11 19:10:55 +01:00
lock [feature/system-cron] preg_match returns int so cast to bool, fix comment 2011-02-12 22:05:54 -05:00
mcp Merge branch 'develop-olympus' into develop 2011-04-17 11:09:17 -04:00
questionnaire [ticket/9556] Drop php closing tags, add trailing newline 2010-11-11 19:10:55 +01:00
request [feature/request-class] Fix the error message when accessing superglobal 2011-02-28 08:04:40 +01:00
search [ticket/9574] Add pcre_utf8_support() function 2010-12-28 22:37:33 +01:00
template [feature/template-engine] Get rid of orig_tpl_* in template engine. 2011-08-04 21:45:42 -04:00
ucp [ticket/9684] Fix Forum/Topic-Tracking for global announcements 2011-04-07 13:47:08 +02:00
utf [ticket/9669] Replace spaces with tabs 2011-03-07 09:49:58 +01:00
.htaccess [ticket/9698] Add .htaccess to the includes subdirectory. 2010-10-15 16:47:21 +02:00
auth.php Merge branch 'develop-olympus' into develop 2011-04-22 11:17:39 +02:00
bbcode.php [ticket/9556] Drop php closing tags, add trailing newline 2010-11-11 19:10:55 +01:00
class_loader.php [task/acm-refactor] Cleaning up left over mentions of ACM and fixing tests. 2011-01-09 23:49:44 +01:00
constants.php Merge branch 'develop-olympus' into develop 2011-02-23 22:03:42 -05:00
error_collector.php [ticket/10057] Fixes for a bunch of small problems. 2011-03-08 19:48:56 -05:00
functions.php [feature/template-engine] Rename is_absolute to phpbb_is_absolute. 2011-07-24 13:37:46 -04:00
functions_acp.php [ticket/10070] Fixed line endings after ticket/9549. 2011-03-01 17:47:42 -05:00
functions_admin.php [ticket/9684] Remove code in some more files especially includes/ 2011-04-07 13:47:06 +02:00
functions_compress.php [ticket/9556] Drop php closing tags, add trailing newline 2010-11-11 19:10:55 +01:00
functions_content.php [ticket/9556] Drop php closing tags, add trailing newline 2010-11-11 19:10:55 +01:00
functions_convert.php Merge branch 'develop-olympus' into develop 2010-12-13 17:14:36 +01:00
functions_display.php [ticket/9684] Remove code in some more files especially includes/ 2011-04-07 13:47:06 +02:00
functions_download.php Merge branch 'develop-olympus' into develop 2011-02-24 10:54:51 +01:00
functions_install.php [ticket/9556] Drop php closing tags, add trailing newline 2010-11-11 19:10:55 +01:00
functions_jabber.php [ticket/9556] Drop php closing tags, add trailing newline 2010-11-11 19:10:55 +01:00
functions_messenger.php [feature/template-engine] Replaced globals with dependency injection. 2011-05-12 20:13:31 -04:00
functions_module.php [ticket/9556] Drop php closing tags, add trailing newline 2010-11-11 19:10:55 +01:00
functions_posting.php [ticket/7252] Removed an outdated comment pertaining to PHP 4.x. 2011-04-17 18:41:18 -04:00
functions_privmsgs.php [ticket/9556] Drop php closing tags, add trailing newline 2010-11-11 19:10:55 +01:00
functions_profile_fields.php [ticket/9556] Drop php closing tags, add trailing newline 2010-11-11 19:10:55 +01:00
functions_transfer.php [ticket/9556] Drop php closing tags, add trailing newline 2010-11-11 19:10:55 +01:00
functions_upload.php Merge branch 'develop-olympus' into develop 2011-01-10 23:43:04 +01:00
functions_user.php Merge branch 'develop-olympus' into develop 2011-04-10 19:52:58 -04:00
group_positions.php [ticket/9549] New method move() to move a group more than 1 up/down. 2011-02-16 18:22:32 +01:00
index.htm Add blank indexes to stop nosey people being, erm, nosey 2001-11-21 13:06:56 +00:00
message_parser.php Merge branch 'ticket/rxu/10117' into develop-olympus 2011-04-17 00:31:24 -04:00
session.php Merge branch 'develop-olympus' into develop 2011-02-26 08:05:55 -05:00