Removed old template parser
This commit is contained in:
parent
b2c6d34d99
commit
731ec347b1
10 changed files with 8 additions and 329 deletions
|
@ -6,7 +6,7 @@ use Friendica\Core\PConfig;
|
|||
|
||||
function duepuntozero_init(App $a) {
|
||||
|
||||
set_template_engine($a, 'smarty3');
|
||||
$a->set_template_engine('smarty3');
|
||||
|
||||
$colorset = PConfig::get( local_user(), 'duepuntozero','colorset');
|
||||
if (!$colorset)
|
||||
|
|
|
@ -22,7 +22,7 @@ function frio_init(App $a) {
|
|||
// disable the events module link in the profile tab
|
||||
$a->theme_events_in_profile = false;
|
||||
|
||||
set_template_engine($a, 'smarty3');
|
||||
$a->set_template_engine('smarty3');
|
||||
|
||||
$baseurl = System::baseUrl();
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ function frost_mobile_init(App $a) {
|
|||
$a->videoheight = 200;
|
||||
$a->theme_thread_allow = false;
|
||||
$a->force_max_items = 10;
|
||||
set_template_engine($a, 'smarty3');
|
||||
$a->set_template_engine('smarty3');
|
||||
}
|
||||
|
||||
function frost_mobile_content_loaded(App $a) {
|
||||
|
|
|
@ -16,7 +16,7 @@ function frost_init(App $a) {
|
|||
$a->videowidth = 400;
|
||||
$a->videoheight = 330;
|
||||
$a->theme_thread_allow = false;
|
||||
set_template_engine($a, 'smarty3');
|
||||
$a->set_template_engine('smarty3');
|
||||
}
|
||||
|
||||
function frost_content_loaded(App $a) {
|
||||
|
|
|
@ -14,7 +14,7 @@ use Friendica\App;
|
|||
use Friendica\Core\System;
|
||||
|
||||
function smoothly_init(App $a) {
|
||||
set_template_engine($a, 'smarty3');
|
||||
$a->set_template_engine('smarty3');
|
||||
|
||||
$cssFile = null;
|
||||
$ssl_state = null;
|
||||
|
|
|
@ -23,7 +23,7 @@ function vier_init(App $a) {
|
|||
|
||||
$a->theme_events_in_profile = false;
|
||||
|
||||
set_template_engine($a, 'smarty3');
|
||||
$a->set_template_engine('smarty3');
|
||||
|
||||
if ($a->argv[0].$a->argv[1] === "profile".$a->user['nickname'] || $a->argv[0] === "network" && local_user()) {
|
||||
vier_community_info();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue