Exemple #1
0
 /**
  * @return string
  */
 public function renderCssFiles()
 {
     $html = '';
     foreach ($this->cssFiles as $file) {
         $html .= '<link href="' . Settings::getPublicUrl() . $file['file'] . '" rel="stylesheet" media="' . $file['media'] . '">';
     }
     return $html;
 }
Exemple #2
0
<?php

use Loo\Data\Settings;
?>
<!DOCTYPE html>
<html lang="de">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="description" content="Orcs">
	<meta name="author" content="Daniel Weiss">
	<link rel="shortcut icon" href="<?php 
echo Settings::getPublicUrl();
?>
favicon.ico" />

	<title><?php 
echo isset($this->title) ? $this->title : Settings::getAppName();
?>
</title>

	<!-- Latest compiled and minified CSS -->
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
</head>
<body>

<div class="container">
	<?php 
echo $this->renderContent();
?>