mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 12:11:36 +00:00
Empty commit
This commit is contained in:
parent
90523aeb15
commit
49c5593aa1
@ -98,8 +98,19 @@
|
||||
?>
|
||||
<link rel="stylesheet" type="text/css" title="<?=G::$LoggedUser['StyleName']?>" media="screen"
|
||||
href="<?=STATIC_SERVER?>styles/<?=G::$LoggedUser['StyleName']?>/style.css?v=<?=filemtime(SERVER_ROOT.'/static/styles/'.G::$LoggedUser['StyleName'].'/style.css')?>" />
|
||||
<? } else { ?>
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="<?=G::$LoggedUser['StyleURL']?>" title="External CSS" />
|
||||
<?
|
||||
} else {
|
||||
$StyleURLInfo = parse_url(G::$LoggedUser['StyleURL']);
|
||||
if (substr(G::$LoggedUser['StyleURL'], -4) == '.css'
|
||||
&& $StyleURLInfo['query'].$StyleURLInfo['fragment'] == ''
|
||||
&& in_array($StyleURLInfo['host'], array(NONSSL_SITE_URL, SSL_SITE_URL))
|
||||
&& file_exists(SERVER_ROOT.$StyleURLInfo['path'])) {
|
||||
$StyleURL = G::$LoggedUser['StyleURL'].'?v='.filemtime(SERVER_ROOT.$StyleURLInfo['path']);
|
||||
} else {
|
||||
$StyleURL = G::$LoggedUser['StyleURL'];
|
||||
}
|
||||
?>
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="<?=$StyleURL?>" title="External CSS" />
|
||||
<?
|
||||
}
|
||||
if (!empty(G::$LoggedUser['UseOpenDyslexic'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user