1
0
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:
Cameron
2016-05-07 09:07:38 -07:00
parent 5c3b486adc
commit 996b1f3285
5 changed files with 154 additions and 8 deletions

View File

@@ -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), '-');
}
/**