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