📄 messages.html.tmpl
字号:
Your [% terms.Bugzilla %] login has been changed. [% ELSIF message_tag == "parameters_updated" %] [% title = "Parameters Updated" %] [% IF param_changed.size > 0 %] [% FOREACH param = param_changed %] Changed <em>[% param FILTER html %]</em><br> [% IF param == 'utf8' && Param('utf8') %] <strong>You must now re-run checksetup.pl.</strong><br> [% END %] [% END %] [% ELSE %] No changes made. [% END %] [% IF shutdown_is_active == 1 %] <hr> [% terms.Bugzilla %] has now been shut down. To re-enable the system, clear the <em>shutdownhtml</em> field. [% END%] [% ELSIF message_tag == "password_change_cancelled" %] [% title = "Cancel Request to Change Password" %] Your request has been canceled. [% ELSIF message_tag == "password_change_request" %] [% title = "Request to Change Password" %] A token for changing your password has been emailed to you. Follow the instructions in that email to change your password. [% ELSIF message_tag == "password_changed" %] [% title = "Password Changed" %] Your password has been changed. [% ELSIF message_tag == "flag_type_created" %] [% title = "Flag Type Created" %] The flag type <em>[% name FILTER html %]</em> has been created. <a href="editflagtypes.cgi">Back to flag types.</a> [% ELSIF message_tag == "flag_type_changes_saved" %] [% title = "Flag Type Changes Saved" %] <p> Your changes to the flag type <em>[% name FILTER html %]</em> have been saved. <a href="editflagtypes.cgi">Back to flag types.</a> </p> [% ELSIF message_tag == "flag_type_deleted" %] [% title = "Flag Type Deleted" %] <p> The flag type <em>[% name FILTER html %]</em> has been deleted. <a href="editflagtypes.cgi">Back to flag types.</a> </p> [% ELSIF message_tag == "flag_type_deactivated" %] [% title = "Flag Type Deactivated" %] <p> The flag type <em>[% flag_type.name FILTER html %]</em> has been deactivated. <a href="editflagtypes.cgi">Back to flag types.</a> </p> [% ELSIF message_tag == "install_admin_get_email" %] Enter the e-mail address of the administrator: [% ELSIF message_tag == "install_admin_get_name" %] Enter the real name of the administrator: [% ELSIF message_tag == "install_admin_get_password" %] Enter a password for the administrator account: [% ELSIF message_tag == "install_admin_get_password2" %] Please retype the password to verify: [% ELSIF message_tag == "install_admin_created" %] [% user.login FILTER html %] is now set up as an administrator. [% ELSIF message_tag == "install_admin_setup" %] Looks like we don't have an administrator set up yet. Either this is your first time using [% terms.Bugzilla %], or your administrator's privileges might have accidentally been deleted. [% ELSIF message_tag == "install_column_add" %] Adding new column '[% column FILTER html %]' to the '[% table FILTER html %]' table... [% ELSIF message_tag == "install_column_drop" %] Deleting the '[% column FILTER html %]' column from the '[% table FILTER html %]' table... [% ELSIF message_tag == "install_column_rename" %] Renaming column '[% old FILTER html %]' to '[% new FILTER html %]'... [% ELSIF message_tag == "install_default_classification" %] Creating default classification '[% name FILTER html %]'... [% ELSIF message_tag == "install_default_product" %] Creating initial dummy product '[% name FILTER html %]'... [% ELSIF message_tag == "install_file_perms_fix" %] Fixing file permissions... [% ELSIF message_tag == "install_group_create" %] Creating group [% name FILTER html %]... [% ELSIF message_tag == "install_setting_new" %] Adding a new user setting called '[% name FILTER html %]' [% ELSIF message_tag == "install_table_drop" %] Dropping the '[% name FILTER html %]' table... [% ELSIF message_tag == "install_table_rename" %] Renaming the '[% old FILTER html %]' table to '[% new FILTER html %]'... [% ELSIF message_tag == "install_urlbase_default" %] Now that you have installed [% terms.Bugzilla %], you should visit the 'Parameters' page (linked in the footer of the Administrator account) to ensure it is set up as you wish - this includes setting the 'urlbase' option to the correct URL. [% ELSIF message_tag == "install_webservergroup_empty" %] **************************************************************************** WARNING! You have not entered a value for the "webservergroup" parameter in localconfig. This means that certain files and directories which need to be editable by both you and the webserver must be world writable, and other files (including the localconfig file which stores your database password) must be world readable. This means that _anyone_ who can obtain local access to this machine can do whatever they want to your [%+ terms.Bugzilla %] installation, and is probably also able to run arbitrary Perl code as the user that the webserver runs as. You really, really, really need to change this setting. **************************************************************************** [% ELSIF message_tag == "install_webservergroup_not_in" %] Warning: you have entered a value for the "webservergroup" parameter in localconfig, but you are not either a) running this script as [% constants.ROOT_USER FILTER html %]; or b) a member of this group. This can cause permissions problems and decreased security. If you experience problems running [% terms.Bugzilla %] scripts, log in as [% constants.ROOT_USER FILTER html %] and re-run this script, become a member of the group, or remove the value of the "webservergroup" parameter. [% ELSIF message_tag == "install_webservergroup_windows" %] Warning: You have set webservergroup in [% constants.bz_locations.localconfig FILTER html %] Please understand that this does not bring you any security when running under Windows. Verify that the file permissions in your [% terms.Bugzilla %] directory are suitable for your system. Avoid unnecessary write access. [% ELSIF message_tag == "product_invalid" %] [% title = "$terms.Bugzilla Component Descriptions" %] The product <em>[% product FILTER html %]</em> does not exist or you don't have access to it. The following is a list of the products you can choose from. [% ELSIF message_tag == "remaining_time_zeroed" %] The [% field_descs.remaining_time FILTER html %] field has been set to zero automatically as part of marking this [% terms.bug %] as either RESOLVED or CLOSED. [% ELSIF message_tag == "sudo_started" %] [% title = "Sudo session started" %] The sudo session has been started. For the next 6 hours, or until you end the session, everything you do you do as the user you are impersonating ([% target FILTER html %]). [% ELSIF message_tag == "sudo_ended" %] [% title = "Sudo session complete" %] The sudo session has been ended. From this point forward, everything you do you do as yourself. [% ELSIF message_tag == "series_created" %] [% title = "Series Created" %] The series <em>[% series.category FILTER html %] / [%+ series.subcategory FILTER html %] / [%+ series.name FILTER html %]</em> has been created. Note that you may need to wait up to [%+ series.frequency * 2 %] days before there will be enough data for a chart of this series to be produced. <br><br> Go back or <a href="query.cgi?format=create-series">create another series</a>. [% ELSIF message_tag == "shutdown" %] [% title = "$terms.Bugzilla is Down" %] [% Param("shutdownhtml") %] [% IF userid %] <p>For security reasons, you have been logged out automatically. The cookie that was remembering your login is now gone. [% END %] [% ELSIF message_tag == "term" %] [% terms.$term FILTER html %] [% ELSIF message_tag == "user_match_failed" %] You entered a username that did not match any known [% terms.Bugzilla %] users, so we have instead left the [% match_field FILTER html %] field blank. [% ELSIF message_tag == "user_match_multiple" %] You entered a username that matched more than one user, so we have instead left the [% match_field FILTER html %] field blank. [% ELSE %] [%# Give sensible error if error functions are used incorrectly. #%] You are using [% terms.Bugzilla %]'s messaging functions incorrectly. You passed in the string '[% message_tag %]'. The correct use is to pass in a tag, and define that tag in the file messages.html.tmpl.<br> <br> If you are a [% terms.Bugzilla %] end-user seeing this message, please save this page and send it to [% Param('maintainer') %]. [% END %][% END %]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -