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

📄 create.html.tmpl

📁 buzilla软件
💻 TMPL
📖 第 1 页 / 共 2 页
字号:
       %]      <noscript>(Leave blank to assign to component's default assignee)</noscript>    </td>  </tr>  [% IF Param("useqacontact") %]    <tr>      <td align="right"><strong>QA Contact:</strong></td>      <td colspan="2">      [% INCLUDE global/userselect.html.tmpl         name => "qa_contact"         value => qa_contact         disabled => qa_contact_disabled         size => 32         emptyok => 1       %]        <noscript>(Leave blank to assign to default qa contact)</noscript>      </td>    </tr>[% END %]  <tr>    <td align="right"><strong>Cc:</strong></td>    <td colspan="2">      [% INCLUDE global/userselect.html.tmpl         name => "cc"         value => cc         disabled => cc_disabled         size => 45         multiple => 5       %]    </td>  </tr>  <tr>    <th align="right">Default CC:</th>    <td colspan="2">      <div id="initial_cc">          <!-- This has to happen after everything above renders,               and onload doesn't work. So this is as good a place               as any to put it. -->          <script type="text/javascript">set_assign_to();</script>      </div>   </td>  </tr>    <tr>    <td>&nbsp;</td>    <td colspan="2"></td>  </tr>[% IF user.in_group(Param('timetrackinggroup')) %]  <tr>    <td align="right"><strong>Estimated Hours:</strong></td>    <td colspan="2">      <input name="estimated_time" size="6" maxlength="6" value="0.0">    </td>  </tr>  <tr>    <td align="right"><strong>Deadline:</strong></td>    <td colspan="2">      <input name="deadline" size="10" maxlength="10" value="[% deadline FILTER html %]">      <small>(YYYY-MM-DD)</small>    </td>  </tr>  <tr>    <td>&nbsp;</td>    <td colspan="2"></td>  </tr>[% END %][% IF Param("usebugaliases") %]  <tr>    <td align="right"><strong>Alias:</strong></td>    <td colspan="2">      <input name="alias" size="20">    </td>  </tr>[% END %]  <tr>    <td align="right"><strong>URL:</strong></td>    <td colspan="2">      <input name="bug_file_loc" size="60"             value="[% bug_file_loc FILTER html %]">    </td>  </tr>  [% USE Bugzilla %]  [% FOREACH field = Bugzilla.get_fields({ obsolete => 0, custom => 1,                                            enter_bug => 1 }) %]    [% SET value = ${field.name}.defined ? ${field.name} : "" %]    <tr>      [% PROCESS bug/field.html.tmpl editable=1 value_span=2 %]    </tr>  [% END %]  <tr>    <td align="right"><strong>Summary:</strong></td>    <td colspan="2">      <input name="short_desc" size="60" value="[% short_desc FILTER html %]"             maxlength="255">    </td>  </tr>  <tr><td align="right" valign="top"><strong>Description:</strong></td>    <td colspan="3">      [% defaultcontent = BLOCK %]        [% IF cloned_bug_id %]+++ This [% terms.bug %] was initially created as a clone of [% terms.Bug %] #[% cloned_bug_id %] +++        [% END %]        [%-# We are within a BLOCK. The comment will be correctly HTML-escaped          # by global/textarea.html.tmpl. So we must not escape the comment here. %]        [% comment FILTER none %]      [%- END %]      [% INCLUDE global/textarea.html.tmpl         name           = 'comment'         id             = 'comment'         minrows        = 10         maxrows        = 25         cols           = constants.COMMENT_COLS         defaultcontent = defaultcontent       %]      <br>    </td>  </tr>  [% IF Param("insidergroup") && user.in_group(Param("insidergroup")) %]    <tr>      <td></td>      <td colspan="3">        &nbsp;&nbsp;        <input type="checkbox" id="commentprivacy" name="commentprivacy"          [% " checked=\"checked\"" IF commentprivacy %]>        <label for="commentprivacy">          Initial Description is Private        </label>      </td>    </tr>  [% END %]  <tr>    <th align="right" valign="top">Attachment:</th>    <td colspan="3">      <script type="text/javascript">        <!--        document.write( '<div id="attachment_false">'                      +   '<input type="button" value="Add an attachment" '                      +          'onClick="handleWantsAttachment(true)"> '                      +   '<em style="display: none">This button has no '                      +   'functionality for you because your browser does '                      +   'not support CSS or does not use it.<\/em>'                      + '<\/div>'                      + '<div id="attachment_true" style="display: none">'                      +   '<input type="button" '                      +          'value="Don\'t add an attachment " '                      +          'onClick="handleWantsAttachment(false)">');        //-->      </script>        <fieldset>          <legend>Add an attachment</legend>          <table class="attachment_entry">            [% PROCESS attachment/createformcontents.html.tmpl                       flag_types = product.flag_types.attachment                       any_flags_requesteeble = 1                       flag_table_id ="attachment_flags" %]          </table>        </fieldset>      <script type="text/javascript">        <!--        document.write('<\/div>');        //-->      </script>    </td>  </tr>  [% IF user.in_group('editbugs', product.id) %]    [% IF use_keywords %]      <tr>        <td align="right" valign="top">          <strong>            <a href="describekeywords.cgi">Keywords</a>:          </strong>        </td>        <td colspan="3">          <input name="keywords" size="60" value="[% keywords FILTER html %]"> (optional)        </td>      </tr>    [% END %]    <tr>      <td align="right">        <strong>Depends on:</strong>      </td>      <td>        <input name="dependson" accesskey="d" value="[% dependson FILTER html %]">      </td>    </tr>    <tr>      <td align="right">        <strong>Blocks:</strong>      </td>      <td>        <input name="blocked" accesskey="b" value="[% blocked FILTER html %]">      </td>    </tr>  [% END %]  <tr>    <td></td>    <td colspan="3">    [% IF group.size %]      <br>        <strong>          Only users in all of the selected groups can view this [% terms.bug %]:        </strong>      <br>      <font size="-1">        (Leave all boxes unchecked to make this a public [% terms.bug %].)      </font>      <br>      <br>      <!-- Checkboxes -->      [% FOREACH g = group %]        &nbsp;&nbsp;&nbsp;&nbsp;        <input type="checkbox" id="bit-[% g.bit %]"          name="bit-[% g.bit %]" value="1"          [% " checked=\"checked\"" IF g.checked %]>          <label for="bit-[% g.bit %]">[% g.description FILTER html_light %]</label><br>      [% END %]      <br>    [% END %]    </td>  </tr>  [%# Form controls for entering additional data about the bug being created. %]  [% Hook.process("form") %]  <tr>    <td></td>    <td colspan="3">      <input type="submit" id="commit" value="    Commit    "             onclick="if (this.form.short_desc.value == '')             { alert('Please enter a summary sentence for this [% terms.bug %].');               return false; } return true;">      &nbsp;&nbsp;&nbsp;&nbsp;      <input type="submit" name="maketemplate" id="maketemplate"             value="Remember values as bookmarkable template">    </td>  </tr>[% UNLESS (Param('defaultplatform') && Param('defaultopsys')) %]  <tr>    <td></td>    <td colspan="3">      <br>      We've made a guess at your  [% IF Param('defaultplatform') %]      operating system. Please check it  [% ELSIF Param('defaultopsys') %]      platform. Please check it  [% ELSE %]      operating system and platform. Please check them  [% END %]      and, if we got it wrong, email      [%+ Param('maintainer') %].    </td>  </tr>[% END %]  </table>  <input type="hidden" name="form_name" value="enter_bug"></form>[%# Links or content with more information about the bug being created. %][% Hook.process("end") %][% PROCESS global/footer.html.tmpl %][%############################################################################%][%# Block for SELECT fields                                                  #%][%############################################################################%][% BLOCK select %]  [% IF sel.description %]  <td align="right">    <strong>      <a href="page.cgi?id=fields.html#[% sel.name %]">        [% sel.description %]</a>:    </strong>  </td>  [% END %]  <td>    <select name="[% sel.name %]">    [%- FOREACH x = ${sel.name} %]      <option value="[% x FILTER html %]"        [% " selected=\"selected\"" IF x == default.${sel.name} %]>        [% IF sel.name == "bug_status" %]          [% status_descs.$x FILTER html %]        [% ELSE %]          [% x FILTER html %]        [% END %]</option>    [% END %]    </select>  </td>[% END %]

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -