diff --git a/setup/wizard/lib/services/unixOpenOffice.php b/setup/wizard/lib/services/unixOpenOffice.php new file mode 100644 index 0000000..3f46ea6 --- /dev/null +++ b/setup/wizard/lib/services/unixOpenOffice.php @@ -0,0 +1,51 @@ +. +* +* You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco, +* California 94120-7775, or email info@knowledgetree.com. +* +* The interactive user interfaces in modified source and object code versions +* of this program must display Appropriate Legal Notices, as required under +* Section 5 of the GNU General Public License version 3. +* +* In accordance with Section 7(b) of the GNU General Public License version 3, +* these Appropriate Legal Notices must retain the display of the "Powered by +* KnowledgeTree" logo and retain the original copyright notice. If the display of the +* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices +* must display the words "Powered by KnowledgeTree" and retain the original +* copyright notice. +* +* @copyright 2008-2009, KnowledgeTree Inc. +* @license GNU General Public License version 3 +* @author KnowledgeTree Team +* @package Installer +* @version Version 0.1 +*/ + +class unixOpenOffice extends unixService { + + public function __construct() { + $this->name = "KTOpenOfficeTest"; + } + + +} +?> \ No newline at end of file diff --git a/setup/wizard/lib/services/windowsOpenOffice.php b/setup/wizard/lib/services/windowsOpenOffice.php new file mode 100644 index 0000000..b506978 --- /dev/null +++ b/setup/wizard/lib/services/windowsOpenOffice.php @@ -0,0 +1,51 @@ +. +* +* You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco, +* California 94120-7775, or email info@knowledgetree.com. +* +* The interactive user interfaces in modified source and object code versions +* of this program must display Appropriate Legal Notices, as required under +* Section 5 of the GNU General Public License version 3. +* +* In accordance with Section 7(b) of the GNU General Public License version 3, +* these Appropriate Legal Notices must retain the display of the "Powered by +* KnowledgeTree" logo and retain the original copyright notice. If the display of the +* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices +* must display the words "Powered by KnowledgeTree" and retain the original +* copyright notice. +* +* @copyright 2008-2009, KnowledgeTree Inc. +* @license GNU General Public License version 3 +* @author KnowledgeTree Team +* @package Installer +* @version Version 0.1 +*/ + +class windowsOpenOffice extends windowsService { + + + public function __construct() { + $this->name = "KTOpenOfficeTest"; + } + +} +?> \ No newline at end of file diff --git a/setup/wizard/resources/wizard.css b/setup/wizard/resources/wizard.css index 6ca6da5..0fd071e 100644 --- a/setup/wizard/resources/wizard.css +++ b/setup/wizard/resources/wizard.css @@ -70,6 +70,7 @@ select { #wrapper { background: white url("graphics/background.gif") repeat-y left; + height:465px; } #container { @@ -83,6 +84,7 @@ select { margin-left: 200px; padding: 10px; padding-top: 0; + width:950px; } #sidebar { @@ -291,7 +293,7 @@ refresh { border:none; background-color:#FFCCCC; color:#A30000; - width:550px; +/* width:550px; */ padding:0px; } @@ -302,4 +304,15 @@ refresh { /*color:#339933;*/ width:550px; padding:0px; +} + +.license_agreement { + overflow: scroll; + height: 255px; + width:800px; + overflow-x:hidden; +} + +.regSubmit { + } \ No newline at end of file diff --git a/setup/wizard/resources/wizard.js b/setup/wizard/resources/wizard.js index 9471155..8e18219 100644 --- a/setup/wizard/resources/wizard.js +++ b/setup/wizard/resources/wizard.js @@ -10,6 +10,9 @@ wizard.prototype.doFormCheck = function() { // Toggle Advance Database options wizard.prototype.toggleClass = function(el) { var el = document.getElementsByClassName(el); //adv_options|php_details|php_ext_details|php_con_details + if (el == 'adv_options') { + + } if(el[0].style.display == 'none') el[0].style.display = 'block'; else diff --git a/setup/wizard/steps/configuration.php b/setup/wizard/steps/configuration.php index f9caf3f..09c4373 100644 --- a/setup/wizard/steps/configuration.php +++ b/setup/wizard/steps/configuration.php @@ -354,6 +354,7 @@ class configuration extends Step if($class['class'] != 'tick') { $this->temp_variables['paths_perms'] = $class['class']; $this->done = false; + $this->error[] = "path error"; } $dirs[$key] = array_merge($dirs[$key], $class); } diff --git a/setup/wizard/steps/services.php b/setup/wizard/steps/services.php index ecb9b64..1dbda64 100644 --- a/setup/wizard/steps/services.php +++ b/setup/wizard/steps/services.php @@ -60,7 +60,7 @@ class services extends Step */ protected $runInstall = true; - private $services = array('Lucene', 'Scheduler'); + private $services = array('Lucene', 'Scheduler', 'OpenOffice'); protected $java; @@ -68,7 +68,7 @@ class services extends Step protected $util; - private $javaVersion = '1.5'; + private $javaVersion = '1.7'; /** * Java Installed @@ -342,12 +342,23 @@ class services extends Step if($auto) { return $auto; } else { - $this->specifyJava(); // Ask for settings + // Check if auto detected java works + $auto = $this->useDetected(); + if($auto) { + $this->disableExtension = true; // Disable the use of the php bridge extension + return $auto; + } else { + $this->specifyJava(); // Ask for settings + } } return $auto; } } + private function useDetected() { + return $this->detSettings(); + } + private function specifyJava() { $this->javaExeError = true; } diff --git a/setup/wizard/templates/configuration.tpl b/setup/wizard/templates/configuration.tpl index ebd99cf..12a0b49 100644 --- a/setup/wizard/templates/configuration.tpl +++ b/setup/wizard/templates/configuration.tpl @@ -4,24 +4,37 @@ The wizard will review your system to determine whether KnowledgeTree is correctly configured. You’ll see whether KnowledgeTree has the correct settings or whether changes are required.
- \ No newline at end of file diff --git a/setup/wizard/templates/configuration_confirm.tpl b/setup/wizard/templates/configuration_confirm.tpl index 3dfecf8..52a5fca 100644 --- a/setup/wizard/templates/configuration_confirm.tpl +++ b/setup/wizard/templates/configuration_confirm.tpl @@ -4,42 +4,39 @@| Host: | +Host: | |
| Port: | +Port: | |
| Root Url: | +Root Url: | |
| File System Root: | +File System Root: | |
| SSL Enabled: | +SSL Enabled: |
| \n"; - $row .= " | {$path['name']}: | \n"; - $row .= "{$path['path']} | \n"; - - $row .= "
'> |
+ : | ++ |