$module_config ) :
if ( ! isset( $module_config['package'] ) ) {
$module_config['package'] = ''; // for avoiding error when add module from theme
}
?>
>
utils->input(
array(
'type' => 'switch',
'name' => 'module_list[]',
'value' => $module,
'class' => 'ekit-content-type-' . $module_config['package'],
'attr' => ( $module_config['package'] != 'pro-disabled' ? array() : array( 'disabled' => 'disabled' ) ),
'label' => $module_config['title'],
'options' => array(
'checked' => ( isset( $modules_active[ $module ] ) ? true : false ),
),
)
);
?>