diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-05 16:51:32 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-05 16:51:32 +0000 |
commit | 08d3f7f2820ed971ce5171c9ce9e15dbf452cf3f (patch) | |
tree | 75fd0261d5f92442fae934a58a9404bc3ed162f1 /views/default/output | |
parent | 36ef345eb6425106f061fb866d9fa66d051e16df (diff) | |
download | elgg-08d3f7f2820ed971ce5171c9ce9e15dbf452cf3f.tar.gz elgg-08d3f7f2820ed971ce5171c9ce9e15dbf452cf3f.tar.bz2 |
Merged 5605:5622 from 1.7 to trunk.
git-svn-id: http://code.elgg.org/elgg/trunk@5623 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/output')
-rw-r--r-- | views/default/output/friendlytitle.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/views/default/output/friendlytitle.php b/views/default/output/friendlytitle.php index a92726f69..fbc4f39de 100644 --- a/views/default/output/friendlytitle.php +++ b/views/default/output/friendlytitle.php @@ -8,11 +8,12 @@ $title = $vars['title']; - -$title = trim($title); -$title = strtolower($title); + +//$title = iconv('UTF-8', 'ASCII//TRANSLIT', $title); $title = preg_replace("/[^\w ]/","",$title); $title = str_replace(" ","-",$title); $title = str_replace("--","-",$title); +$title = trim($title); +$title = strtolower($title); echo $title; |