mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 11:36:08 +02:00
e_sitelink.php now supports html as well as link array. e_sitelink.php example added to Plugin Builder and _blank plugin.
Mega-Menus will be super-easy with this enhancement.
This commit is contained in:
@@ -2797,7 +2797,7 @@ class e_form
|
||||
function name2id($name)
|
||||
{
|
||||
$name = strtolower($name);
|
||||
return rtrim(str_replace(array('[]', '[', ']', '_', '/', ' ','.', '(', ')'), array('-', '-', '', '-', '-', '-', '-','',''), $name), '-');
|
||||
return rtrim(str_replace(array('[]', '[', ']', '_', '/', ' ','.', '(', ')', '::'), array('-', '-', '', '-', '-', '-', '-','','','-'), $name), '-');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user