includes/pageprocess.php
changeset 83 80facec76d9f
parent 73 0a74676a2f2f
child 91 8079b0288e8e
equal deleted inserted replaced
82:03c7f5ec1e4c 83:80facec76d9f
   751         if ( isset($paths->pages[ $c_page_id ]) )
   751         if ( isset($paths->pages[ $c_page_id ]) )
   752         {
   752         {
   753           $parser->assign_bool(array(
   753           $parser->assign_bool(array(
   754             'page_exists' => true
   754             'page_exists' => true
   755             ));
   755             ));
   756           $page_title = $paths->pages[ $c_page_id ]['name'];
   756           $page_title = htmlspecialchars($paths->pages[ $c_page_id ]['name']);
   757         }
   757         }
   758         else
   758         else
   759         {
   759         {
   760           $parser->assign_bool(array(
   760           $parser->assign_bool(array(
   761             'page_exists' => false
   761             'page_exists' => false