Posts: 7
Name: Velvet Wood
Location: ... in the moment.
|
Here's the whole code with function marker_sub in it...
#
# marker_sub - does substitution for markers, links, emails in templates
#
function marker_sub($line,&$blogEntry,&$blogInfo) {
global $act, $keyw, $trans, $format, $comment_win, $enable_smilies,$baseurl;
if(preg_match("/preview\.php/",$_SERVER['SCRIPT_NAME'])) {
if($_REQUEST['trans']) {
$blogEntry->entryBody = stripslashes(str_to_link($blogEntry->entryBody));
}
}
|