Phpwind Close Account

Source: Internet
Author: User

Phpwind's account function has long since expired, but the homepage link has been there, causing a very bad impact

But the background to open the account through the function and can't open, so think of in front of the template by blocking this part of the code to hide this function in the home page display

1. Open/tmaplate/wind/header_login.html to find the following code snippet and comment out

<Divclass= "Tar P5"style= "HEIGHT:23PX;">        <ahref= "javascript:;"onclick= "$windowOpenScript"class= "Sina_ico png_bg">{$firstWay [' accounttitle ']} login</a><!--EOT; if ($loginWays) {print <<<eot -<!--EOT; foreach ($loginWays as $restWay) {$windowOpenScript = Weibologinviewhelper_windowopenscript ($restWay [' type ']); Print <<<eot -    <a title= "Use {$restWay [' Accounttitle ']} to log on to" href= "javascript:;" onclick= "$windowOpenScript" class= "Qq_ico MR5        PNG_BG ">{$restWay [' Accounttitle ']} login </a><!--EOT; }print <<<eot -<!--EOT;    $GLOBALS [' db_menuinit ']. = ", ' weibo_login ': ' Menu_weibo_login '"; }print <<<eot -</Div>

2. Open/tmaplate/your template name/header_login.htm, find the following code snippet and comment

<Divclass= "Tar P5"style= "HEIGHT:23PX;">        <ahref= "javascript:;"onclick= "$windowOpenScript"class= "Sina_ico png_bg">{$firstWay [' accounttitle ']} login</a><!--EOT; if ($loginWays) {print <<<eot -<!--EOT; foreach ($loginWays as $restWay) {$windowOpenScript = Weibologinviewhelper_windowopenscript ($restWay [' type ']); Print <<<eot -    <!--<a title= "Use {$restWay [' Accounttitle ']} to log on to" href= "javascript:;" onclick= "$windowOpenScript" class= "Qq_ico MR5        PNG_BG ">{$restWay [' Accounttitle ']} login </a><!--EOT; }print <<<eot -<!--EOT;    $GLOBALS [' db_menuinit ']. = ", ' weibo_login ': ' Menu_weibo_login '"; }print <<<eot -</Div>

3. Open/mode/area/tmplate/m_header.htm to find the following code snippet and comment

<Divclass= "Tar P5"style= "HEIGHT:23PX;">        <ahref= "javascript:;"onclick= "$windowOpenScript"class= "Sina_ico png_bg">{$firstWay [' accounttitle ']} login</a><!--EOT; if ($loginWays) {print <<<eot -<!--EOT; foreach ($loginWays as $restWay) {$windowOpenScript = Weibologinviewhelper_windowopenscript ($restWay [' type ']); Print <<<eot -    <!--<a title= "Use {$restWay [' Accounttitle ']} to log on to" href= "javascript:;" onclick= "$windowOpenScript" class= "Qq_ico MR5        PNG_BG ">{$restWay [' Accounttitle ']} login </a><!--EOT; }print <<<eot -<!--EOT;    $GLOBALS [' db_menuinit ']. = ", ' weibo_login ': ' Menu_weibo_login '"; }print <<<eot -</Div>

At this point, the homepage of the account for quick landing to remove the completion

Phpwind Close Account

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.