Skip to content

Commit

Permalink
add dockblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
eymen-elkum committed May 12, 2015
1 parent 13806b6 commit 48f3119
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Template/Layout/default.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ if (!$this->fetch('tb_body_start')) {
echo '<body' . $this->fetch('tb_body_attrs') . '>';
$this->end();
}
/**
* Default `flash` block.
*/
if (!$this->fetch('tb_flash')) {
$this->start('tb_flash');
if (isset($this->Flash))
Expand Down
3 changes: 3 additions & 0 deletions src/Template/Layout/examples/cover.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ $this->start('tb_body_start');

<div class="inner cover">
<?php
/**
* Default `flash` block.
*/
if (!$this->fetch('tb_flash')) {
$this->start('tb_flash');
if (isset($this->Flash))
Expand Down
3 changes: 3 additions & 0 deletions src/Template/Layout/examples/dashboard.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ $this->start('tb_body_start');
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<?php
/**
* Default `flash` block.
*/
if (!$this->fetch('tb_flash')) {
$this->start('tb_flash');
if (isset($this->Flash))
Expand Down
3 changes: 3 additions & 0 deletions src/Template/Layout/examples/signin.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
$this->Html->css('BootstrapUI.signin', ['block' => true]);
$this->prepend('tb_body_attrs', ' class="' . implode(' ', array($this->request->controller, $this->request->action)) . '" ');
$this->start('tb_body_start');
/**
* Default `flash` block.
*/
if (!$this->fetch('tb_flash')) {
$this->start('tb_flash');
if (isset($this->Flash))
Expand Down

0 comments on commit 48f3119

Please sign in to comment.