|
2446 | 2446 | ); |
2447 | 2447 | $tab->add($setting); |
2448 | 2448 |
|
2449 | | - // Setting: Block region width for Footer region. |
2450 | | - $name = 'theme_boost_union/blockregionfooterwidth'; |
2451 | | - $title = get_string('blockregionfooterwidth', 'theme_boost_union', null, true); |
2452 | | - $description = get_string('blockregionfooterwidth_desc', 'theme_boost_union', null, true); |
2453 | | - $setting = new admin_setting_configselect( |
2454 | | - $name, |
2455 | | - $title, |
2456 | | - $description, |
2457 | | - THEME_BOOST_UNION_SETTING_OUTSIDEREGIONSWITH_FULLWIDTH, |
2458 | | - $outsideregionswidthoptions |
2459 | | - ); |
2460 | | - $tab->add($setting); |
2461 | | - |
2462 | 2449 | // Setting: Outside regions horizontal placement. |
2463 | 2450 | $outsideregionsplacementoptions = [ |
2464 | 2451 | // Don't use string lazy loading (= false) because the string will be directly used and would produce a |
|
2497 | 2484 | ); |
2498 | 2485 | $tab->add($setting); |
2499 | 2486 |
|
| 2487 | + // Create footer regions heading. |
| 2488 | + $name = 'theme_boost_union/footerregionsheading'; |
| 2489 | + $title = get_string('footerregionsheading', 'theme_boost_union', null, true); |
| 2490 | + $description = get_string('footerregionsheading_desc', 'theme_boost_union', null, true); |
| 2491 | + $setting = new admin_setting_heading($name, $title, $description); |
| 2492 | + $tab->add($setting); |
| 2493 | + |
| 2494 | + // Setting: Block region width for Footer region. |
| 2495 | + $name = 'theme_boost_union/blockregionfooterwidth'; |
| 2496 | + $title = get_string('blockregionfooterwidth', 'theme_boost_union', null, true); |
| 2497 | + $description = get_string('blockregionfooterwidth_desc', 'theme_boost_union', null, true); |
| 2498 | + $setting = new admin_setting_configselect( |
| 2499 | + $name, |
| 2500 | + $title, |
| 2501 | + $description, |
| 2502 | + THEME_BOOST_UNION_SETTING_OUTSIDEREGIONSWITH_FULLWIDTH, |
| 2503 | + $outsideregionswidthoptions |
| 2504 | + ); |
| 2505 | + $tab->add($setting); |
| 2506 | + |
2500 | 2507 | // Create site home right-hand blocks drawer behaviour heading. |
2501 | 2508 | $name = 'theme_boost_union/sitehomerighthandblockdrawerbehaviour'; |
2502 | 2509 | $title = get_string('sitehomerighthandblockdrawerbehaviour', 'theme_boost_union', null, true); |
|
0 commit comments