Esempio n. 1
0
                 $page->Label('Hostname:');
                 $page->AddTableData($page->PopQueue() . $page->PopQueue(), array('class' => 'port'));
                 $page->FormInput($login['dbport'], 'dbport', array(), 'tinybox');
                 $page->Label('Port:');
                 $page->AddTableData($page->PopQueue() . $page->PopQueue(), array('class' => 'host'));
                 $page->EndTable();
             } else {
                 $page->Label('Hostname:');
                 $page->FormInput($login['hostname'], 'hostname');
             }
             $page->Label('Username:'******'username'], 'username');
             $page->Label('Password:'******'encryptlogin']) {
                 $page->FormPassword($login['password'], 'password');
             } else {
                 $page->FormInput($login['password'], 'password');
             }
             $prev = GetPrevStep(STEP_DBCONNECT);
             if ($prev) {
                 $page->FormButton('Back', array('step' => $prev));
             }
             $page->FormSubmit('Next');
             $page->FormClose();
         }
         $page->ShowPage(STEP_DBCONNECT);
     }
 }
 /* ===================================================[ DATABASE SELECTION/CREATION ]=================================================== */
 if ($steps[STEP_DBSELECT]['enabled']) {