mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 12:41:51 +02:00
Precaution to avoid fatal error with some admin-ui configurations. Fontello preload code removed. (some cases may use FA instead)
This commit is contained in:
parent
04576b9f79
commit
ebe9c8cf13
@ -3912,7 +3912,11 @@ class e_admin_controller_ui extends e_admin_controller
|
||||
|
||||
|
||||
$format = !empty($opt['type']) ? ('input'.$opt['type']) : 'inputdate';
|
||||
$value = trim($value) ? e107::getDate()->toTime($value, $format) : 0;
|
||||
|
||||
if($attributes['data'] !== false)
|
||||
{
|
||||
$value = trim($value) ? e107::getDate()->toTime($value, $format) : 0;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -4,7 +4,7 @@ if(e_ADMIN_AREA !==true)
|
||||
{
|
||||
|
||||
e107::css('social', 'css/fontello.css');
|
||||
e107::link(array('rel'=>'preload', 'href'=> "{e_PLUGIN}social/font/fontello.woff2?21917124", 'as' => "font", 'type'=>"font/woff2", 'crossorigin' => 'anonymous'));
|
||||
// e107::link(array('rel'=>'preload', 'href'=> "{e_PLUGIN}social/font/fontello.woff2?21917124", 'as' => "font", 'type'=>"font/woff2", 'crossorigin' => 'anonymous'));
|
||||
e107::css('social' ,'css/social.css');
|
||||
|
||||
$appID = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user