Project

General

Profile

« Previous | Next » 

Revision 1746

Added by Dietmar about 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:

branches/2.8.x/CHANGELOG
13 13

  
14 14

  
15 15

  
16
08 Sep-2012 Build 1746 Dietmar Woellbrink (Luisehahne)
17
# add prefix wb_ to class name for content container 
18
  if module has the same name as a html markup e.g code
16 19
08 Sep-2012 Build 1745 Dietmar Woellbrink (Luisehahne)
17 20
! add div container in page_content for each sections,
18 21
! update droplets SectionPicker, ShowWysiwyg and ShowRandomWysiwyg
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '1745');
54
if(!defined('REVISION')) define('REVISION', '1746');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/framework/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();
branches/2.8.x/wb/modules/droplets/example/SectionPicker.php
21 21
			$section_id = $sid;
22 22
			ob_start();
23 23
            $sectionAnchor = (defined('SEC_ANCHOR') && SEC_ANCHOR!='') ? SEC_ANCHOR.$section_id : 'section_'.$section_id;
24
            echo PHP_EOL.'<div id="'.$sectionAnchor.'" class="'.$module.'" >'.PHP_EOL;
24
            echo PHP_EOL.'<div id="'.$sectionAnchor.'" class="wb_'.$module.'" >'.PHP_EOL;
25 25
            require(WB_PATH.'/modules/'.$module.'/view.php');
26 26
            echo PHP_EOL.'</div><!-- '.$module.$section_id.' -->'.PHP_EOL;
27 27
			$content = $_sFrontendCss.ob_get_clean();
branches/2.8.x/wb/modules/droplets/example/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();
branches/2.8.x/wb/modules/droplets/example/ShowRandomWysiwyg.php
12 12
            $section_id = $aSections[array_rand($aSections)]; // get random element
13 13
            ob_start(); // generate output by wysiwyg module
14 14
            $sectionAnchor = (defined('SEC_ANCHOR') && SEC_ANCHOR!='') ? SEC_ANCHOR.$section_id : 'section_'.$section_id;
15
            echo PHP_EOL.'<div id="'.$sectionAnchor.'" class="'.$module.'" >'.PHP_EOL;
15
            echo PHP_EOL.'<div id="'.$sectionAnchor.'" class="wb_'.$module.'" >'.PHP_EOL;
16 16
            require(WB_PATH.'/modules/wysiwyg/view.php');
17 17
            echo PHP_EOL.'</div><!-- '.$module.$section_id.' -->'.PHP_EOL;
18 18
            $content = ob_get_clean();

Also available in: Unified diff