includes/template.php
changeset 40 723bb7acf914
parent 36 425261984266
child 53 3dea509d88ae
--- a/includes/template.php	Mon Jul 02 20:33:57 2007 -0400
+++ b/includes/template.php	Tue Jul 03 14:07:35 2007 -0400
@@ -702,9 +702,9 @@
     $tpl_strings = Array(
       'PAGE_NAME'=>htmlspecialchars($paths->cpage['name']),
       'PAGE_URLNAME'=> $urlname_clean,
-      'SITE_NAME'=>getConfig('site_name'),
+      'SITE_NAME'=>htmlspecialchars(getConfig('site_name')),
       'USERNAME'=>$session->username,
-      'SITE_DESC'=>getConfig('site_desc'),
+      'SITE_DESC'=>htmlspecialchars(getConfig('site_desc')),
       'TOOLBAR'=>$tb,
       'SCRIPTPATH'=>scriptPath,
       'CONTENTPATH'=>contentPath,