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:

ShowWysiwyg.php
10 10
        $section_id = $section;
11 11
        ob_start(); // generate output by regulary wysiwyg module
12 12
        $sectionAnchor = (defined('SEC_ANCHOR') && SEC_ANCHOR!='') ? SEC_ANCHOR.$section_id : 'section_'.$section_id;
13
        echo PHP_EOL.'<div id="'.$sectionAnchor.'" class="'.$module.'" >'.PHP_EOL;
13
        echo PHP_EOL.'<div id="'.$sectionAnchor.'" class="wb_'.$module.'" >'.PHP_EOL;
14 14
        require(WB_PATH.'/modules/wysiwyg/view.php');
15 15
        echo PHP_EOL.'</div><!-- '.$module.$section_id.' -->'.PHP_EOL;
16 16
        $content = ob_get_clean();

Also available in: Unified diff