Configure templates for extension

This commit is contained in:
Stéphane Goetz 2015-04-27 23:18:00 +02:00
parent 520f268bd0
commit cc4ba14dc2
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<?php $this->layout('theme::layout/00_layout') ?>
<div class="navbar navbar-fixed-top hidden-print">
<div class="container">
<?php $this->insert('partials/navbar_content', ['params' => $params]); ?>
<?php $this->insert('theme::partials/navbar_content', ['params' => $params]); ?>
</div>
</div>
<?php if ($params['repo']) { ?>

View File

@ -27,10 +27,10 @@
<?= $this->section('content'); ?>
<?php if ($params['google_analytics']) {
$this->insert('partials/google_analytics', ['analytics' => $params['google_analytics'], 'host' => array_key_exists('host', $params)? $params['host'] : '']);
$this->insert('theme::partials/google_analytics', ['analytics' => $params['google_analytics'], 'host' => array_key_exists('host', $params)? $params['host'] : '']);
} ?>
<?php if ($params['piwik_analytics']) {
$this->insert('partials/piwik_analytics', ['url' => $params['piwik_analytics'], 'id' => $params['piwik_analytics_id']]);
$this->insert('theme::partials/piwik_analytics', ['url' => $params['piwik_analytics'], 'id' => $params['piwik_analytics_id']]);
} ?>

View File

@ -6,7 +6,7 @@
<div class="container-fluid fluid-height wrapper">
<div class="navbar navbar-fixed-top hidden-print">
<div class="container-fluid">
<?php $this->insert('partials/navbar_content', ['params' => $params]); ?>
<?php $this->insert('theme::partials/navbar_content', ['params' => $params]); ?>
</div>
</div>
<div class="row columns content">