From b2e92e0af32f86212d15748c6d432d658905d4b6 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 11 May 2011 04:37:13 -0700 Subject: deprecate load_view_file --- mod/install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/install.php') diff --git a/mod/install.php b/mod/install.php index 2db3ae083..b5f056df7 100644 --- a/mod/install.php +++ b/mod/install.php @@ -37,7 +37,7 @@ function install_post(&$a) { notice( t('Connected to database.') . EOL); - $tpl = load_view_file('view/htconfig.tpl'); + $tpl = get_intltext_template('htconfig.tpl'); $txt = replace_macros($tpl,array( '$dbhost' => $dbhost, '$dbuser' => $dbuser, @@ -116,7 +116,7 @@ function install_content(&$a) { require_once('datetime.php'); - $tpl = file_get_contents('view/install_db.tpl'); + $tpl = get_markup_template('install_db.tpl'); $o .= replace_macros($tpl, array( '$lbl_01' => t('Friendika Social Network'), '$lbl_02' => t('Installation'), -- cgit v1.2.3