includes/template.php
changeset 40 723bb7acf914
parent 36 425261984266
child 53 3dea509d88ae
equal deleted inserted replaced
39:c83ff194977a 40:723bb7acf914
   700       $js_dynamic .= "\n    //]]>\n    </script>";
   700       $js_dynamic .= "\n    //]]>\n    </script>";
   701       
   701       
   702     $tpl_strings = Array(
   702     $tpl_strings = Array(
   703       'PAGE_NAME'=>htmlspecialchars($paths->cpage['name']),
   703       'PAGE_NAME'=>htmlspecialchars($paths->cpage['name']),
   704       'PAGE_URLNAME'=> $urlname_clean,
   704       'PAGE_URLNAME'=> $urlname_clean,
   705       'SITE_NAME'=>getConfig('site_name'),
   705       'SITE_NAME'=>htmlspecialchars(getConfig('site_name')),
   706       'USERNAME'=>$session->username,
   706       'USERNAME'=>$session->username,
   707       'SITE_DESC'=>getConfig('site_desc'),
   707       'SITE_DESC'=>htmlspecialchars(getConfig('site_desc')),
   708       'TOOLBAR'=>$tb,
   708       'TOOLBAR'=>$tb,
   709       'SCRIPTPATH'=>scriptPath,
   709       'SCRIPTPATH'=>scriptPath,
   710       'CONTENTPATH'=>contentPath,
   710       'CONTENTPATH'=>contentPath,
   711       'ADMIN_SID_QUES'=>$asq,
   711       'ADMIN_SID_QUES'=>$asq,
   712       'ADMIN_SID_AMP'=>$asa,
   712       'ADMIN_SID_AMP'=>$asa,