2013-11-08 11:02:32 +00:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2014-02-06 00:03:25 +00:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
2013-11-08 11:02:32 +00:00
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
|
|
|
2014-02-06 00:03:25 +00:00
|
|
|
<title><?php echo $title ?> | Kohana User Guide</title>
|
2013-11-08 11:02:32 +00:00
|
|
|
|
|
|
|
<?php foreach ($styles as $style => $media) echo HTML::style($style, array('media' => $media), NULL, TRUE), "\n" ?>
|
|
|
|
|
|
|
|
<?php foreach ($scripts as $script) echo HTML::script($script, NULL, NULL, TRUE), "\n" ?>
|
|
|
|
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
|
|
|
|
<![endif]-->
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div id="kodoc-header">
|
|
|
|
<div class="container">
|
2016-06-05 12:33:12 +00:00
|
|
|
<a href="http://dev.leenooks.net/" id="kodoc-logo">
|
2013-11-08 11:02:32 +00:00
|
|
|
<img src="<?php echo Route::url('docs/media', array('file' => 'img/logo-small.png')) ?>" />
|
|
|
|
</a>
|
|
|
|
<div id="kodoc-menu">
|
|
|
|
<ul>
|
|
|
|
<li class="guide first">
|
2014-02-06 00:03:25 +00:00
|
|
|
<a href="<?php echo Route::url('docs/guide') ?>">User Guide</a>
|
2013-11-08 11:02:32 +00:00
|
|
|
</li>
|
|
|
|
<?php if (Kohana::$config->load('userguide.api_browser')): ?>
|
|
|
|
<li class="api">
|
2014-02-06 00:03:25 +00:00
|
|
|
<a href="<?php echo Route::url('docs/api') ?>">API Browser</a>
|
2013-11-08 11:02:32 +00:00
|
|
|
</li>
|
|
|
|
<?php endif ?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="kodoc-content">
|
|
|
|
<div class="wrapper">
|
|
|
|
<div class="container">
|
|
|
|
<div class="span-22 prefix-1 suffix-1">
|
|
|
|
<ul id="kodoc-breadcrumb">
|
|
|
|
<?php foreach ($breadcrumb as $link => $title): ?>
|
|
|
|
<?php if (is_string($link)): ?>
|
|
|
|
<li><?php echo HTML::anchor($link, $title, NULL, NULL, TRUE) ?></li>
|
|
|
|
<?php else: ?>
|
|
|
|
<li class="last"><?php echo $title ?></li>
|
|
|
|
<?php endif ?>
|
|
|
|
<?php endforeach ?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="span-6 prefix-1">
|
|
|
|
<div id="kodoc-topics">
|
|
|
|
<?php echo $menu ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="kodoc-body" class="span-16 suffix-1 last">
|
|
|
|
<?php echo $content ?>
|
|
|
|
|
|
|
|
<?php if ($show_comments): ?>
|
|
|
|
<div id="disqus_thread" class="clear"></div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
var disqus_identifier = '<?php echo HTML::chars(Request::current()->uri()) ?>';
|
|
|
|
(function() {
|
|
|
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
|
|
|
dsq.src = 'http://kohana.disqus.com/embed.js';
|
|
|
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
|
|
|
})();
|
|
|
|
</script>
|
2014-02-06 00:03:25 +00:00
|
|
|
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript=kohana">comments powered by Disqus.</a></noscript>
|
2013-11-08 11:02:32 +00:00
|
|
|
<a href="http://disqus.com" class="dsq-brlink">Documentation comments powered by <span class="logo-disqus">Disqus</span></a>
|
|
|
|
<?php endif ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="kodoc-footer">
|
|
|
|
<div class="container">
|
|
|
|
<div class="span-12">
|
|
|
|
<?php if (isset($copyright)): ?>
|
|
|
|
<p><?php echo $copyright ?></p>
|
|
|
|
<?php else: ?>
|
|
|
|
|
|
|
|
<?php endif ?>
|
|
|
|
</div>
|
|
|
|
<div class="span-12 last right">
|
|
|
|
<p>Powered by <?php echo HTML::anchor('http://kohanaframework.org/', 'Kohana') ?> v<?php echo Kohana::VERSION ?></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php if (Kohana::$environment === Kohana::PRODUCTION): ?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
//<![CDATA[
|
|
|
|
(function() {
|
|
|
|
var links = document.getElementsByTagName('a');
|
|
|
|
var query = '?';
|
|
|
|
for(var i = 0; i < links.length; i++) {
|
|
|
|
if(links[i].href.indexOf('#disqus_thread') >= 0) {
|
|
|
|
query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/kohana/get_num_replies.js' + query + '"></' + 'script>');
|
|
|
|
})();
|
|
|
|
//]]>
|
|
|
|
</script>
|
|
|
|
<?php endif ?>
|
|
|
|
</body>
|
|
|
|
</html>
|