[Comoblog-commit] modules/mod_remove_footer/include mod_remove_footer.inc.php,NONE,1.1
Status: Inactive
Brought to you by:
markwallis
|
From: iamdecal <iam...@us...> - 2005-11-28 11:24:23
|
Update of /cvsroot/comoblog/modules/mod_remove_footer/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21899/mod_remove_footer/include Added Files: mod_remove_footer.inc.php Log Message: initial add mod_remove_footer, Remove sponsor footer from mail body: you can simply use a terminator string (i.e. ###END###) at the end of your posts: all text after the terminator will be stripped from mail body. this was an original easy moblog module --- NEW FILE: mod_remove_footer.inc.php --- <?php function mod_remove_footer ($body) { if (CFG_REMOVE_FOOTER_TERMINATOR == '') return ($body); $body = explode(CFG_REMOVE_FOOTER_TERMINATOR, $body); $body = trim($body[0]); return ($body); } ?> |