Skip to content

Commit

Permalink
Adding missing titles.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuswilms committed Feb 7, 2011
1 parent eb6d528 commit ec87889
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions views/pastes/form.html.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<h2><?=$this->title($this->_request->action == 'add' ? 'New Paste' : 'Edit Paste'); ?></h2>

<?=$this->form->create($paste, compact('url') + array('method' => 'POST')); ?>

<?php if (isset($paste->id) && isset($paste->rev)): ?>
Expand Down
2 changes: 1 addition & 1 deletion views/pastes/index.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
return strlen($string) > $length ? substr($string, 0, $length) . '' : $string;
}
?>
<h2>Latest</h2>
<h2><?=$this->title('Latest Pastes'); ?></h2>
<?php if ($latest->count()): ?>
<table class="pastes">
<tr>
Expand Down
2 changes: 1 addition & 1 deletion views/pastes/view.html.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h2>View Paste</h2>
<h2><?=$this->title('View Paste'); ?></h2>
<div class="paste">
<div class="meta">
This <span class="language"><?=$paste->language;?></span> paste was created by
Expand Down

0 comments on commit ec87889

Please sign in to comment.