1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 12:21:45 +02:00

Page support for single page with anchor navigation.

This commit is contained in:
Cameron
2013-05-29 01:22:11 -07:00
parent 7c84b35c51
commit 7d6688d760
10 changed files with 179 additions and 18 deletions

View File

@@ -1732,6 +1732,7 @@ class e_form
function name2id($name)
{
$name = strtolower($name);
return rtrim(str_replace(array('[]', '[', ']', '_', '/', ' ','.'), array('-', '-', '', '-', '-', '-', '-'), $name), '-');
}