<div class='col-sm-9'> <input name='months' id='months-id' class='form-control' type='number' min='1' step='1' value='6'> </div> </div>"; $confirm = ''; } elseif (isset($_POST['move_submit'])) { $nodePickerParams = array( 'defaults' => $dep, 'multiple' => false); if (isDepartmentAdmin()) { $nodePickerParams['allowables'] = $user->getDepartmentIds($uid); } load_js('jstree3'); list($js, $html) = $tree->buildUserNodePicker($nodePickerParams); $head_content .= $js; $infoText = sprintf($langMoveUserInfo, '<b>' . q($tree->getNodeName($dep)) . '</b>'); $monthsField = " <input type='hidden' name='old_dep' value='$dep'> <div class='form-group'> <label class='col-sm-2 control-label' for='dialog-set-value'>$langFaculty:</label> <div class='col-sm-9 '>$html</div> </div>"; $confirm = ''; } else { $infoText = $langMultiDelUserInfo; $monthsField = ''; $confirm = " onclick='return confirmation(\"" . q($langMultiDelUserConfirm) . "\");'"; } $tool_content .= " <div class='alert alert-info'>$infoText</div> <div class='form-wrapper'>