Project

General

Profile

« Previous | Next » 

Revision 1745

Added by Dietmar about 12 years ago

! add div container in page_content for each sections,
! update droplets SectionPicker, ShowWysiwyg and ShowRandomWysiwyg
! put sec_anchor in this div, sec_anchor fixed in all found files
sec_anchor default now set to "section_",
sec_anchor can't be empty for future developement

View differences:

admin.php
217 217
			}
218 218
		}
219 219

  
220
		$sec_anchor = (defined( 'SEC_ANCHOR' ) && ( SEC_ANCHOR != '' )  ? 'id="'.SEC_ANCHOR.$section['section_id'].'"' : '');
221
		print '<div class="section-info" ><b>' . $TEXT['BLOCK'] . ': </b>' . $block_name;
220
        $sec_anchor = '#'.(defined( 'SEC_ANCHOR' ) && ( SEC_ANCHOR != '' )  ? SEC_ANCHOR.$section_id : 'section_'.$section_id );
221
		//print '<div class="section-info" ><b>' . $TEXT['BLOCK'] . ': </b>' . $block_name;
222
		print '<div class="section-info" '.$sec_anchor.' ><b>' . $TEXT['BLOCK'] . ': </b>' . $block_name;
222 223
		print '<b>  Modul: </b>' . $section['module']." ";
223 224
		print '<b>  ID: </b><a' . $section_id."></a></div>\n";
224 225
	}

Also available in: Unified diff