} } ?> <div class="container_mid"> <fieldset class="top"> New Database Connection </fieldset> <fieldset class="middle"> <table class="input_form"> <?php drawTextField('DB Connection Name', 'DB_Connection_Name'); drawTextField('Hostname'); drawTextField('Database'); drawTextField('Username'); drawTextField('Password', '', '', 'password'); drawTextField('Confirm Password', 'Confirm_Password', '', 'password'); $arrayItems = array('Items' => array('Yes', 'No'), 'Values' => array('Yes', 'No'), 'PerLine' => FALSE); drawRadioField($arrayItems, 'Use as Default?', 'Default_Connection'); ?> </table> </fieldset> <fieldset class="bottom"> <?php drawSubmitCancel(); ?> </fieldset> </div> <?php drawFooter();
$arrayMultiField = array('FieldLabels' => array('VALIDATION ROUTINE'), 'FieldControls' => array('drawValidationRoutine'), 'FieldVariables' => array('Validation_Routine')); drawMultiFieldAuto('<br>Secondary validation routines for this field<br>', $arrayMultiField); ?> <tr><td colspan="2">Additional Options<br><br></td></tr> <tr><td colspan="2"> <ol class="normal"> <li> If Control Type is 'Special Textbox', choose a Book List Generator:<br> <?php drawSelectField('drawBookListGenerator', 'Book List Generator: ', 'Book_List_Generator', FALSE); ?> <br><br> <li> If Control Type is "Drop-down List", choose the list source type: <br> <?php $arrayItems = array('Items' => array('Predefined list (choose specific list in #3)', 'SQL generated'), 'Values' => array('Predefined', 'Source'), 'PerLine' => TRUE); drawRadioField($arrayItems, '', 'DropdownType', FALSE); ?> <br> <li> If Control Type is 'Radio', choose a Predefined List. <br> Or if Control Type is 'Drop-down List' but you still want <br> to use a predefined list, choose the list you want here. <br> <?php drawSelectField('drawPredefinedList', 'Predefined List: ', 'List_ID', FALSE); ?> <br><br> <li> If Control Type is 'Drop-down List' and you chose <br> SQL generated source, specify the parameters here:<br> <table align=center border=1> <tr><td>