diff --git a/bl-kernel/admin/themes/booty/init.php b/bl-kernel/admin/themes/booty/init.php index 4798180f..2859f202 100644 --- a/bl-kernel/admin/themes/booty/init.php +++ b/bl-kernel/admin/themes/booty/init.php @@ -102,33 +102,43 @@ EOF; public static function formInputTextBlock($args) { - $id = 'js'.$args['name']; + $name = $args['name']; + $disabled = empty($args['disabled'])?'':'disabled'; + $placeholder = isset($args['placeholder'])?$args['placeholder']:''; + $value = isset($args['value'])?$args['value']:''; + + $id = 'js'.$name; if (isset($args['id'])) { $id = $args['id']; } + $tip = ''; + if (isset($args['tip'])) { + $tip = ''.$args['tip'].''; + } + + $label = ''; + if (isset($args['label'])) { + $label = ''; + } + $class = 'form-control'; if (isset($args['class'])) { $class = $class.' '.$args['class']; } - $disabled = empty($args['disabled'])?'':'disabled'; - - $html = '