Skip to content

Commit

Permalink
Added ref (next, prev) attributes to the pagination links
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo de la Concepción Sanz <[email protected]>
  • Loading branch information
pconcepcion committed Jan 30, 2013
1 parent 168c2de commit cfa171f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions config/pagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
'first-link' => "\t\t<a href=\"{uri}\">{page}</a>\n",

'previous' => "<span class=\"previous\">\n\t{link}\n</span>\n",
'previous-link' => "\t\t<a href=\"{uri}\">{page}</a>\n",
'previous-link' => "\t\t<a href=\"{uri}\" rel=\"prev\">{page}</a>\n",

'previous-inactive' => "<span class=\"previous-inactive\">\n\t{link}\n</span>\n",
'previous-inactive-link' => "\t\t<a href=\"{uri}\">{page}</a>\n",
'previous-inactive-link' => "\t\t<a href=\"{uri}\" rel=\"prev\">{page}</a>\n",

'regular' => "<span>\n\t{link}\n</span>\n",
'regular-link' => "\t\t<a href=\"{uri}\">{page}</a>\n",
Expand All @@ -45,10 +45,10 @@
'active-link' => "\t\t<a href=\"{uri}\">{page}</a>\n",

'next' => "<span class=\"next\">\n\t{link}\n</span>\n",
'next-link' => "\t\t<a href=\"{uri}\">{page}</a>\n",
'next-link' => "\t\t<a href=\"{uri}\" rel=\"next\">{page}</a>\n",

'next-inactive' => "<span class=\"next-inactive\">\n\t{link}\n</span>\n",
'next-inactive-link' => "\t\t<a href=\"{uri}\">{page}</a>\n",
'next-inactive-link' => "\t\t<a href=\"{uri}\" rel=\"next\">{page}</a>\n",

'last' => "<span class=\"last\">\n\t{link}\n</span>\n",
'last-link' => "\t\t<a href=\"{uri}\">{page}</a>\n",
Expand All @@ -62,10 +62,10 @@
'first-link' => "<a href=\"{uri}\">{page}</a>",

'previous' => "\n\t\t<li>{link}</li>",
'previous-link' => "<a href=\"{uri}\">{page}</a>",
'previous-link' => "<a href=\"{uri}\" rel=\"prev\">{page}</a>",

'previous-inactive' => "\n\t\t<li class=\"disabled\">{link}</li>",
'previous-inactive-link' => "<a href=\"{uri}\">{page}</a>",
'previous-inactive-link' => "<a href=\"{uri}\" rel=\"prev\">{page}</a>",

'regular' => "\n\t\t<li>{link}</li>",
'regular-link' => "<a href=\"{uri}\">{page}</a>",
Expand All @@ -74,10 +74,10 @@
'active-link' => "<a href=\"{uri}\">{page}</a>",

'next' => "\n\t\t<li>{link}</li>",
'next-link' => "<a href=\"{uri}\">{page}</a>",
'next-link' => "<a href=\"{uri}\" rel=\"next\">{page}</a>",

'next-inactive' => "\n\t\t<li class=\"disabled\">{link}</li>",
'next-inactive-link' => "<a href=\"{uri}\">{page}</a>",
'next-inactive-link' => "<a href=\"{uri}\" rel=\"next\">{page}</a>",

'last' => "\n\t\t<li>{link}</li>",
'last-link' => "<a href=\"{uri}\">{page}</a>",
Expand Down

0 comments on commit cfa171f

Please sign in to comment.