Index: /trunk/include/functions_html.inc.php
===================================================================
--- /trunk/include/functions_html.inc.php (revision 18666)
+++ /trunk/include/functions_html.inc.php (revision 18667)
@@ -435,6 +435,7 @@
{
global $page;
- $title = count($page['tags']) > 1 ? l10n('Tag') : l10n('Tag');
- $title.= ' ';
+ $title = ''
+ . l10n( count($page['tags']) > 1 ? 'Tags' : 'Tag' )
+ . ' ';
for ($i=0; $i';
- $remove_url = null;
- if (count($page['tags']) == 1)
- {
- $remove_url = get_root_url().'tags.php';
- }
- else
+ if (count($page['tags']) > 2)
{
$other_tags = $page['tags'];
@@ -469,13 +465,13 @@
)
);
- }
-
- $title.=
- ''
- .'';
+
+ $title.=
+ ''
+ .'';
+ }
}
return $title;
Index: /trunk/index.php
===================================================================
--- /trunk/index.php (revision 18666)
+++ /trunk/index.php (revision 18667)
@@ -99,5 +99,10 @@
else
{
- $canonical_url = duplicate_index_url();
+ $start = $page['nb_image_page'] * round($page['start'] / $page['nb_image_page']);
+ if ($start>0 && $start >= count($page['items']) )
+ {
+ $start -= $page['nb_image_page'];
+ }
+ $canonical_url = duplicate_index_url(array('start' => $start));
}
$template->assign('U_CANONICAL', $canonical_url);