* This code provides various string manipulation functions that are
* used by the rest of the SquirrelMail code.
*
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright © 1999-2007 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
$target_pos = strlen($check_str) + $start;
}
- /* If there was a token to replace, replace it */
- if ($target_token == 'mailto:') { // rfc 2368 (mailto URL)
+ // rfc 2368 (mailto URL)
+ if ($target_token == 'mailto:') {
$target_pos += 7; //skip mailto:
$end = $blength;
}
}
else
+ /* If there was a token to replace, replace it */
if ($target_token != '') {
/* Find the end of the URL */
$end = $blength;