|
2475 | 2475 | ); |
2476 | 2476 | $tab->add($setting); |
2477 | 2477 |
|
2478 | | - // Setting: Block region width for Footer region. |
2479 | | - $name = 'theme_boost_union/blockregionfooterwidth'; |
2480 | | - $title = get_string('blockregionfooterwidth', 'theme_boost_union', null, true); |
2481 | | - $description = get_string('blockregionfooterwidth_desc', 'theme_boost_union', null, true); |
2482 | | - $setting = new admin_setting_configselect( |
2483 | | - $name, |
2484 | | - $title, |
2485 | | - $description, |
2486 | | - THEME_BOOST_UNION_SETTING_OUTSIDEREGIONSWITH_FULLWIDTH, |
2487 | | - $outsideregionswidthoptions |
2488 | | - ); |
2489 | | - $tab->add($setting); |
2490 | | - |
2491 | 2478 | // Setting: Outside regions horizontal placement. |
2492 | 2479 | $outsideregionsplacementoptions = [ |
2493 | 2480 | // Don't use string lazy loading (= false) because the string will be directly used and would produce a |
|
2508 | 2495 | ); |
2509 | 2496 | $tab->add($setting); |
2510 | 2497 |
|
| 2498 | + // Create footer regions heading. |
| 2499 | + $name = 'theme_boost_union/footerregionsheading'; |
| 2500 | + $title = get_string('footerregionsheading', 'theme_boost_union', null, true); |
| 2501 | + $description = get_string('footerregionsheading_desc', 'theme_boost_union', null, true); |
| 2502 | + $setting = new admin_setting_heading($name, $title, $description); |
| 2503 | + $tab->add($setting); |
| 2504 | + |
| 2505 | + // Setting: Block region width for Footer region. |
| 2506 | + $name = 'theme_boost_union/blockregionfooterwidth'; |
| 2507 | + $title = get_string('blockregionfooterwidth', 'theme_boost_union', null, true); |
| 2508 | + $description = get_string('blockregionfooterwidth_desc', 'theme_boost_union', null, true); |
| 2509 | + $setting = new admin_setting_configselect( |
| 2510 | + $name, |
| 2511 | + $title, |
| 2512 | + $description, |
| 2513 | + THEME_BOOST_UNION_SETTING_OUTSIDEREGIONSWITH_FULLWIDTH, |
| 2514 | + $outsideregionswidthoptions |
| 2515 | + ); |
| 2516 | + $tab->add($setting); |
| 2517 | + |
2511 | 2518 | // Create site home right-hand blocks drawer behaviour heading. |
2512 | 2519 | $name = 'theme_boost_union/sitehomerighthandblockdrawerbehaviour'; |
2513 | 2520 | $title = get_string('sitehomerighthandblockdrawerbehaviour', 'theme_boost_union', null, true); |
|
0 commit comments