fix undeclared variables or wrong variable names (/view)
This commit is contained in:
parent
7e15a9f0f5
commit
02ef222fe1
5 changed files with 15 additions and 16 deletions
|
@ -71,7 +71,7 @@ function theme_admin(App $a) {
|
|||
$helperlist = "https://forum.friendi.ca/profile/helpers";
|
||||
|
||||
$t = get_markup_template("theme_admin_settings.tpl");
|
||||
$o .= replace_macros($t, [
|
||||
$o = replace_macros($t, [
|
||||
'$helperlist' => ['vier_helperlist', L10n::t('Comma separated list of helper forums'), $helperlist, '', ''],
|
||||
]);
|
||||
|
||||
|
@ -115,7 +115,7 @@ function vier_form(App $a, $style, $show_pages, $show_profiles, $show_helpers, $
|
|||
$show_or_not = ['0' => L10n::t("don't show"), '1' => L10n::t("show"),];
|
||||
|
||||
$t = get_markup_template("theme_settings.tpl");
|
||||
$o .= replace_macros($t, [
|
||||
$o = replace_macros($t, [
|
||||
'$submit' => L10n::t('Submit'),
|
||||
'$baseurl' => System::baseUrl(),
|
||||
'$title' => L10n::t("Theme settings"),
|
||||
|
|
|
@ -138,7 +138,7 @@ function vier_community_info()
|
|||
$show_lastusers = get_vier_config("show_lastusers", 1);
|
||||
|
||||
// get_baseurl
|
||||
$url = System::baseUrl($ssl_state);
|
||||
$url = System::baseUrl();
|
||||
$aside['$url'] = $url;
|
||||
|
||||
// comunity_profiles
|
||||
|
@ -247,7 +247,7 @@ function vier_community_info()
|
|||
|
||||
$tpl = get_markup_template('widget_forumlist_right.tpl');
|
||||
|
||||
$page .= replace_macros(
|
||||
$page = replace_macros(
|
||||
$tpl,
|
||||
[
|
||||
'$title' => L10n::t('Forums'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue