From: Dylan William Hardison Date: Tue, 11 Dec 2018 15:41:20 +0000 (-0500) Subject: Bug 1513087 - User preferences page is totally empty with Template v2.28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfeccd36ed70b22bb137d71d3c66a39750766ebe;p=thirdparty%2Fbugzilla.git Bug 1513087 - User preferences page is totally empty with Template v2.28 --- diff --git a/extensions/BugmailFilter/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl b/extensions/BugmailFilter/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl index 95ffdee99e..b374f6f5be 100644 --- a/extensions/BugmailFilter/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl +++ b/extensions/BugmailFilter/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl @@ -6,7 +6,7 @@ # defined by the Mozilla Public License, v. 2.0. #%] -[% tabs = tabs.import([{ +[% CALL tabs.import([{ name => "bugmail_filter", label => "Bugmail Filtering", link => "userprefs.cgi?tab=bugmail_filter", diff --git a/extensions/ComponentWatching/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl b/extensions/ComponentWatching/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl index 9af22ed394..5479427ec8 100644 --- a/extensions/ComponentWatching/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl +++ b/extensions/ComponentWatching/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl @@ -6,7 +6,7 @@ # defined by the Mozilla Public License, v. 2.0. #%] -[% tabs = tabs.import([{ +[% CALL tabs.import([{ name => "component_watch", label => "Component Watching", link => "userprefs.cgi?tab=component_watch", diff --git a/extensions/Example/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl b/extensions/Example/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl index 83801540a3..b8ff0a518b 100644 --- a/extensions/Example/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl +++ b/extensions/Example/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl @@ -18,6 +18,6 @@ # Contributor(s): Frédéric Buclin #%] -[% tabs = tabs.import([{ name => "my_tab", label => "Example Custom Preferences", +[% CALL tabs.import([{ name => "my_tab", label => "Example Custom Preferences", link => "userprefs.cgi?tab=my_tab", saveable => 1 } ]) %] diff --git a/extensions/RequestNagger/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl b/extensions/RequestNagger/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl index ed3e29c645..20cf822ec0 100644 --- a/extensions/RequestNagger/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl +++ b/extensions/RequestNagger/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl @@ -6,7 +6,7 @@ # defined by the Mozilla Public License, v. 2.0. #%] -[% tabs = tabs.import([{ +[% CALL tabs.import([{ name => "request_nagging", label => "Request Reminders", link => "userprefs.cgi?tab=request_nagging", diff --git a/extensions/SecureMail/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl b/extensions/SecureMail/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl index 1662e28af5..153bfcd1c1 100644 --- a/extensions/SecureMail/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl +++ b/extensions/SecureMail/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl @@ -20,7 +20,7 @@ # Gervase Markham #%] -[% tabs = tabs.import([{ +[% CALL tabs.import([{ name => "securemail", label => "Secure Mail", link => "userprefs.cgi?tab=securemail",