Removed old template parser

This commit is contained in:
Michael 2017-11-11 09:26:23 +00:00
commit 731ec347b1
10 changed files with 8 additions and 329 deletions

View file

@ -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)

View file

@ -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();

View file

@ -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) {

View file

@ -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) {

View file

@ -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;

View file

@ -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();