<div class="modal fade" id="userSearchModal" tabindex="-1" role="dialog" aria-labelledby="userSearchModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-body"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <form id="userSearchForm"> <div id="usrFrmGrp" class="form-group"> <label>Who do you want to gift?</label> <input tabindex="1" type="text" id="userSearchInput" class="form-control" placeholder="E.g. Destiny" /> <label class="error hidden"></label> </div> <button tabindex="4" type="button" class="btn btn-default" data-dismiss="modal" id="userSearchCancel">Cancel</button> <button tabindex="3" type="submit" class="btn btn-primary" id="userSearchSelect" data-loading-text="Checking user...">Select</button> </form> </div> </div> </div> </div> <?php include Tpl::file('seg/foot.php'); ?> <?php include Tpl::file('seg/commonbottom.php'); ?> </body> </html><?php
<title>Error : Forbidden</title> <meta charset="utf-8"> <link href="<?php echo Config::cdn(); ?> /vendor/bootstrap-3.1.1/css/bootstrap.min.css" rel="stylesheet" media="screen"> <link href="<?php echo Config::cdn(); ?> /errors/css/style.min.css" rel="stylesheet" media="screen"> <link rel="shortcut icon" href="<?php echo Config::cdn(); ?> /favicon.png"> <?php include Tpl::file('seg/google.tracker.php'); ?> </head> <body class="error forbidden"> <?php include 'top.php'; ?> <section id="header-band"> <div class="container"> <header class="hero-unit" id="overview"> <div class="clearfix"> <h1><strong><?php echo $word; ?>
/** * Include a template and return a template file * * @param string $filename * @return string */ protected function template($filename, ViewModel $model) { $filename = Tpl::file($filename); if (!is_file($filename)) { throw new Exception(sprintf('Template not found "%s"', pathinfo($filename, PATHINFO_FILENAME))); } $this->logger->debug('Template: ' . $filename); ob_start(); include $filename; $contents = ob_get_contents(); ob_end_clean(); return $contents; }