faq.comsenz.com 链接去除

This commit is contained in:
Comsenz 2017-08-07 09:10:04 +08:00
parent 89c1963c46
commit c81b5c99fd
2 changed files with 2 additions and 11 deletions

View File

@ -273,10 +273,6 @@ EOT;
$helplink = '';
if($type == 'db') {
$helplink = "http://faq.comsenz.com/?type=mysql&dberrno=".rawurlencode(DB::errno())."&dberror=".rawurlencode(str_replace(DB::object()->tablepre, '', DB::error()));
$helplink = "<a href=\"$helplink\" target=\"_blank\"><span class=\"red\">Need Help?</span></a>";
}
$endmsg = lang('error', 'error_end_message', array('host'=>$host));
echo <<<EOT

View File

@ -747,12 +747,7 @@ function showsetting($setname, $varname, $value, $type = 'radio', $disabled = ''
return;
}
if(!isset($_G['showsetting_multi'])) {
if(!$nofaq) {
$faqurl = 'http://faq.comsenz.com?type=admin&ver='.$_G['setting']['version'].'&action='.rawurlencode($_GET['action']).'&operation='.rawurlencode($_GET['operation']).'&key='.rawurlencode($setname);
showtablerow($noborder.'onmouseover="setfaq(this, \'faq'.$setid.'\')"', 'colspan="2" class="td27" s="1"', $name.'<a id="faq'.$setid.'" class="faq" title="'.cplang('setting_faq_title').'" href="'.$faqurl.'" target="_blank" style="display:none">&nbsp;&nbsp;&nbsp;</a>');
} else {
showtablerow('', 'colspan="2" class="td27" s="1"', $name);
}
} else {
if(empty($_G['showsetting_multijs'])) {
$_G['setting_JS'] .= 'var ss = new Array();';