------------------------------------------------------------
revno: 1040
committer: bassel <[email protected]>
branch nick: aikiframework
timestamp: Sun 2012-01-22 21:46:09 +0200
message:
  added rel next and prev to pagination for SEO
modified:
  libs/widgets.php


--
lp:aikiframework
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk

Your team Aiki Framework Developers is subscribed to branch lp:aikiframework.
To unsubscribe from this branch go to 
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk/+edit-subscription
=== modified file 'libs/widgets.php'
--- libs/widgets.php	2012-01-19 08:01:17 +0000
+++ libs/widgets.php	2012-01-22 19:46:09 +0000
@@ -714,7 +714,7 @@
 			 */
 			$pagination .= 
 			  "<span class='pagination_previous'>" . 
-			  "<a href=\"$previous\">" . __("previous") . "</a></span>";
+			  "<a rel='prev' href=\"$previous\">" . __("previous") . "</a></span>";
 		}
 
 		if ($group_pages)
@@ -773,7 +773,7 @@
 								$widget->link_example);
 			$pagination .= 
 			  "<span class='pagination_next'>". 
-			  "<a href=\"$next\">" . __("next") . "</a></span>";
+			  "<a rel='next' href=\"$next\">" . __("next") . "</a></span>";
 		}
 
 		if($page) {

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to