Changeset 6210

Show
Ignore:
Timestamp:
07/04/06 10:59:34 (2 years ago)
Author:
GamerZ
Message:

Added rel="nofollow"

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wp-email/trunk/email/email.php

    r6112 r6210  
    44Plugin URI: http://www.lesterchan.net/portfolio/programming.php 
    55Description: Enable You To Send Your Webblog Entry To A Friend. 
    6 Version: 2.06 
     6Version: 2.07 
    77Author: GaMerZ 
    88Author URI: http://www.lesterchan.net 
     
    8686      if(!empty($using_permalink)) { 
    8787            if(is_page()) { 
    88                   echo '<a href="'.$permalink.'emailpage/" title="'.$text_page.'">'.$text_page.'</a>'; 
    89             } else { 
    90                   echo '<a href="'.$permalink.'email/" title="'.$text_post.'">'.$text_post.'</a>'; 
    91             } 
    92       } else { 
    93             echo '<a href="'.$permalink.'&amp;email=1" title="'.$text_post.'">'.$text_post.'</a>'; 
     88                  echo '<a href="'.$permalink.'emailpage/" title="'.$text_page.'" rel="nofollow">'.$text_page.'</a>'; 
     89            } else { 
     90                  echo '<a href="'.$permalink.'email/" title="'.$text_post.'" rel="nofollow">'.$text_post.'</a>'; 
     91            } 
     92      } else { 
     93            echo '<a href="'.$permalink.'&amp;email=1" title="'.$text_post.'" rel="nofollow">'.$text_post.'</a>'; 
    9494      } 
    9595} 
     
    108108      if(!empty($using_permalink)) { 
    109109            if(is_page()) { 
    110                   echo '<a href="'.$permalink.'emailpage/" title="EMail This Page">'.$email_image.'</a>'; 
    111             } else { 
    112                   echo '<a href="'.$permalink.'email/" title="EMail This Post">'.$email_image.'</a>'; 
    113             } 
    114       } else { 
    115             echo '<a href="'.$permalink.'&amp;email=1" title="EMail This Post/Page">'.$email_image.'</a>'; 
     110                  echo '<a href="'.$permalink.'emailpage/" title="EMail This Page" rel="nofollow">'.$email_image.'</a>'; 
     111            } else { 
     112                  echo '<a href="'.$permalink.'email/" title="EMail This Post" rel="nofollow">'.$email_image.'</a>'; 
     113            } 
     114      } else { 
     115            echo '<a href="'.$permalink.'&amp;email=1" title="EMail This Post/Page" rel="nofollow">'.$email_image.'</a>'; 
    116116      } 
    117117} 
     
    122122      global $id; 
    123123      if(is_page()) { 
    124             echo '<a href="'.get_settings('home').'/wp-content/plugins/email/wp-email-popup.php?page_id='.$id.'" onclick="email_popup(this.href); return false" title="'.$text_page.'">'.$text_page.'</a>'; 
    125       } else { 
    126             echo '<a href="'.get_settings('home').'/wp-content/plugins/email/wp-email-popup.php?p='.$id.'" onclick="email_popup(this.href); return false" title="'.$text_post.'">'.$text_post.'</a>'; 
     124            echo '<a href="'.get_settings('home').'/wp-content/plugins/email/wp-email-popup.php?page_id='.$id.'" onclick="email_popup(this.href); return false" title="'.$text_page.'" rel="nofollow">'.$text_page.'</a>'; 
     125      } else { 
     126            echo '<a href="'.get_settings('home').'/wp-content/plugins/email/wp-email-popup.php?p='.$id.'" onclick="email_popup(this.href); return false" title="'.$text_post.'" rel="nofollow">'.$text_post.'</a>'; 
    127127      } 
    128128} 
     
    138138      } 
    139139      if(is_page()) { 
    140             echo '<a href="'.get_settings('home').'/wp-content/plugins/email/wp-email-popup.php?page_id='.$id.'" onclick="email_popup(this.href); return false" title="EMail This Page">'.$email_image.'</a>'; 
    141       } else { 
    142             echo '<a href="'.get_settings('home').'/wp-content/plugins/email/wp-email-popup.php?p='.$id.'" onclick="email_popup(this.href); return false" title="EMail This Post">'.$email_image.'</a>'; 
     140            echo '<a href="'.get_settings('home').'/wp-content/plugins/email/wp-email-popup.php?page_id='.$id.'" onclick="email_popup(this.href); return false" title="EMail This Page" rel="nofollow">'.$email_image.'</a>'; 
     141      } else { 
     142            echo '<a href="'.get_settings('home').'/wp-content/plugins/email/wp-email-popup.php?p='.$id.'" onclick="email_popup(this.href); return false" title="EMail This Post" rel="nofollow">'.$email_image.'</a>'; 
    143143      } 
    144144} 
  • wp-email/trunk/email/wp-email-popup.php

    r6084 r6210  
    33+----------------------------------------------------------------+ 
    44|                                                                                                                                         | 
    5 |     WordPress 2.0 Plugin: WP-EMail 2.05                                                           | 
     5|     WordPress 2.0 Plugin: WP-EMail 2.07                                                           | 
    66|     Copyright (c) 2005 Lester "GaMerZ" Chan                                                   | 
    77|                                                                                                                                         | 
     
    4343<head profile="http://gmpg.org/xfn/11"> 
    4444      <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> 
    45       <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />    
     45      <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> 
     46      <meta name="robots" content="noindex, nofollow" /> 
    4647      <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title> 
    4748      <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> 
  • wp-email/trunk/readme.html

    r6112 r6210  
    33<head>       
    44      <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
    5       <title>WP-EMail 2.06 Readme</title> 
     5      <title>WP-EMail 2.07 Readme</title> 
    66      <style type="text/css" media="screen"> 
    77            /* Default Style */ 
     
    181181<div id="Container"> 
    182182      <!-- Title --> 
    183       <div id="Title">WP-EMail 2.06&nbsp;&nbsp;&nbsp;<span style="color: #aaaaaa;">Readme</span></div> 
     183      <div id="Title">WP-EMail 2.07&nbsp;&nbsp;&nbsp;<span style="color: #aaaaaa;">Readme</span></div> 
    184184 
    185185      <!-- Tabs --> 
     
    202202                        <script type="text/javascript"> 
    203203                              /* <![CDATA[*/ 
    204                               document.write(' <a href="mailto:gamerz84@hotmail.com?Subject=WP-EMail%202.06%20Support" title="EMail To gamerz84@hotmail.com">gamerz84@hotmail.com</a>'); 
     204                              document.write(' <a href="mailto:gamerz84@hotmail.com?Subject=WP-EMail%202.07%20Support" title="EMail To gamerz84@hotmail.com">gamerz84@hotmail.com</a>'); 
    205205                              /* ]]> */ 
    206206                        </script> 
     
    211211                  <p><b>Development:</b><br /><b>&raquo;</b> <a href="http://dev.wp-plugins.org/browser/wp-email/" title="http://dev.wp-plugins.org/browser/wp-email/">http://dev.wp-plugins.org/browser/wp-email/</a></p> 
    212212                  <p><b>Support Forums:</b><br /><b>&raquo;</b> <a href="http://forums.lesterchan.net/viewforum.php?f=13" title="http://forums.lesterchan.net/viewforum.php?f=13">http://forums.lesterchan.net/viewforum.php?f=13</a></p> 
    213                   <p><b>Updated:</b><br /><b>&raquo;</b> 1st July 2006</p> 
     213                  <p><b>Updated:</b><br /><b>&raquo;</b> 1st August 2006</p> 
    214214                  <div class="SubSubTitle">Changelog</div> 
    215215                  <ul> 
     216                        <li> 
     217                              <b>Version 2.07 (01-08-2006)</b> 
     218                              <ul> 
     219                                    <li>NEW: Added rel="nofollow" To All Links Generated By WP-EMail</li> 
     220                                    <li>NEW: Added noindex, nofollow To Robots Meta Tag In wp-email-popup.php</li> 
     221                              </ul> 
     222                        </li> 
    216223                        <li> 
    217224                              <b>Version 2.06 (01-07-2006)</b> 
     
    347354            <div id="Upgrade" style="display: none;"> 
    348355                  <div class="SubTitle">&raquo; Upgrade Instructions</div> 
    349                   <div class="SubSubTitle">From v2.0x To v2.06</div> 
     356                  <div class="SubSubTitle">From v2.0x To v2.07</div> 
    350357                  <ol> 
    351358                        <li> 
     
    366373                        </li> 
    367374                  </ol> 
    368                   <div class="SubSubTitle">From v1.0x To v2.06</div> 
     375                  <div class="SubSubTitle">From v1.0x To v2.07</div> 
    369376                  <ol> 
    370377                        <li> 
     
    482489      </div> 
    483490</div> 
    484 <p id="Copyright">WP-EMail 2.06<br />Copyright &copy; 2006 Lester 'GaMerZ' Chan. All Rights Reserved.</p> 
     491<p id="Copyright">WP-EMail 2.07<br />Copyright &copy; 2006 Lester 'GaMerZ' Chan. All Rights Reserved.</p> 
    485492</body> 
    486493</html>