aboutsummaryrefslogtreecommitdiffstats
path: root/include/category_default.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-10-05 22:56:22 +0000
committerrvelices <rv-github@modusoptimus.com>2007-10-05 22:56:22 +0000
commit924733b9f0678a8071abda29af74b88d27f06000 (patch)
tree83a34daa7b36f0720db34326d11ad7df1c3ca48f /include/category_default.inc.php
parentf045ffd1327e598e89605684f6ad8f4d408de12a (diff)
- function str2url is compatible with utf-8
- removed some old code (useless) git-svn-id: http://piwigo.org/svn/trunk@2123 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/category_default.inc.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/category_default.inc.php b/include/category_default.inc.php
index 88e0c7537..ef029eee6 100644
--- a/include/category_default.inc.php
+++ b/include/category_default.inc.php
@@ -105,7 +105,7 @@ foreach ($pictures as $row)
'CLASS'=> set_span_class($row['hit']) . ' nb-hits',
)
);
-
+
}
if ($conf['show_thumbnail_caption'])
@@ -134,11 +134,6 @@ foreach ($pictures as $row)
}
break;
}
- case 'search' :
- {
- $name = replace_search($name, $page['search']);
- break;
- }
}
$template->assign_block_vars(
@@ -161,7 +156,7 @@ SELECT COUNT(*) AS nb_comments
$template->assign_block_vars(
'thumbnails.line.thumbnail.nb_comments',
array(
- 'NB_COMMENTS'=> l10n_dec('%d comment', '%d comments',
+ 'NB_COMMENTS'=> l10n_dec('%d comment', '%d comments',
$row['nb_comments']),
'CLASS'=> set_span_class($row['nb_comments']) . ' nb-comments',
)