includes/output.php
changeset 1038 6a04793ae13c
parent 867 fc4e242995d4
child 1081 745200a9cc2a
equal deleted inserted replaced
1037:61354f877e06 1038:6a04793ae13c
   185   
   185   
   186   public function set_title($title)
   186   public function set_title($title)
   187   {
   187   {
   188     global $template;
   188     global $template;
   189     $template->assign_vars(array(
   189     $template->assign_vars(array(
   190         'PAGE_NAME' => $title
   190         'PAGE_NAME' => htmlspecialchars($title)
   191       ));
   191       ));
   192   }
   192   }
   193 }
   193 }
   194 
   194 
   195 /**
   195 /**