diff --git a/index.php b/index.php index 785bcd4..055fa40 100644 --- a/index.php +++ b/index.php @@ -11,6 +11,17 @@ function sanitize_template_strings($indata){ return preg_replace($sanit_pattern, '', $indata); } +function replaceTemplateTags($content) { + // Add any additional template replacements here + $hash = md5(strtolower(trim($_SESSION['user_email']))); + $gravatarUrl = "https://www.gravatar.com/avatar/$hash?s=100"; + $content = str_replace('