Revision 871
Added by thorn about 16 years ago
frontend.functions.php | ||
---|---|---|
211 | 211 |
} |
212 | 212 |
$section_id = $section['section_id']; |
213 | 213 |
$module = $section['module']; |
214 |
// make a anchor for every section. This is for the search_extension |
|
215 |
echo "<a id=\"wb_section_$section_id\" name=\"wb_section_$section_id\"></a>"; |
|
214 |
// make a anchor for every section. |
|
215 |
if(defined('SEC_ANCHOR') && SEC_ANCHOR!='') { |
|
216 |
echo '<a class="section_anchor" id="'.SEC_ANCHOR.$section_id.'" name="'.SEC_ANCHOR.$section_id.'"></a>'; |
|
217 |
} |
|
216 | 218 |
// highlights searchresults |
217 | 219 |
if (isset($_GET['searchresult']) AND is_numeric($_GET['searchresult']) AND !isset($_GET['nohighlight'])) { |
218 | 220 |
if (isset($_GET['sstring']) AND !empty($_GET['sstring']) ){ |
Also available in: Unified diff
added config for section anchor.
ATTN: add "INSERT INTO TABLE_PREFIX.'settings' (name,value,extra) VALUES ('sec_anchor', 'wb_', '')" to upgrade-script.