| @@ -11,20 +11,11 @@ | ||
| 11 | 11 | * Config |
| 12 | 12 | */ |
| 13 | 13 | class Config { |
| 14 | 14 | /** |
| 15 | - * Track whether we opened the layout wrapper in get_header(). | |
| 16 | - * | |
| 17 | - * @var bool | |
| 18 | - */ | |
| 19 | - private static $layout_wrapper_open = false; | |
| 20 | - | |
| 21 | - /** | |
| 22 | 15 | * Print header html |
| 23 | 16 | */ |
| 24 | 17 | public static function get_header() { |
| 25 | - self::$layout_wrapper_open = true; | |
| 26 | - echo '<div class="lasso-lite-layout">'; | |
| 27 | 18 | require_once SIMPLE_URLS_DIR . '/admin/views/header.php'; |
| 28 | 19 | } |
| 29 | 20 | |
| 30 | 21 | /** |
| @@ -31,10 +22,6 @@ | ||
| 31 | 22 | * Print footer html |
| 32 | 23 | */ |
| 33 | 24 | public static function get_footer() { |
| 34 | 25 | require_once SIMPLE_URLS_DIR . '/admin/views/footer.php'; |
| 35 | - if ( self::$layout_wrapper_open ) { | |
| 36 | - echo '</div>'; | |
| 37 | - self::$layout_wrapper_open = false; | |
| 38 | - } | |
| 39 | 26 | } |
| 40 | 27 | } |