Revision 1909
Added by Dietmar over 11 years ago
search_modext.php | ||
---|---|---|
166 | 166 |
|
167 | 167 |
// since wb 2.7.1 the section-anchor is configurable - SEC_ANCHOR holds the anchor name |
168 | 168 |
if(substr($page_link_target,0,12)=='#wb_section_') { |
169 |
if(defined('SEC_ANCHOR') && SEC_ANCHOR!='') { |
|
169 |
if(defined('SEC_ANCHOR') && SEC_ANCHOR!='none') {
|
|
170 | 170 |
$sec_id = substr($page_link_target, 12); |
171 | 171 |
$page_link_target = '#'.SEC_ANCHOR.$sec_id; |
172 | 172 |
} else { // section-anchors are disabled |
Also available in: Unified diff
! install/save.php,search_modext.php set $sSectionIdPrefix (SEC_ANCHOR) to the right value