Changeset 1549
- Timestamp:
- 03/08/08 16:46:41 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/punbb-1.3-dev/upload/include/functions.php
r1539 r1549 1524 1524 $str = preg_replace(array('/[^a-z0-9\s]/', '/[\s]+/'), array('', '-'), $str); 1525 1525 1526 return $str != '-' ? '-'.trim($str, '-') : '';1526 return $str != '-' ? trim($str, '-') : ''; 1527 1527 } 1528 1528 branches/punbb-1.3-dev/upload/include/url/File_based_(fancy).php
r1492 r1549 41 41 'edit' => 'edit$1.html', 42 42 'email' => 'email$1.html', 43 'forum' => 'forum$1 $2.html',43 'forum' => 'forum$1-$2.html', 44 44 'forum_rss' => 'forum$1-rss.html', 45 45 'forum_atom' => 'forum$1-atom.html', … … 74 74 'search_user_topics' => 'search-topics-user$1.html', 75 75 'subscribe' => 'subscribe$1.html', 76 'topic' => 'topic$1 $2.html',76 'topic' => 'topic$1-$2.html', 77 77 'topic_rss' => 'topic$1-rss.html', 78 78 'topic_atom' => 'topic$1-atom.html', 79 'topic_new_posts' => 'topic$1 $2new-posts.html',79 'topic_new_posts' => 'topic$1-$2-new-posts.html', 80 80 'topic_last_post' => 'topic$1last-post.html', 81 81 'unsubscribe' => 'unsubscribe$1.html',
