fix behaviors buttons according to settings
This commit is contained in:
parent
13e7fc83e8
commit
3e06d6d3b2
@ -65,6 +65,11 @@ class translaterAdminBehaviors
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
if (self::translater($list->core)->getSetting('hide_default')
|
||||
&& in_array($id, dctranslater::$default_distrib_modules[$prop['type']])
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return
|
||||
' <input type="submit" name="translater[' .
|
||||
|
Loading…
Reference in New Issue
Block a user