/**
* html.php
*
- * Copyright (c) 1999-2004 The SquirrelMail Project Team
+ * Copyright (c) 1999-2005 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* The idea is to inlcude here some functions to make easier
}
if ( $val <> '' ) {
- $ret .= ">$val</$tag>";
+ $ret .= ">$val</$tag>\n";
} else {
- $ret .= '>';
+ $ret .= '>'. "\n";
}
return( $ret );
} else {
$rpl = '';
}
+ if( substr($v,-1)=='&' ) {
+ $rpl .= '&';
+ }
$pat = "/$k=$v/";
$url = preg_replace($pat,$rpl,$url);
}