. try { // View setup require (realpath ('../view-setup.php')); // Template data $template = array ( 'title' => $hashover->locale->text['example'], 'logout' => $logout->asHTML ("\t\t\t"), 'sub-title' => $hashover->locale->text['example'] ); // Load and parse HTML template echo $hashover->templater->parseTemplate ('example.html', $template); } catch (\Exception $error) { echo Misc::displayError ($error->getMessage ()); }