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

📄 useful-links.html.tmpl

📁 buzilla软件
💻 TMPL
📖 第 1 页 / 共 2 页
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1185338982',        'name' => 'global/useful-links.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 27 "template\en\default\global\useful-links.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n\n<ul id=\"useful-links\">\n  <li id=\"links-actions\">\n    <div class=\"label\">Actions: </div>";    #line 32 "template\en\default\global\useful-links.html.tmpl"    $output .=  $context->process('global/common-links.html.tmpl', { 'btn_id' => 'find_bottom' });    $output .=  "\n  </li>\n\n  ";    #line 92 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get(['user', 0, 'login', 0]) && ($stash->get(['user', 0, 'groups', 0, 'tweakparams', 0]) || $stash->get(['user', 0, 'groups', 0, 'editusers', 0]) || $stash->get(['user', 0, 'can_bless', 0]) || ($stash->get(['Param', [ 'useclassification' ]]) && $stash->get(['user', 0, 'groups', 0, 'editclassifications', 0])) || $stash->get(['user', 0, 'groups', 0, 'editcomponents', 0]) || $stash->get(['user', 0, 'groups', 0, 'admin', 0]) || $stash->get(['user', 0, 'groups', 0, 'creategroups', 0]) || $stash->get(['user', 0, 'get_products_by_permission', [ 'editcomponents' ], 'size', 0]) || $stash->get(['user', 0, 'groups', 0, 'editkeywords', 0]) || $stash->get(['user', 0, 'groups', 0, 'bz_canusewhines', 0]))) {    $output .=  "\n";    #line 44 "template\en\default\global\useful-links.html.tmpl"    $stash->set('print_pipe', 0);        $output .=  "\n    <li id=\"links-edit\">\n      <div class=\"label\">Edit: </div>\n      <ul class=\"links\">";    #line 52 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get(['user', 0, 'groups', 0, 'tweakparams', 0])) {    $output .=  "\n          <li>";    #line 49 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get('print_pipe')) {    $output .=  '<span class="separator">| </span>';    }        $output .=  "<a href=\"editparams.cgi\">Parameters</a></li>";    #line 50 "template\en\default\global\useful-links.html.tmpl"    $stash->set('print_pipe', 1);        $output .=  "\n          <li>";    #line 51 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get('print_pipe')) {    $output .=  '<span class="separator">| </span>';    }        $output .=  "<a href=\"editsettings.cgi\">Default Preferences</a></li>";    }        #line 56 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get(['user', 0, 'groups', 0, 'editcomponents', 0])) {    $output .=  "\n          <li>";    #line 54 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get('print_pipe')) {    $output .=  '<span class="separator">| </span>';    }        $output .=  "<a href=\"sanitycheck.cgi\">Sanity Check</a></li>";    #line 55 "template\en\default\global\useful-links.html.tmpl"    $stash->set('print_pipe', 1);        }        #line 60 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get(['user', 0, 'groups', 0, 'editusers', 0]) || $stash->get(['user', 0, 'can_bless', 0])) {    $output .=  "\n          <li>";    #line 58 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get('print_pipe')) {    $output .=  '<span class="separator">| </span>';    }        $output .=  "<a href=\"editusers.cgi\">Users</a></li>";    #line 59 "template\en\default\global\useful-links.html.tmpl"    $stash->set('print_pipe', 1);        }        #line 64 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get(['Param', [ 'useclassification' ]]) && $stash->get(['user', 0, 'groups', 0, 'editclassifications', 0])) {    $output .=  "\n          <li>";    #line 62 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get('print_pipe')) {    $output .=  '<span class="separator">| </span>';    }        $output .=  "<a href=\"editclassifications.cgi\">Classifications</a></li>";    #line 63 "template\en\default\global\useful-links.html.tmpl"    $stash->set('print_pipe', 1);        }        #line 68 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get(['user', 0, 'groups', 0, 'editcomponents', 0]) || $stash->get(['user', 0, 'get_products_by_permission', [ 'editcomponents' ], 'size', 0])) {    $output .=  "\n          <li>";    #line 66 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get('print_pipe')) {    $output .=  '<span class="separator">| </span>';    }        $output .=  "<a href=\"editproducts.cgi\">Products</a></li>";    #line 67 "template\en\default\global\useful-links.html.tmpl"    $stash->set('print_pipe', 1);        }        #line 72 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get(['user', 0, 'groups', 0, 'editcomponents', 0])) {    $output .=  "\n          <li>";    #line 70 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get('print_pipe')) {    $output .=  '<span class="separator">| </span>';    }        $output .=  "<a href=\"editflagtypes.cgi\">Flags</a></li>";    #line 71 "template\en\default\global\useful-links.html.tmpl"    $stash->set('print_pipe', 1);        }        #line 77 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get(['user', 0, 'groups', 0, 'admin', 0])) {    $output .=  "\n          <li>";    #line 74 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get('print_pipe')) {    $output .=  '<span class="separator">| </span>';    }        $output .=  "<a href=\"editfields.cgi\">Custom Fields</a></li>";    #line 75 "template\en\default\global\useful-links.html.tmpl"    $stash->set('print_pipe', 1);        $output .=  "\n          <li>";    #line 76 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get('print_pipe')) {    $output .=  '<span class="separator">| </span>';    }        $output .=  "<a href=\"editvalues.cgi\">Field Values</a></li>";    }        #line 81 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get(['user', 0, 'groups', 0, 'creategroups', 0])) {    $output .=  "\n          <li>";    #line 79 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get('print_pipe')) {    $output .=  '<span class="separator">| </span>';    }        $output .=  "<a href=\"editgroups.cgi\">Groups</a></li>";    #line 80 "template\en\default\global\useful-links.html.tmpl"    $stash->set('print_pipe', 1);        }        #line 85 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get(['user', 0, 'groups', 0, 'editkeywords', 0])) {    $output .=  "\n          <li>";    #line 83 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get('print_pipe')) {    $output .=  '<span class="separator">| </span>';    }        $output .=  "<a href=\"editkeywords.cgi\">Keywords</a></li>";    #line 84 "template\en\default\global\useful-links.html.tmpl"    $stash->set('print_pipe', 1);        }        #line 89 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get(['user', 0, 'groups', 0, 'bz_canusewhines', 0])) {    $output .=  "\n          <li>";    #line 87 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get('print_pipe')) {    $output .=  '<span class="separator">| </span>';    }        $output .=  "<a href=\"editwhines.cgi\">Whining</a></li>";    #line 88 "template\en\default\global\useful-links.html.tmpl"    $stash->set('print_pipe', 1);        }        $output .=  "\n      </ul>\n    </li>";    }        $output .=  "\n    \n    ";    $output .=  "\n    ";    #line 137 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get(['user', 0, 'showmybugslink', 0]) || $stash->get(['user', 0, 'queries', 0, 'size', 0]) || $stash->get(['user', 0, 'queries_subscribed', 0, 'size', 0])) {    #line 99 "template\en\default\global\useful-links.html.tmpl"    $stash->set('print_pipe', 0);        $output .=  "\n    <li id=\"links-saved\">\n      <div class=\"label\">\n        Saved Searches:\n      </div>\n      <ul class=\"links\">";    #line 109 "template\en\default\global\useful-links.html.tmpl"    if ($stash->get(['user', 0, 'showmybugslink', 0])) {    #line 106 "template\en\default\global\useful-links.html.tmpl"        # CAPTURE    $stash->set('filtered_username', do {        my $output = '';        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get(['user', 0, 'login', 0]);                &$_tt_filter($output);    };            $output;    });        $output .=  "\n          <li><a href=\"";    #line 107 "template\en\default\global\useful-links.html.tmpl"    $output .=  $stash->get(['Param', [ 'mybugstemplate' ], 'replace', [ '%userid%', $stash->get('filtered_username') ]]);

⌨️ 快捷键说明

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