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

📄 saved-searches.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1104003588',        'name' => 'account/prefs/saved-searches.html.tmpl',    },    BLOCK => sub {        my $context = shift || die "template sub called without context\n";        my $stash   = $context->stash;        my $output  = '';        my $error;                eval { BLOCK: {    $output .=  "\n";    $output .=  "\n\n<p>Your saved searches are as follows:</p>\n\n<blockquote>\n  <table border=\"1\" cellpadding=\"3\">  \n    <tr>\n      <th>\n        Search\n      </th>\n      <th>\n        Run\n      </th>\n      <th>\n        Edit\n      </th>\n      <th>\n        Forget\n      </th>\n      <th>\n        Show in\n        Footer\n      </th>\n    </tr>\n    <tr>\n      <td>My Bugs</td>\n      <td>";    #line 48 "template\en\default\account\prefs\saved-searches.html.tmpl"        # CAPTURE    $stash->set('filtered_username', do {        my $output = '';        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get(['user', 0, 'login', 0]);                &$filter($output);    };            $output;    });        $output .=  "\n        <a href=\"";    #line 49 "template\en\default\account\prefs\saved-searches.html.tmpl"    $output .=  $stash->get(['Param', [ 'mybugstemplate' ], 'replace', [ '%userid%', $stash->get('filtered_username') ]]);    $output .=  "\">Run</a>\n      </td>\n      <td>\n        &nbsp;\n      </td>\n      <td>\n        &nbsp;\n      </td>\n      <td align=\"center\">\n        <input type=\"checkbox\" \n               name=\"showmybugslink\"\n               value=\"1\"";    #line 62 "template\en\default\account\prefs\saved-searches.html.tmpl"    if ($stash->get(['user', 0, 'showmybugslink', 0])) {    $output .=  ' checked';    }        $output .=  ">\n      </td>\n    </tr>";    #line 89 "template\en\default\account\prefs\saved-searches.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = $stash->get('queries');                unless (UNIVERSAL::isa($list, 'Template::Iterator')) {            $list = Template::Config->iterator($list)                || die $Template::Config::ERROR, "\n";         }            ($value, $error) = $list->get_first();        eval { $oldloop = $stash->get('loop') };        $stash->set('loop', $list);        eval {    LOOP:   while (! $error) {                $stash->{'q'} = $value;    $output .=  "\n      <tr>\n        <td>";    #line 68 "template\en\default\account\prefs\saved-searches.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['q', 0, 'name', 0]);                &$filter($output);    };        $output .=  "</td>\n        <td>\n          <a href=\"buglist.cgi?";    #line 70 "template\en\default\account\prefs\saved-searches.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['q', 0, 'query', 0]);                &$filter($output);    };        $output .=  "\">Run</a>\n        </td>\n        <td>\n          <a href=\"query.cgi?";    #line 73 "template\en\default\account\prefs\saved-searches.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['q', 0, 'query', 0]);                &$filter($output);    };        $output .=  "&known_name=";    #line 73 "template\en\default\account\prefs\saved-searches.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get(['q', 0, 'name', 0]);                &$filter($output);    };        $output .=  "\">Edit</a>\n        </td>\n        <td>\n          <a href=\"buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=";    #line 78 "template\en\default\account\prefs\saved-searches.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['q', 0, 'name', 0]);                &$filter($output);    };        $output .=  "\">Forget</a>\n        </td>\n        <td align=\"center\">\n          <input type=\"checkbox\" \n                 name=\"linkinfooter_";    #line 82 "template\en\default\account\prefs\saved-searches.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['q', 0, 'name', 0]);                &$filter($output);    };        $output .=  "\"\n                 value=\"1\"";    #line 85 "template\en\default\account\prefs\saved-searches.html.tmpl"    if ($stash->get(['q', 0, 'linkinfooter', 0])) {    $output .=  ' checked';    }        $output .=  ">\n        </td>\n      </tr>";;                ($value, $error) = $list->get_next();            }        };        $stash->set('loop', $oldloop);        die $@ if $@;        $error = 0 if $error && $error eq Template::Constants::STATUS_DONE;        die $error if $error;    };        $output .=  "\n  </table>\n</blockquote>\n";        } };        if ($@) {            $error = $context->catch($@, \$output);            die $error unless $error->type eq 'return';        }            return $output;    },    DEFBLOCKS => {    },});

⌨️ 快捷键说明

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