diff --git a/setup/wizard/installer.php b/setup/wizard/installer.php
index c41c59c..0782048 100755
--- a/setup/wizard/installer.php
+++ b/setup/wizard/installer.php
@@ -457,6 +457,12 @@ class Installer {
$class->setDataFromSession($className); // Set Session Information
$class->setDBConfig(); // Set any posted variables
$response = $class->installStep(); // Run install step
+ echo "$className==$response
";
+ echo "
";print_r($_SESSION['database']);echo ""; +// echo $response; +// if($response == 'error') { +// return $this->landing(); +// } } } else { die("$className : Class Files Missing"); diff --git a/setup/wizard/resources/wizard.css b/setup/wizard/resources/wizard.css index e09b65f..3d7c514 100644 --- a/setup/wizard/resources/wizard.css +++ b/setup/wizard/resources/wizard.css @@ -118,8 +118,8 @@ td { .indicator { background: url("graphics/indicator.png") no-repeat; - height: 15px; - width: 15px; + height: 16px; + width: 16px; padding-left: 20px; } @@ -129,35 +129,35 @@ td { .active { background: url("graphics/active.png") no-repeat; - height: 15px; - width: 15px; + height: 16px; + width: 16px; padding-left: 20px; } .inactive { background: url("graphics/inactive.png") no-repeat; - height: 15px; - width: 15px; + height: 16px; + width: 16px; padding-left: 20px; color: #919191; } .tick { background: url("graphics/tick.png") no-repeat; - height: 15px; - width: 15px; + height: 16px; + width: 16px; } .cross { background: url("graphics/cross.png") no-repeat; - height: 15px; - width: 15px; + height: 16px; + width: 16px; } .cross_orange { background: url("graphics/cross_orange.png") no-repeat; - height: 15px; - width: 15px; + height: 16px; + width: 16px; } .green { @@ -232,3 +232,19 @@ td { .right_top { height:45px; } + +table#dbconf tr td { + width:50%; +} + +input#dname { + size:40px; +} + +.options { + width:15%; +} + +.adv_options { + padding: 5px 8px; +} \ No newline at end of file diff --git a/setup/wizard/resources/wizard.js b/setup/wizard/resources/wizard.js new file mode 100644 index 0000000..e38f6b3 --- /dev/null +++ b/setup/wizard/resources/wizard.js @@ -0,0 +1,143 @@ +// Class Wizard +function wizard() { +} + +// Does a form check on every new page load +wizard.prototype.doFormCheck = function() { + w.addReadOnly(); +} + +// Disable DnD on element +// Element has to have a readOnly status set to readonly +wizard.prototype.disableDnd = function(el_id) { + el = document.getElementById(el_id); + el.removeAttribute('readOnly'); +} + +// Add readOnly access on all inputs of a form +wizard.prototype.addReadOnly = function() { + inputs = document.getElementsByTagName('input'); + for(i=0;i