Пример #1
0
<!DOCTYPE html>
<html lang="<?php 
echo DavBfr\CF\Lang::getLangHtml();
?>
" data-ng-app="app">
<head>
	<title><?php 
$this->out("title", "st", "CF " . CF_VERSION);
?>
</title>
	<?php 
if ($this->has("description")) {
    ?>
	<meta name="description" content="<?php 
    $this->out("description", "st");
    ?>
">
	<?php 
}
?>
	<?php 
if ($this->has("favicon")) {
    ?>
	<link rel="shortcut icon" href="<?php 
    echo $this->media($this->get("favicon"));
    ?>
">
	<?php 
}
?>
	<meta charset="UTF-8">
Пример #2
0
		window.cf_options = <?php 
$this->cf_options();
?>
;
	</script>
	<?php 
if ($this->has("scripts")) {
    foreach ($this->get("scripts") as $script) {
        ?>
	<script src="<?php 
        echo $script;
        ?>
"></script>
	<?php 
    }
}
?>
	<?php 
$lang = $this->media("i18n/angular-locale_" . strtolower(DavBfr\CF\Lang::getLangHtml()) . ".js");
if ($lang) {
    ?>
	<script src="<?php 
    echo $lang;
    ?>
"></script>
	<?php 
}
?>
</body>
</html>