示例#1
0
 * @link       https://github.com/j0inty/postfixadmin-ng
 */
?>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title><?php 
echo ucfirst($this->router->class) . "::" . ucfirst($this->router->method) . " -- " . $this->config->item("project_name");
?>
</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1">

		<?php 
echo put_headers_css();
?>

		<?php 
if ($refresh > 0 && !empty($refresh_url)) {
    ?>
		<meta http-equiv="refresh" content="<?php 
    echo $refresh;
    ?>
; URL=<?php 
    echo $refresh_url;
    ?>
">
		<?php 
}
?>
 /**
  * Concat a string that will add all $config["header_js"] and $config[header_css] files.
  *
  * @return string
  */
 function put_headers()
 {
     $str = PHP_EOL;
     $str .= put_headers_css();
     $str .= put_headers_js();
     return $str;
 }