From d7ef419553f060c347e210fa5a178741aa20ed61 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 29 Mar 2021 16:19:12 -0700 Subject: [PATCH] Fix for social icons not displaying on maintenance 'site down' page. --- .../shortcodes/batch/sitedown_shortcodes.php | 5 +++ e107_core/templates/sitedown_template.php | 37 ++++++++++--------- 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/e107_core/shortcodes/batch/sitedown_shortcodes.php b/e107_core/shortcodes/batch/sitedown_shortcodes.php index 3b0d1214f..f358bb12a 100644 --- a/e107_core/shortcodes/batch/sitedown_shortcodes.php +++ b/e107_core/shortcodes/batch/sitedown_shortcodes.php @@ -47,6 +47,11 @@ class sitedown_shortcodes extends e_shortcode return THEME_ABS."style.css"; } + function sc_sitedown_social_css($parm=null) + { + return e_PLUGIN_ABS."social/css/fontello.css"; + } + function sc_sitedown_e107_css($parm=null) { return e_WEB_ABS."css/e107.css"; diff --git a/e107_core/templates/sitedown_template.php b/e107_core/templates/sitedown_template.php index 37e4631b0..34cbdbc7e 100644 --- a/e107_core/templates/sitedown_template.php +++ b/e107_core/templates/sitedown_template.php @@ -21,36 +21,37 @@ if(!isset($SITEDOWN_TABLE)) { $SITEDOWN_TABLE = (defined("STANDARDS_MODE") ? "" : "")." "; - $SITEDOWN_TABLE .= " - + $SITEDOWN_TABLE .= ' + - - - - - - - - + + + + + + + + + {SITEDOWN_TABLE_PAGENAME} - - -
-
-
{LOGO: h=300}
+ +
+
+
{LOGO: h=300}


{SITEDOWN_TABLE_MAINTAINANCETEXT}
-
- {XURL_ICONS: type=facebook,twitter,youtube,flickr,vimeo,google-plus,github,instagram,linkedin&size=3x&tip-pos=bottom} +
+ {XURL_ICONS: type=facebook,twitter,instagram,youtube,flickr,vimeo,github,linkedin&size=3x&tip-pos=bottom}
- "; + '; } // ##### ------------------------------------------------------------------------------------------