Commit: d89f54533df17c080178531d6c02dbf6a392b8dd
Author: gwoo | Date: 2010-04-03 14:01:37 -0700
diff --git a/views/pastes/index.html.php b/views/pastes/index.html.php
index b6c5df6..954ef0b 100644
--- a/views/pastes/index.html.php
+++ b/views/pastes/index.html.php
@@ -32,7 +32,7 @@ endif;
<div class="paging">
<?php
if ($total <= $limit || $page == 1) {
- echo $this->html->tag('span', 'Previous', array('class' => 'prev'));
+ echo '<span class="prev">Previous</span>';
} else {
echo $this->html->link('Previous', array(
'controller' => 'pastes', 'action' => 'index',
@@ -45,7 +45,7 @@ endif;
$p++; $count -= $limit;
if ($p == $page) {
- echo $this->html->tag('span', $p, array('class' => 'current'));
+ echo "<span class='current'>{$p}</span>";
} else {
echo $this->html->link($p, array(
'controller' => 'pastes', 'action' => 'index',
@@ -55,7 +55,7 @@ endif;
}
if ($total <= $limit || $page == $p) {
- echo $this->html->tag('span', 'Next', array('class' => 'next'));
+ echo '<span class="next">Next</span>';
} else {
echo $this->html->link('Next', array(
'controller' => 'pastes', 'action' => 'index',