Revision 1889
Added by Luisehahne over 12 years ago
| admin.php | ||
|---|---|---|
| 199 | 199 |
// unset($print_info_banner); |
| 200 | 200 |
unset($template); |
| 201 | 201 |
|
| 202 |
if (SECTION_BLOCKS) {
|
|
| 203 |
if (isset($block[$section['block']]) && trim(strip_tags(($block[$section['block']]))) != '') |
|
| 204 |
{
|
|
| 202 |
// if (SECTION_BLOCKS) {
|
|
| 203 |
if (isset($block[$section['block']]) && trim(strip_tags(($block[$section['block']]))) != '') {
|
|
| 205 | 204 |
$block_name = htmlentities(strip_tags($block[$section['block']])); |
| 206 | 205 |
} else {
|
| 207 | 206 |
if ($section['block'] == 1) {
|
| ... | ... | |
| 210 | 209 |
$block_name = '#' . (int) $section['block']; |
| 211 | 210 |
} |
| 212 | 211 |
} |
| 213 |
|
|
| 214 |
$sec_anchor = '#'.(defined( 'SEC_ANCHOR' ) && ( SEC_ANCHOR != '' ) ? SEC_ANCHOR.$section_id : 'section_'.$section_id ); |
|
| 212 |
$sec_anchor = '#'.(defined( 'SEC_ANCHOR' ) && ( SEC_ANCHOR != '' ) ? SEC_ANCHOR.$section_id : 'section_'.$section_id ); |
|
| 215 | 213 |
//print '<div class="section-info" ><b>' . $TEXT['BLOCK'] . ': </b>' . $block_name; |
| 216 | 214 |
print '<div class="section-info" '.$sec_anchor.' ><b>' . $TEXT['BLOCK'] . ': </b>' . $block_name; |
| 217 | 215 |
print '<b> Modul: </b>' . $section['module']." "; |
| 218 | 216 |
print '<b> ID: </b>' . $section_id."</div>\n"; |
| 219 |
} |
|
| 220 |
|
|
| 217 |
// } |
|
| 221 | 218 |
} // |
| 222 | 219 |
|
| 223 | 220 |
// Work-out if the developer wants us to update the timestamp for when the page was last modified |
Also available in: Unified diff
! update sections table change some varchar to int(11)
+ upgradeHelper class for better module upgrade