📄 edit.html.tmpl
字号:
#line 89 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['const', 0, 'CONTROLMAPMANDATORY', 0]); #line 90 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" if ($stash->get(['group', 0, 'membercontrol', 0]) eq $stash->get(['const', 0, 'CONTROLMAPMANDATORY', 0])) { $output .= ('' . " selected=\"selected\""); } $output .= "\n >Mandatory\n </option>\n </select>\n </td>\n <td>\n <select name=\"othercontrol_"; #line 97 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['group', 0, 'id', 0]); $output .= "\">\n <option value="; #line 98 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['const', 0, 'CONTROLMAPNA', 0]); #line 99 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" if ($stash->get(['group', 0, 'othercontrol', 0]) eq $stash->get(['const', 0, 'CONTROLMAPNA', 0])) { $output .= ('' . " selected=\"selected\""); } $output .= "\n >NA\n </option>\n <option value="; #line 103 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['const', 0, 'CONTROLMAPSHOWN', 0]); #line 104 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" if ($stash->get(['group', 0, 'othercontrol', 0]) eq $stash->get(['const', 0, 'CONTROLMAPSHOWN', 0])) { $output .= ('' . " selected=\"selected\""); } $output .= "\n >Shown\n </option>\n <option value="; #line 108 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['const', 0, 'CONTROLMAPDEFAULT', 0]); #line 109 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" if ($stash->get(['group', 0, 'othercontrol', 0]) eq $stash->get(['const', 0, 'CONTROLMAPDEFAULT', 0])) { $output .= ('' . " selected=\"selected\""); } $output .= "\n >Default\n </option>\n <option value="; #line 113 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['const', 0, 'CONTROLMAPMANDATORY', 0]); #line 114 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" if ($stash->get(['group', 0, 'othercontrol', 0]) eq $stash->get(['const', 0, 'CONTROLMAPMANDATORY', 0])) { $output .= ('' . " selected=\"selected\""); } $output .= "\n >Mandatory\n </option>\n </select>\n </td>\n <td>\n <input type=checkbox value=1 name=canedit_"; #line 121 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['group', 0, 'id', 0]); #line 122 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" if ($stash->get(['group', 0, 'canedit', 0])) { $output .= ('' . " checked=\"checked\""); } $output .= ">\n </td>\n <td>\n <input type=checkbox value=1 name=editcomponents_"; #line 125 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['group', 0, 'id', 0]); #line 126 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" if ($stash->get(['group', 0, 'editcomponents', 0])) { $output .= ('' . " checked=\"checked\""); } $output .= ">\n </td>\n <td>\n <input type=checkbox value=1 name=canconfirm_"; #line 129 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['group', 0, 'id', 0]); #line 130 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" if ($stash->get(['group', 0, 'canconfirm', 0])) { $output .= ('' . " checked=\"checked\""); } $output .= ">\n </td>\n <td>\n <input type=checkbox value=1 name=editbugs_"; #line 133 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['group', 0, 'id', 0]); #line 134 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" if ($stash->get(['group', 0, 'editbugs', 0])) { $output .= ('' . " checked=\"checked\""); } $output .= ">\n </td>\n <td>"; #line 137 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['group', 0, 'bugcount', 0]); $output .= "\n </td>\n </tr>"; } ; ($_tt_value, $_tt_error) = $_tt_list->get_next(); } }; $stash->set('loop', $_tt_oldloop); die $@ if $@; $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE; die $_tt_error if $_tt_error; }; $output .= "\n\n </table>\n <br>\n <input type=submit name=\"submit\" value=\"submit\">\n <br>\n</form>\n\n\n<p>\nThese settings control the relationship of the groups to this\nproduct.\n</p>\n<p>\nIf any group has <b>Entry</b> selected, then this product will\nrestrict "; #line 156 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " entry to only those users who are members of all the\ngroups with entry selected.\n</p>\n<p>\nIf any group has <b>Canedit</b> selected, then this product\nwill be read-only for any users who are not members of all of\nthe groups with Canedit selected. ONLY users who are members of\nall the canedit groups will be able to edit. This is an additional\nrestriction that further restricts what can be edited by a user.\n</p>\n<p>\nThe following settings control let you choose privileges on a <b>per-product basis</b>.\nThis is a convenient way to give privileges to some users for some products\nonly, without having to give them global privileges which would affect all\nproducts:\n</p>\n<p>\nAny group having <b>editcomponents</b> selected allows users who are\nin this group to edit all aspects of this product, including components,\nmilestones and versions.\n</p>\n<p>\nAny group having <b>canconfirm</b> selected allows users who are\nin this group to confirm "; #line 179 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " in this product.\n</p>\n<p>\nAny group having <b>editbugs</b> selected allows users who are\nin this group to edit all fields of "; #line 183 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " in this product.\n</p>\n<p>\nThe <b>MemberControl</b> and <b>OtherControl</b> fields\nindicate which "; #line 187 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " will be placed in\nthis group according to the following definitions.\n</p>\n\n<table border=1>\n <tr>\n <th>\n MemberControl\n </th>\n <th>\n OtherControl\n </th>\n <th>\n Interpretation\n </th>\n </tr>\n <tr>\n <td>\n NA\n </td>\n <td>\n NA\n </td>\n <td>"; #line 211 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= " in this product are never associated with this group.\n </td>\n </tr>\n <tr>\n <td>\n Shown\n </td>\n <td>\n NA\n </td>\n <td>"; #line 222 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= " in this product are permitted to be restricted to this\n group. Users who are members of this group will be able to place "; #line 223 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " in\n this group.\n </td>\n </tr>\n <tr>\n <td>\n Shown\n </td>\n <td>\n Shown\n </td>\n <td>"; #line 235 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= " in this product can be placed in this group by anyone\n with permission to edit the "; #line 236 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " even if they are not a member\n of this group.\n </td>\n </tr>\n <tr>\n <td>\n Shown\n </td>\n <td>\n Default\n </td>\n <td>"; #line 248 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= " in this product can be placed in this group by anyone\n with permission to edit the "; #line 249 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " even if they are not a member\n of this group. Non-members place "; #line 250 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " in this group by default.\n </td>\n </tr>\n <tr>\n <td>\n Shown\n </td>\n <td>\n Mandatory\n </td>\n <td>"; #line 261 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= " in this product are permitted to be restricted to this\n group. Users who are members of this group will be able to place "; #line 262 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= "\n in this group. Non-members will be forced to restrict "; #line 263 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " to\n this group when they initially enter "; #line 264 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'abug', 0]); $output .= " in this product.\n </td>\n </tr>\n <tr>\n <td>\n Default\n </td>\n <td>\n NA\n </td>\n <td>"; #line 275 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= " in this product are permitted to be restricted to this\n group and are placed in this group by default. Users who are members of this\n group will be able to place "; #line 277 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " in this group.\n </td>\n </tr>\n <tr>\n <td>\n Default\n </td>\n <td>\n Default\n </td>\n <td>"; #line 288 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= " in this product are permitted to be restricted to this\n group and are placed in this group by default. Users who are members of this group\n will be able to place "; #line 290 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " in this group. Non-members will be\n able to restrict "; #line 291 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " to this group on entry and will do so by default\n </td>\n </tr>\n <tr>\n <td>\n Default\n </td>\n <td>\n Mandatory\n </td>\n <td>"; #line 302 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= " in this product are permitted to be restricted to this\n group and are placed in this group by default. Users who are members of this group\n will be able to place "; #line 304 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " in this group. Non-members will be forced\n to place "; #line 305 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " in this group on entry.\n </td>\n </tr>\n <tr>\n <td>\n Mandatory\n </td>\n <td>\n Mandatory\n </td>\n <td>"; #line 316 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= " in this product are required to be restricted to this\n group. Users are not given any option.\n </td>\n </tr>\n</table>\n<p>\nPlease note that the above table delineates the only allowable combinations\nfor the <b>MemberControl</b> and <b>OtherControl</b> field settings.\nAttempting to submit a combination not listed there (e.g. Mandatory/NA,\nDefault/Shown, etc.) will produce an error message.\n</p>"; #line 327 "template\en\default\admin\products\groupcontrol\edit.html.tmpl" $output .= $context->process('global/footer.html.tmpl'); $output .= "\n\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 + -