📄 messages.html.tmpl
字号:
&$_tt_filter($output); }; $output .= "...\n"; } elsif ($stash->get('message_tag') eq 'install_setting_new') { $output .= "\n Adding a new user setting called '"; #line 320 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$_tt_filter($output); }; $output .= "'\n"; } elsif ($stash->get('message_tag') eq 'install_table_drop') { $output .= "\n Dropping the '"; #line 323 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$_tt_filter($output); }; $output .= "' table...\n"; } elsif ($stash->get('message_tag') eq 'install_table_rename') { $output .= "\n Renaming the '"; #line 326 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('old'); &$_tt_filter($output); }; $output .= "' table to '"; #line 326 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('new'); &$_tt_filter($output); }; $output .= "'...\n"; } elsif ($stash->get('message_tag') eq 'install_urlbase_default') { $output .= "\n Now that you have installed "; #line 329 "template\en\default\global\messages.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= ", you should visit the\n 'Parameters' page (linked in the footer of the Administrator\n account) to ensure it is set up as you wish - this includes\n setting the 'urlbase' option to the correct URL.\n"; } elsif ($stash->get('message_tag') eq 'install_webservergroup_empty') { $output .= "\n ****************************************************************************\n WARNING! You have not entered a value for the \"webservergroup\" parameter\n in localconfig. This means that certain files and directories which need\n to be editable by both you and the webserver must be world writable, and\n other files (including the localconfig file which stores your database\n password) must be world readable. This means that _anyone_ who can obtain\n local access to this machine can do whatever they want to your \n "; #line 342 "template\en\default\global\messages.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " installation, and is probably also able to run \n arbitrary Perl code as the user that the webserver runs as.\n\n You really, really, really need to change this setting.\n ****************************************************************************\n"; } elsif ($stash->get('message_tag') eq 'install_webservergroup_not_in') { $output .= "\n Warning: you have entered a value for the \"webservergroup\" parameter in\n localconfig, but you are not either a) running this script as "; #line 350 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= 'Administrator'; &$_tt_filter($output); }; $output .= "; \n or b) a member of this group. This can cause permissions problems and \n decreased security. If you experience problems running "; #line 352 "template\en\default\global\messages.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= "\n scripts, log in as "; #line 353 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= 'Administrator'; &$_tt_filter($output); }; $output .= " and re-run this script, become a \n member of the group, or remove the value of the \"webservergroup\" parameter.\n"; } elsif ($stash->get('message_tag') eq 'install_webservergroup_windows') { $output .= "\n Warning: You have set webservergroup in "; #line 357 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= './localconfig'; &$_tt_filter($output); }; $output .= "\n Please understand that this does not bring you any security when\n running under Windows.\n Verify that the file permissions in your "; #line 360 "template\en\default\global\messages.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " directory are\n suitable for your system. Avoid unnecessary write access.\n"; } elsif ($stash->get('message_tag') eq 'product_invalid') { #line 0 "template\en\default\global\messages.html.tmpl" $stash->set('title', ($stash->get(['terms', 0, 'Bugzilla', 0]) . " Component Descriptions")); $output .= "\n The product <em>"; #line 365 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('product'); &$_tt_filter($output); }; $output .= "</em> does not exist\n or you don't have access to it. The following is a list of the\n products you can choose from.\n"; } elsif ($stash->get('message_tag') eq 'remaining_time_zeroed') { $output .= "\n The "; #line 370 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['field_descs', 0, 'remaining_time', 0]); &$_tt_filter($output); }; $output .= " field has been \n set to zero automatically as part of marking this "; #line 371 "template\en\default\global\messages.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= "\n as either RESOLVED or CLOSED.\n"; } elsif ($stash->get('message_tag') eq 'sudo_started') { #line 375 "template\en\default\global\messages.html.tmpl" $stash->set('title', 'Sudo session started'); $output .= "\n The sudo session has been started. For the next 6 hours, or until you \n end the session, everything you do you do as the user you are \n impersonating ("; #line 378 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('target'); &$_tt_filter($output); }; $output .= ").\n "; } elsif ($stash->get('message_tag') eq 'sudo_ended') { #line 381 "template\en\default\global\messages.html.tmpl" $stash->set('title', 'Sudo session complete'); $output .= "\n The sudo session has been ended. From this point forward, everything you \n do you do as yourself.\n"; } elsif ($stash->get('message_tag') eq 'series_created') { #line 386 "template\en\default\global\messages.html.tmpl" $stash->set('title', 'Series Created'); $output .= "\n The series <em>"; #line 387 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['series', 0, 'category', 0]); &$_tt_filter($output); }; $output .= " /\n "; #line 388 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['series', 0, 'subcategory', 0]); &$_tt_filter($output); }; $output .= " / \n "; #line 389 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['series', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "</em>\n has been created. Note that you may need to wait up to \n "; #line 391 "template\en\default\global\messages.html.tmpl" $output .= $stash->get(['series', 0, 'frequency', 0]) * 2; $output .= " days before there will be enough data for a\n chart of this series to be produced.\n <br><br>\n Go back or \n <a href=\"query.cgi?format=create-series\">create another series</a>.\n "; } elsif ($stash->get('message_tag') eq 'shutdown') { #line 0 "template\en\default\global\messages.html.tmpl" $stash->set('title', ($stash->get(['terms', 0, 'Bugzilla', 0]) . " is Down")); #line 399 "template\en\default\global\messages.html.tmpl" $output .= $stash->get(['Param', [ 'shutdownhtml' ]]); #line 403 "template\en\default\global\messages.html.tmpl" if ($stash->get('userid')) { $output .= "\n <p>For security reasons, you have been logged out automatically.\n The cookie that was remembering your login is now gone."; } $output .= "\n"; } elsif ($stash->get('message_tag') eq 'term') { #line 406 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['terms', 0, $stash->get('term'), 0]); &$_tt_filter($output); }; $output .= "\n"; } elsif ($stash->get('message_tag') eq 'user_match_failed') { $output .= "\n You entered a username that did not match any known "; #line 410 "template\en\default\global\messages.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " users, so we have instead left\n the "; #line 411 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('match_field'); &$_tt_filter($output); }; $output .= " field blank.\n"; } elsif ($stash->get('message_tag') eq 'user_match_multiple') { $output .= "\n You entered a username that matched more than one\n user, so we have instead left the "; #line 415 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('match_field'); &$_tt_filter($output); }; $output .= "\n field blank.\n "; } else { $output .= "\n "; $output .= " \n You are using "; #line 421 "template\en\default\global\messages.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= "'s messaging functions incorrectly. You\n passed in the string '"; #line 422 "template\en\default\global\messages.html.tmpl" $output .= $stash->get('message_tag'); $output .= "'. The correct use is to pass\n in a tag, and define that tag in the file messages.html.tmpl.<br>\n <br>\n If you are a "; #line 425 "template\en\default\global\messages.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " end-user seeing this message, please \n save this page and send it to "; #line 426 "template\en\default\global\messages.html.tmpl" $output .= $stash->get(['Param', [ 'maintainer' ]]); $output .= ".\n "; } $output; }); $output .= "\n"; } }; if ($@) { $_tt_error = $context->catch($@, \$output); die $_tt_error unless $_tt_error->type eq 'return'; } return $output; }, DEFBLOCKS => { },});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -