mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 05:02:02 +02:00
Include favicon is sitedown template.
This commit is contained in:
parent
aa2c37a262
commit
8e7cbd9f7a
@ -51,6 +51,18 @@ class sitedown_shortcodes extends e_shortcode
|
||||
return e_WEB_ABS."css/e107.css";
|
||||
}
|
||||
|
||||
function sc_sitedown_favicon($parm=null)
|
||||
{
|
||||
if (file_exists(THEME."favicon.ico"))
|
||||
{
|
||||
return THEME_ABS."favicon.ico";
|
||||
}
|
||||
elseif (file_exists(e_BASE."favicon.ico"))
|
||||
{
|
||||
return SITEURL."favicon.ico";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -25,7 +25,9 @@ if(!isset($SITEDOWN_TABLE))
|
||||
<html xmlns='http://www.w3.org/1999/xhtml'".(defined("TEXTDIRECTION") ? " dir='".TEXTDIRECTION."'" : "").(defined("CORE_LC") ? " xml:lang=\"".CORE_LC."\"" : "").">
|
||||
<head>
|
||||
<meta http-equiv='content-type' content='text/html; charset=utf-8' />
|
||||
<meta http-equiv='content-style-type' content='text/css' />\n
|
||||
<meta http-equiv='content-style-type' content='text/css' />
|
||||
<link rel='icon' href='{SITEDOWN_FAVICON}' type='image/x-icon' />
|
||||
<link rel='shortcut icon' href='{SITEDOWN_FAVICON}' type='image/xicon' />
|
||||
<link rel='stylesheet' media='all' property='stylesheet' type='text/css' href='https://netdna.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css' />
|
||||
<link rel='stylesheet' media='all' property='stylesheet' type='text/css' href='https://netdna.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css' />
|
||||
<link rel='stylesheet' href='{SITEDOWN_E107_CSS}' type='text/css' media='all' />
|
||||
@ -37,14 +39,14 @@ if(!isset($SITEDOWN_TABLE))
|
||||
</head>
|
||||
<body class='sitedown'>
|
||||
<div class='container'>
|
||||
<div style='text-align:center;font-size: 14px; color: black; font-family: Tahoma, Verdana, Arial, Helvetica; text-decoration: none'>
|
||||
<div style='text-align:center '>
|
||||
<div style='text-align:center'>{LOGO: h=300}</div>
|
||||
<hr />
|
||||
<br />
|
||||
{SITEDOWN_TABLE_MAINTAINANCETEXT}
|
||||
</div>
|
||||
<div style='margin-top:100px; text-align:center'>
|
||||
{XURL_ICONS: type=facebook,twitter,google-plus,github,instagram,linkedin&size=3x&tip-pos=bottom}
|
||||
{XURL_ICONS: type=facebook,twitter,youtube,flickr,vimeo,google-plus,github,instagram,linkedin&size=3x&tip-pos=bottom}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user