Esempio n. 1
0
             DatabaseSelectionListForm();
             // Only show the manual box if set to 'both'
             if ($steps[STEP_DBSELECT]['selecttype'] == 'both') {
                 DatabaseManualBoxForm('Or enter a database name manually:');
             }
         } else {
             $page->Paragraph('Enter the name of the database to use with this installation.');
             $page->Label('Database list:');
             // If database error messages should be displayed
             $error = $dbase->GetDatabaseError();
             if (strlen($error) > 0) {
                 if ($config['show_database_error_messages']) {
                     $page->InfoBox('The user <b><tt>' . $login['username'] . '</tt></b> is denied access to a list of databases');
                     $page->ErrorDatabaseBox($error);
                 } else {
                     $page->Quotation('There are no databases available on ' . $login['hostname']);
                 }
             } else {
                 $page->Quotation('There are no databases available on ' . $login['hostname']);
             }
             DatabaseManualBoxForm('Enter database name manually:');
         }
     }
 }
 // -------------------( Option B: Create new database )-------------------//
 if ($steps[STEP_DBSELECT]['allowcreate']) {
     $page->Paragraph('&nbsp;');
     $page->MainTitle('Create new database', 'dbnew');
     if (is_array($msg)) {
         foreach ($msg as $item) {
             $page->AddToQueue($item);
Esempio n. 2
0
					{
						$required = $required.' or less';
						if($curInt <= $reqInt)
							 $current = GetAsGreen($current, true);
						else $current = GetAsRed($current, true);
					}
				}
		
				$page->AddTableData('<tt>'.$required.'</tt>', array('style'=>'text-align:center;'));
				$page->AddTableData('<tt>'.$current.'</tt>', array('style'=>'text-align:center;'));			
			}
			$page->EndTable();
		}
		else
		{
			$page->Quotation('No directives are required');
		}
	}


	/* ===================================================[ ALL OTHER STEPS ]=================================================== */

	// Do some step checking
	else
	{
		// For the additional step checks
		$keyCtrl = array();
		$txtCtrl = array();
		$keyCount = array();
		$txtCount = array();