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:
@@ -1732,6 +1732,7 @@ class e_form
|
||||
|
||||
function name2id($name)
|
||||
{
|
||||
$name = strtolower($name);
|
||||
return rtrim(str_replace(array('[]', '[', ']', '_', '/', ' ','.'), array('-', '-', '', '-', '-', '-', '-'), $name), '-');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user