summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-10-18 23:33:33 +0200
committermkanat%bugzilla.org <>2008-10-18 23:33:33 +0200
commitb816ccdbcd69fe73a2fcd58cd13fe620d5fcb1d0 (patch)
treec6853f4572f6d7367b451c6a18b5f12df2013379
parente24b38a78773e0810b40e0905bca5563252eb49c (diff)
downloadbugzilla-b816ccdbcd69fe73a2fcd58cd13fe620d5fcb1d0.tar.gz
bugzilla-b816ccdbcd69fe73a2fcd58cd13fe620d5fcb1d0.tar.xz
Bug 460588: Add template hooks for adding fields to editgroups and userprefs Account
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit
-rw-r--r--template/en/default/account/prefs/account.html.tmpl4
-rw-r--r--template/en/default/admin/groups/create.html.tmpl6
-rw-r--r--template/en/default/admin/groups/edit.html.tmpl1
3 files changed, 9 insertions, 2 deletions
diff --git a/template/en/default/account/prefs/account.html.tmpl b/template/en/default/account/prefs/account.html.tmpl
index 4d2a1ea60..15f0702a7 100644
--- a/template/en/default/account/prefs/account.html.tmpl
+++ b/template/en/default/account/prefs/account.html.tmpl
@@ -94,5 +94,7 @@
</tr>
[% END %]
[% END %]
-
+
+ [% Hook.process('field') %]
+
</table>
diff --git a/template/en/default/admin/groups/create.html.tmpl b/template/en/default/admin/groups/create.html.tmpl
index b0a7928ce..b3ac72372 100644
--- a/template/en/default/admin/groups/create.html.tmpl
+++ b/template/en/default/admin/groups/create.html.tmpl
@@ -46,7 +46,11 @@
<tr>
<th>Icon URL:</th>
<td colspan="3"><input type="text" size="70" maxlength="255" id="icon_url" name="icon_url"></td>
- </tr></table><hr>
+ </tr>
+ [% Hook.process('field') %]
+ </table>
+
+ <hr>
<input type="checkbox" id="insertnew" name="insertnew" value="1"
[% IF Param("makeproductgroups") %] checked[% END %]>
diff --git a/template/en/default/admin/groups/edit.html.tmpl b/template/en/default/admin/groups/edit.html.tmpl
index 7cb989d99..17d8ca142 100644
--- a/template/en/default/admin/groups/edit.html.tmpl
+++ b/template/en/default/admin/groups/edit.html.tmpl
@@ -106,6 +106,7 @@
</td>
</tr>
[% END %]
+ [% Hook.process('field') %]
</table>
<h4>Group Permissions</h4>