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

📄 ldap-error.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1079626218',        'name' => 'account/auth/ldap-error.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";    $output .=  "\n";    #line 29 "template\en\default\account\auth\ldap-error.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 57 "template\en\default\account\auth\ldap-error.html.tmpl"        # SWITCH    do {        my $result = $stash->get('auth_err_tag');        my $match;        SWITCH: {    $match = 'cannot_retreive_attr';    $match = [ $match ] unless ref $match eq 'ARRAY';    if (grep(/^$result$/, @$match)) {    $output .=  "\n    The specified LDAP attribute ";    #line 33 "template\en\default\account\auth\ldap-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['info', 0, 'attr', 0]);                &$filter($output);    };        $output .=  " was not found.\n";        last SWITCH;    }    $match = 'connect_failed';    $match = [ $match ] unless ref $match eq 'ARRAY';    if (grep(/^$result$/, @$match)) {    $output .=  "\n    An error occurred while trying to connect to the LDAP server.";    #line 42 "template\en\default\account\auth\ldap-error.html.tmpl"    if ($stash->get(['info', 0, 'errstr', 0])) {    $output .=  "\n      The error from the server was: <tt>";    #line 40 "template\en\default\account\auth\ldap-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['info', 0, 'errstr', 0]);                &$filter($output);    };        $output .=  "</tt>.";    }        $output .=  "\n";        last SWITCH;    }    $match = 'no_userid';    $match = [ $match ] unless ref $match eq 'ARRAY';    if (grep(/^$result$/, @$match)) {    #line 45 "template\en\default\account\auth\ldap-error.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugzilla', 0]);    $output .=  " created a new account for you, but then could not find the\n    new userid.\n";        last SWITCH;    }    $match = 'server_not_defined';    $match = [ $match ] unless ref $match eq 'ARRAY';    if (grep(/^$result$/, @$match)) {    $output .=  "\n    The LDAP server for authentication has not been defined.\n";        last SWITCH;    }    $output .=  "\n    Unhandled authentication error: <tt>";    #line 54 "template\en\default\account\auth\ldap-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('auth_err_tag');                &$filter($output);    };        $output .=  "</tt>\n";        }    };        $output .=  "\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 + -