| Attached Files | messageidplaceholder.patch [^] (1,530 bytes) 07-05-08 19:20 [Show Content] [Hide Content]# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: phplist/public_html/lists/admin/sendemaillib.php
--- phplist/public_html/lists/admin/sendemaillib.php Base (1.42)
+++ phplist/public_html/lists/admin/sendemaillib.php Locally Modified (Based On 1.42)
@@ -161,6 +161,8 @@
$url = getConfig("forwardurl");$sep = ereg('\?',$url)?'&':'?';
$html["forward"] = sprintf('<a href="%s%suid=%s&mid=%d">%s</a>',$url,$sep,$hash,$messageid,$strThisLink);
$text["forward"] = sprintf('%s%suid=%s&mid=%d',$url,$sep,$hash,$messageid);
+ $html["messageid"] = sprintf('%d',$messageid);
+ $text["messageid"] = sprintf('%d',$messageid);
$html["forwardurl"] = sprintf('%s%suid=%s&mid=%d',$url,$sep,$hash,$messageid);
$text["forwardurl"] = $text["forward"];
$url = getConfig("public_baseurl");
@@ -317,6 +319,8 @@
$html['footer'] = $text['footer'];
}
+ $text["footer"] = eregi_replace("\[MESSAGEID\]",$text["messageid"],$text['footer']);
+ $html["footer"] = eregi_replace("\[MESSAGEID\]",$html["messageid"],$html['footer']);
$text["footer"] = eregi_replace("\[SUBSCRIBE\]",$text["subscribe"],$text['footer']);
$html["footer"] = eregi_replace("\[SUBSCRIBE\]",$html["subscribe"],$html['footer']);
$text["footer"] = eregi_replace("\[PREFERENCES\]",$text["preferences"],$text["footer"]);
|