⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 list.html.tmpl

📁 buzilla软件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1162252188',        'name' => 'admin/groups/list.html.tmpl',    },    BLOCK => sub {        my $context = shift || die "template sub called without context\n";        my $stash   = $context->stash;        my $output  = '';        my $_tt_error;                eval { BLOCK: {    $output .=  "\n";    $output .=  "\n\n";    $output .=  "\n";    #line 35 "template\en\default\admin\groups\list.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => 'Edit Groups', 'subheader' => 'This lets you edit the groups available to put users in.' });    $output .=  "\n";    #line 40 "template\en\default\admin\groups\list.html.tmpl"    $stash->set('edit_contentlink', 'editgroups.cgi?action=changeform&amp;group=%%id%%');        #line 41 "template\en\default\admin\groups\list.html.tmpl"    $stash->set('del_contentlink', 'editgroups.cgi?action=del&amp;group=%%id%%');        $output .=  "\n";    #line 0 "template\en\default\admin\groups\list.html.tmpl"    $stash->set('columns', [ { 'name' => 'name', 'heading' => 'Name', 'contentlink' => $stash->get('edit_contentlink')  }, { 'name' => 'description', 'heading' => 'Description', 'allow_html_content' => 1  }, { 'name' => 'userregexp', 'heading' => 'User RegExp'  }, { 'name' => 'is_active_bug_group', 'heading' => ("Use For " . $stash->get(['terms', 0, 'Bugs', 0])), 'align' => 'center'  }, { 'name' => 'type', 'heading' => 'Type', 'align' => 'center'  }, { 'name' => 'action', 'heading' => 'Action'  } ]);        $output .=  "\n";    #line 69 "template\en\default\admin\groups\list.html.tmpl"    $stash->set(['overrides', 0, 'is_active_bug_group', 0], [ { 'match_value' => '0', 'match_field' => 'is_active_bug_group', 'override_content' => 1, 'content' => '&nbsp;'  }, { 'match_value' => '1', 'match_field' => 'is_active_bug_group', 'override_content' => 1, 'content' => 'X'  } ]);    $stash->set(['overrides', 0, 'userregexp', 0], [ { 'match_value' => '', 'match_field' => 'userregexp', 'override_content' => 1, 'content' => '&nbsp;'  } ]);    $stash->set(['overrides', 0, 'action', 0], [ { 'match_value' => $stash->get(['Param', [ 'chartgroup' ]]), 'match_field' => 'name', 'override_content' => 1, 'content' => '(used as the \'chartgroup\')'  }, { 'match_value' => $stash->get(['Param', [ 'insidergroup' ]]), 'match_field' => 'name', 'override_content' => 1, 'content' => '(used as the \'insidergroup\')'  }, { 'match_value' => $stash->get(['Param', [ 'timetrackinggroup' ]]), 'match_field' => 'name', 'override_content' => 1, 'content' => '(used as the \'timetrackinggroup\')'  }, { 'match_value' => $stash->get(['Param', [ 'querysharegroup' ]]), 'match_field' => 'name', 'override_content' => 1, 'content' => '(used as the \'querysharegroup\')'  }, { 'match_value' => '1', 'match_field' => 'isbuggroup', 'override_content' => 1, 'content' => 'Delete', 'override_contentlink' => 1, 'contentlink' => $stash->get('del_contentlink')  } ]);    $stash->set(['overrides', 0, 'type', 0], [ { 'match_value' => '0', 'match_field' => 'isbuggroup', 'override_content' => 1, 'content' => 'system'  }, { 'match_value' => '1', 'match_field' => 'isbuggroup', 'override_content' => 1, 'content' => 'user'  } ]);        $output .=  " \n";    #line 133 "template\en\default\admin\groups\list.html.tmpl"    $output .=  $context->process('admin/table.html.tmpl', { 'columns' => $stash->get('columns'), 'data' => $stash->get('groups'), 'overrides' => $stash->get('overrides') });    $output .=  "\n\n<p><a href=\"editgroups.cgi?action=add\">Add Group</a></p>\n\n<p>\n  <b>Name</b> is what is used with the B<!-- blah -->ugzilla->user->in_group()\nfunction in any customized cgi files you write that use a given group.\nIt can also be used by people submitting ";    #line 144 "template\en\default\admin\groups\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " by email to\nlimit ";    #line 145 "template\en\default\admin\groups\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'abug', 0]);    $output .=  " to a certain set of groups.\n</p>\n\n<p>\n  <b>Description</b> is what will be shown in the ";    #line 149 "template\en\default\admin\groups\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " reports\nto members of the group where they can choose whether the ";    #line 150 "template\en\default\admin\groups\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  "\nwill be restricted to others in the same group.\n</p>\n\n<p>\n  <b>User RegExp</b> is optional, and if filled in, will automatically\ngrant membership to this group to anyone with an email address\nthat matches this perl regular expression. Do not forget\nthe trailing '\$'.  Example '\@mycompany\\.com\$'\n</p>\n\n<p>\n  The <b>Use For ";    #line 162 "template\en\default\admin\groups\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugs', 0]);    $output .=  "</b> flag determines whether or not\nthe group is eligible to be used for ";    #line 163 "template\en\default\admin\groups\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  ". If you remove\nthis flag, it will no longer be possible for users to add ";    #line 164 "template\en\default\admin\groups\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  "\nto this group, although ";    #line 165 "template\en\default\admin\groups\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " already in the group will remain\nin the group. Doing so is a much less drastic way to stop a group\nfrom growing than deleting the group as well as a way to maintain\nlists of users without cluttering the lists of groups used\nfor ";    #line 169 "template\en\default\admin\groups\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " restrictions.\n</p>\n\n<p>\n  The <b>Type</b> field identifies system groups.\n</p>\n";    #line 176 "template\en\default\admin\groups\list.html.tmpl"    $output .=  $context->process('global/footer.html.tmpl');    $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 + -