From e859d5ac6d43f75ecaa663f0b5a1e7340231dca6 Mon Sep 17 00:00:00 2001 From: patdenice Date: Sat, 5 Nov 2011 16:15:58 +0000 Subject: feature:2322 feature:2493 Add a trigger for multi language tags in quick search and url git-svn-id: http://piwigo.org/svn/trunk@12553 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/include/functions.php | 4 ++-- admin/tags.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'admin') diff --git a/admin/include/functions.php b/admin/include/functions.php index 4a67b5202..3491e0c4e 100644 --- a/admin/include/functions.php +++ b/admin/include/functions.php @@ -1450,7 +1450,7 @@ SELECT id array( array( 'name' => $tag_name, - 'url_name' => str2url($tag_name), + 'url_name' => trigger_event('render_tag_url', $tag_name), ) ) ); @@ -1725,7 +1725,7 @@ SELECT id array( array( 'name' => $tag_name, - 'url_name' => str2url($tag_name), + 'url_name' => trigger_event('render_tag_url', $tag_name), ) ) ); diff --git a/admin/tags.php b/admin/tags.php index a879806fb..8783463c1 100644 --- a/admin/tags.php +++ b/admin/tags.php @@ -84,7 +84,7 @@ SELECT id, name array( 'id' => $tag_id, 'name' => addslashes($tag_name), - 'url_name' => str2url(trigger_event('render_tag_url', $tag_name)), + 'url_name' => trigger_event('render_tag_url', $tag_name), ) ); } @@ -264,7 +264,7 @@ SELECT id array( array( 'name' => $tag_name, - 'url_name' => str2url(trigger_event('render_tag_url', $tag_name)), + 'url_name' => trigger_event('render_tag_url', $tag_name), ) ) ); -- cgit v1.2.3