api_default corrected css attributes, saimod langswitcher access rights
This commit is contained in:
parent
33a2edcd9e
commit
bb0090af82
@ -23,7 +23,7 @@ abstract class api_default extends api_system {
|
||||
//Load subpage css
|
||||
foreach($row['css'] as $css){
|
||||
$css_frag = new \DOMDocument();
|
||||
$css_frag->loadHTML('<link href="'.$css.'" rel="stylesheet">');
|
||||
$css_frag->loadHTML('<link href="'.$css.'" rel="stylesheet" type="text/css">');
|
||||
$html->getElementsByTagName('head')[0]->appendChild($html->importNode($css_frag->documentElement,true));
|
||||
}
|
||||
}
|
||||
|
||||
@ -10,7 +10,7 @@ class saimod_sys_langswitcher extends \SYSTEM\SAI\SaiModule {
|
||||
return $result;
|
||||
}
|
||||
public static function right_public(){return true;}
|
||||
public static function right_right(){}
|
||||
public static function right_right(){return true;}
|
||||
|
||||
//public static function css(){}
|
||||
//public static function js(){}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user