fix(footer): align template_1 shell with Zibll 1:1

Rewrite footer markup to zib_footer_con contract: single adaptive logo
(white-src/dark-src), fcode-links HTML primary, float third column,
hidden-xs, toggle-radius contacts, miniimg structure, customize-first
footer-conter. Restyle zibll-shell CSS and drop conflicting site-footer
BEM padding so filled footer data matches Zibll layout.
This commit is contained in:
2026-07-13 07:46:19 +08:00
parent fabff49d11
commit 1e37da60c9
11 changed files with 466 additions and 597 deletions
@@ -448,7 +448,7 @@ class AKSRT_Admin_Global_Controller extends AKSRT_Admin_Controller_Base {
'more_links' => [],
'hot_categories' => 5,
'copyright_text' => '',
'layout_template' => 'default',
'layout_template' => 'template_1',
'footer_t1_m_s' => ['pc', 'mobile'],
'footer_t1_img' => '',
'footer_t1_img_dark' => '',
@@ -477,8 +477,7 @@ class AKSRT_Admin_Global_Controller extends AKSRT_Admin_Controller_Base {
'more_links' => isset($params['more_links']) ? $this->sanitize_link_list($params['more_links']) : [],
'hot_categories' => (int) ($params['hot_categories'] ?? 5),
'copyright_text' => sanitize_textarea_field($params['copyright_text'] ?? ''),
'layout_template' => in_array($params['layout_template'] ?? '', ['default', 'compact', 'centered'], true)
? $params['layout_template'] : 'default',
'layout_template' => 'template_1',
'footer_t1_m_s' => $this->sanitize_device_visibility($params['footer_t1_m_s'] ?? ['pc', 'mobile']),
'footer_t1_img' => esc_url_raw($params['footer_t1_img'] ?? ''),
'footer_t1_img_dark' => esc_url_raw($params['footer_t1_img_dark'] ?? ''),