1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-08 05:11:01 +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

@@ -1584,4 +1584,9 @@ class navigation_shortcodes extends e_shortcode
return $text;
}
function sc_link_anchor($parm='')
{
return $this->var['link_name'] ? '#'.e107::getForm()->name2id($this->var['link_name']) : '';
}
}