Project

General

Profile

« Previous | Next » 

Revision 1746

Added by Dietmar almost 12 years ago

  1. add prefix wb_ to class name for content container
    if module has the same name as a html markup e.g code

View differences:

frontend.functions.php
306 306
				// fetch content -- this is where to place possible output-filters (before highlighting)
307 307
					ob_start(); // fetch original content
308 308
                    $sectionAnchor = (defined('SEC_ANCHOR') && SEC_ANCHOR!='') ? SEC_ANCHOR.$section_id : 'section_'.$section_id;
309
                    echo PHP_EOL.'<div id="'.$sectionAnchor.'" class="'.$module.'" >'.PHP_EOL;
309
                    echo PHP_EOL.'<div id="'.$sectionAnchor.'" class="wb_'.$module.'" >'.PHP_EOL;
310 310
					require(WB_PATH.'/modules/'.$module.'/view.php');
311 311
                    echo PHP_EOL.'</div><!-- '.$module.$section_id.' -->'.PHP_EOL;
312 312
					$content = ob_get_clean();

Also available in: Unified diff