From: lpsolit%gmail.com <> Date: Mon, 12 Nov 2007 03:57:08 +0000 (+0000) Subject: Part 3 of bug 182083: add Help for more admin pages - Patch by me, r=Colin X-Git-Tag: bugzilla-3.1.3~473 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50cdda2d571514abf2e8781cb376da199cdb1816;p=thirdparty%2Fbugzilla.git Part 3 of bug 182083: add Help for more admin pages - Patch by me, r=Colin --- diff --git a/docs/xml/administration.xml b/docs/xml/administration.xml index a0c7a7c8b6..f8c62913f3 100644 --- a/docs/xml/administration.xml +++ b/docs/xml/administration.xml @@ -1692,7 +1692,7 @@ foo: ENTRY, MANDATORY/MANDATORY, CANEDIT and un-checking the box next to either 'Reporter' or 'CC List' (or both). -
+
Creating Groups To create Groups: @@ -1748,7 +1748,7 @@ foo: ENTRY, MANDATORY/MANDATORY, CANEDIT
-
+
Assigning Users to Groups Users can become a member of a group in several ways. diff --git a/editvalues.cgi b/editvalues.cgi index f60ab634e5..9be6b5440f 100755 --- a/editvalues.cgi +++ b/editvalues.cgi @@ -112,6 +112,10 @@ my $cgi = Bugzilla->cgi; my $template = Bugzilla->template; my $vars = {}; +# Replace this entry by separate entries in templates when +# the documentation about legal values becomes bigger. +$vars->{'doc_section'} = 'edit-values.html'; + print $cgi->header(); exists Bugzilla->user->groups->{'admin'} || diff --git a/template/en/default/admin/custom_fields/create.html.tmpl b/template/en/default/admin/custom_fields/create.html.tmpl index 4feb57393f..5dd50ce3b4 100644 --- a/template/en/default/admin/custom_fields/create.html.tmpl +++ b/template/en/default/admin/custom_fields/create.html.tmpl @@ -21,7 +21,9 @@ [% PROCESS global/header.html.tmpl title = "Add a new Custom Field" - onload = "document.getElementById('new_bugmail').disabled = true;" %] + onload = "document.getElementById('new_bugmail').disabled = true;" + doc_section = "custom-fields.html#add-custom-fields" +%]