From a3c3abffe5a964685d596a82261fde79b416107a Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 4 Nov 2010 18:00:58 +0100 Subject: Bug 485418: Code and template hooks for userprefs.cgi to be able to add additional tabs r=mkanat a=LpSolit --- .../hook/account/prefs/prefs-tabs.html.tmpl | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 extensions/Example/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl (limited to 'extensions/Example/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl') 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 new file mode 100644 index 000000000..83801540a --- /dev/null +++ b/extensions/Example/template/en/default/hook/account/prefs/prefs-tabs.html.tmpl @@ -0,0 +1,23 @@ +[%# + # The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Example Plugin. + # + # The Initial Developer of the Original Code is Frédéric Buclin. + # Portions created by the Initial Developer are Copyright (C) 2010 + # the Initial Developer. All Rights Reserved. + # + # Contributor(s): Frédéric Buclin + #%] + +[% tabs = tabs.import([{ name => "my_tab", label => "Example Custom Preferences", + link => "userprefs.cgi?tab=my_tab", saveable => 1 } + ]) %] -- cgit v1.2.3-24-g4f1b