mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +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:
@@ -3912,8 +3912,12 @@ class e_admin_controller_ui extends e_admin_controller
|
||||
|
||||
|
||||
$format = !empty($opt['type']) ? ('input'.$opt['type']) : 'inputdate';
|
||||
|
||||
if($attributes['data'] !== false)
|
||||
{
|
||||
$value = trim($value) ? e107::getDate()->toTime($value, $format) : 0;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case 'ip': // TODO - ask Steve if this check is required
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user