?? createformcontents.html.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1150586676', 'name' => 'attachment/createformcontents.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<tr>\n <th><label for=\"data\">File</label>:</th>\n <td>\n <em>Enter the path to the file on your computer.</em><br>\n <input type=\"file\" id=\"data\" name=\"data\" size=\"50\""; #line 32 "template\en\default\attachment\createformcontents.html.tmpl" if ($stash->get(['Param', [ 'allow_attach_url' ]])) { $output .= "\n onchange=\"DataFieldHandler()\" "; } $output .= "\n >\n </td>\n</tr>"; #line 47 "template\en\default\attachment\createformcontents.html.tmpl" if ($stash->get(['Param', [ 'maxlocalattachment' ]])) { $output .= "\n<tr>\n <th>BigFile:</th>\n <td>\n <input type=\"checkbox\" id=\"bigfile\"\n name=\"bigfile\" value=\"bigfile\">\n <label for=\"bigfile\">\n Big File - Stored locally and may be purged\n </label>\n </td>\n</tr>"; } #line 58 "template\en\default\attachment\createformcontents.html.tmpl" if ($stash->get(['Param', [ 'allow_attach_url' ]])) { $output .= "\n<tr>\n <th><label for=\"attachurl\">AttachURL</label>:</th>\n <td>\n <em>URL to be attached instead.</em><br>\n <input type=\"text\" id=\"attachurl\" name=\"attachurl\" size=\"60\" \n maxlength=\"2000\"\n onkeyup=\"URLFieldHandler()\" onblur=\"URLFieldHandler()\">\n </td>\n</tr>"; } $output .= "\n<tr>\n <th><label for=\"description\">Description</label>:</th>\n <td>\n <em>Describe the attachment briefly.</em><br>\n <input type=\"text\" id=\"description\" name=\"description\" size=\"60\" maxlength=\"200\">\n </td>\n</tr>\n<tr>\n <th>Content Type:</th>\n <td>\n <em>If the attachment is a patch, check the box below.</em><br>\n <input type=\"checkbox\" id=\"ispatch\" name=\"ispatch\" value=\"1\"\n onchange=\"setContentTypeDisabledState(this.form);\">\n <label for=\"ispatch\">patch</label><br><br>\n\n <em>Otherwise, choose a method for determining the content type.</em><br>\n <input type=\"radio\" id=\"autodetect\"\n name=\"contenttypemethod\" value=\"autodetect\" checked=\"checked\">\n <label for=\"autodetect\">auto-detect</label><br>\n <input type=\"radio\" id=\"list\"\n name=\"contenttypemethod\" value=\"list\">\n <label for=\"list\">select from list</label>:\n <select name=\"contenttypeselection\" id=\"contenttypeselection\"\n onchange=\"this.form.contenttypemethod[1].checked = true;\">"; #line 83 "template\en\default\attachment\createformcontents.html.tmpl" $output .= $context->process('attachment/content-types.html.tmpl'); $output .= "\n </select><br>\n <input type=\"radio\" id=\"manual\"\n name=\"contenttypemethod\" value=\"manual\">\n <label for=\"manual\">enter manually</label>:\n <input type=\"text\" name=\"contenttypeentry\" id=\"contenttypeentry\"\n size=\"30\" maxlength=\"200\"\n onchange=\"if (this.value) this.form.contenttypemethod[2].checked = true;\">\n </td>\n</tr>\n<tr>\n <td> </td>\n <td>"; #line 98 "template\en\default\attachment\createformcontents.html.tmpl" if ($stash->get('flag_types') && $stash->get(['flag_types', 0, 'size', 0]) > 0) { #line 97 "template\en\default\attachment\createformcontents.html.tmpl" $output .= $context->process('flag/list.html.tmpl', { 'bug_id' => $stash->get('bugid'), 'attach_id' => $stash->get('attachid') }); $output .= "<br>"; } $output .= "\n </td>\n</tr>\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 + -