Commit ccbcc543900627e30789ed2958db05bd1578a5e4

Authored by Paul Barrett
2 parents c9ab6dcd ea3d0364

Merge branch 'edge' into cmis_checkout

.gitignore
1 -*~  
2 -bin/luceneserver/lucene.pid  
3 -*.tmproj  
4 -.DS_Store  
5 -.buildpath  
6 -.project  
7 -.settings/  
8 -dummy.php  
9 -var/*  
10 -plugins/commercial 1 +*~
  2 +bin/luceneserver/lucene.pid
  3 +*.tmproj
  4 +.DS_Store
  5 +.buildpath
  6 +.project
  7 +.settings/
  8 +dummy.php
  9 +var/*
  10 +plugins/commercial
bin/luceneserver/KnowledgeTreeIndexer.Logging.properties
1 -# Set root logger level to DEBUG and its only appender to A1.  
2 -log4j.rootLogger=INFO, A1  
3 -  
4 -# A1 is set to be a ConsoleAppender.  
5 -log4j.appender.A1=org.apache.log4j.ConsoleAppender  
6 -  
7 -# A1 uses PatternLayout.  
8 -log4j.appender.A1.layout=org.apache.log4j.PatternLayout  
9 -log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n 1 +# Set root logger level to DEBUG and its only appender to A1.
  2 +log4j.rootLogger=INFO, A1
  3 +
  4 +# A1 is set to be a ConsoleAppender.
  5 +log4j.appender.A1=org.apache.log4j.ConsoleAppender
  6 +
  7 +# A1 uses PatternLayout.
  8 +log4j.appender.A1.layout=org.apache.log4j.PatternLayout
  9 +log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
bin/luceneserver/KnowledgeTreeIndexer.properties
1 -server.port=8875  
2 -server.paranoid=false  
3 -server.accept=127.0.0.1  
4 -server.deny=  
5 -indexer.directory=../../../var/indexes  
6 -indexer.analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer  
7 - 1 +server.port=8875
  2 +server.paranoid=false
  3 +server.accept=127.0.0.1
  4 +server.deny=
  5 +indexer.directory=../../../var/indexes
  6 +indexer.analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer
  7 +
bin/schedulerTask.sh deleted
1 -#!/bin/sh  
2 -cd /var/www/installers/knowledgetree/bin/  
3 -while true; do  
4 -php -Cq scheduler.php  
5 -sleep 30  
6 -done  
7 \ No newline at end of file 0 \ No newline at end of file
ktapi/ktapi.inc.php
@@ -3304,7 +3304,7 @@ class KTAPI @@ -3304,7 +3304,7 @@ class KTAPI
3304 $url = $download_manager->allow_download($document); 3304 $url = $download_manager->allow_download($document);
3305 3305
3306 $response['status_code'] = 0; 3306 $response['status_code'] = 0;
3307 - $response['results'] = $url; 3307 + $response['results'] = urlencode($url);
3308 3308
3309 return $response; 3309 return $response;
3310 } 3310 }
setup/wizard/lib/helpers/phpinfo.php 0 โ†’ 100644
  1 +<?php echo phpinfo(); ?>
0 \ No newline at end of file 2 \ No newline at end of file
setup/wizard/lib/services/unixScheduler.php
@@ -95,7 +95,7 @@ class unixScheduler extends unixService { @@ -95,7 +95,7 @@ class unixScheduler extends unixService {
95 } 95 }
96 96
97 function writeSchedulerTask() { 97 function writeSchedulerTask() {
98 - $fp = fopen($this->getSchedulerDir().$this->getSchedulerSource(), "w+"); 98 + $fp = @fopen($this->getSchedulerDir().$this->getSchedulerSource(), "w+");
99 $content = "#!/bin/sh\n"; 99 $content = "#!/bin/sh\n";
100 $content .= "cd ".$this->getSchedulerDir()."\n"; 100 $content .= "cd ".$this->getSchedulerDir()."\n";
101 $content .= "while true; do\n"; 101 $content .= "while true; do\n";
@@ -103,8 +103,9 @@ class unixScheduler extends unixService { @@ -103,8 +103,9 @@ class unixScheduler extends unixService {
103 $content .= "php -Cq scheduler.php\n"; 103 $content .= "php -Cq scheduler.php\n";
104 $content .= "sleep 30\n"; 104 $content .= "sleep 30\n";
105 $content .= "done"; 105 $content .= "done";
106 - fwrite($fp, $content);  
107 - fclose($fp); 106 + @fwrite($fp, $content);
  107 + @fclose($fp);
  108 + @chmod($this->getSchedulerDir().$this->getSchedulerSource(), '644');
108 } 109 }
109 110
110 function install() { 111 function install() {
@@ -146,6 +147,8 @@ class unixScheduler extends unixService { @@ -146,6 +147,8 @@ class unixScheduler extends unixService {
146 } 147 }
147 148
148 function start() { 149 function start() {
  150 + // TODO : Write sh on the fly? Not sure the reasoning here
  151 + $this->writeSchedulerTask();
149 $source = $this->getSchedulerSourceLoc(); 152 $source = $this->getSchedulerSourceLoc();
150 if($source) { // Source 153 if($source) { // Source
151 $cmd = "nohup ".$source." > ".SYS_LOG_DIR."scheduler.log 2>&1 & echo $!"; 154 $cmd = "nohup ".$source." > ".SYS_LOG_DIR."scheduler.log 2>&1 & echo $!";
setup/wizard/path.php
@@ -102,7 +102,8 @@ @@ -102,7 +102,8 @@
102 define('PHP_DIR', $zendsys."ZendServer".DS."bin".DS); 102 define('PHP_DIR', $zendsys."ZendServer".DS."bin".DS);
103 } else { 103 } else {
104 $modules = get_loaded_extensions(); 104 $modules = get_loaded_extensions();
105 - if(in_array('Zend Monitor', $modules)) { // TODO: Dirty 105 + // TODO: Dirty
  106 + if(in_array('Zend Download Server', $modules) || in_array('Zend Monitor', $modules) || in_array('Zend Utils', $modules) || in_array('Zend Page Cache', $modules)) {
106 define('INSTALL_TYPE', 'Zend'); 107 define('INSTALL_TYPE', 'Zend');
107 define('PHP_DIR', ''); 108 define('PHP_DIR', '');
108 } else { 109 } else {
setup/wizard/resources/wizard.css
@@ -176,7 +176,7 @@ select { @@ -176,7 +176,7 @@ select {
176 176
177 .error { 177 .error {
178 font-weight: bold; 178 font-weight: bold;
179 - color: #9F0000; 179 + color: red;
180 } 180 }
181 181
182 .errors { 182 .errors {
@@ -264,4 +264,8 @@ input#dname { @@ -264,4 +264,8 @@ input#dname {
264 264
265 #section { 265 #section {
266 /*border:1px solid;*/ 266 /*border:1px solid;*/
  267 +}
  268 +
  269 +sup {
  270 + font-size: 11px;
267 } 271 }
268 \ No newline at end of file 272 \ No newline at end of file
setup/wizard/resources/wizard.js
@@ -7,27 +7,6 @@ wizard.prototype.doFormCheck = function() { @@ -7,27 +7,6 @@ wizard.prototype.doFormCheck = function() {
7 w.addReadOnly(); 7 w.addReadOnly();
8 } 8 }
9 9
10 -// Disable DnD on element  
11 -// Element has to have a readOnly status set to readonly  
12 -wizard.prototype.disableDnd = function(el_id) {  
13 -// el = document.getElementById(el_id);  
14 -// el.removeAttribute('readOnly');  
15 -}  
16 -  
17 -// Add readOnly access on all inputs of a form  
18 -wizard.prototype.addReadOnly = function() {  
19 - inputs = document.getElementsByTagName('input');  
20 - for(i=0;i<inputs.length;i++) {  
21 - var input_id = inputs[i].id;  
22 - if(input_id != '') {  
23 -// inputs[i].setAttribute('readOnly', 'readonly');  
24 -// inputs[i].setAttribute('onfocus', "javascript:{w.disableDnd('"+ input_id +"')}");  
25 -// inputs[i].focus();  
26 -// w.focusElement(inputs[i]);  
27 - }  
28 - }  
29 -}  
30 -  
31 // Toggle Advance Database options 10 // Toggle Advance Database options
32 wizard.prototype.toggleClass = function(el) { 11 wizard.prototype.toggleClass = function(el) {
33 var el = document.getElementsByClassName(el); //adv_options|php_details|php_ext_details|php_con_details 12 var el = document.getElementsByClassName(el); //adv_options|php_details|php_ext_details|php_con_details
@@ -150,4 +129,83 @@ wizard.prototype.onSubmitValidate = function(silent) { @@ -150,4 +129,83 @@ wizard.prototype.onSubmitValidate = function(silent) {
150 } 129 }
151 } 130 }
152 return true; 131 return true;
  132 +}
  133 +
  134 +// Validate Registration Page
  135 +wizard.prototype.validateRegistration = function() {
  136 + var first = document.getElementById('first');
  137 + var last = document.getElementById('last');
  138 + var email = document.getElementById('email');
  139 + if(first.value < 2) {
  140 +
  141 + return false;
  142 + }
  143 + if(last.value < 2) {
  144 +
  145 +
  146 + }
  147 + if(w.emailCheck(email.value)) {
  148 +
  149 + }
  150 +
  151 + return false;
  152 +}
  153 +
  154 +// Validate Registration Page Courtesy of SmartWebby.com (http://www.smartwebby.com/dhtml/)
  155 +wizard.prototype.emailCheck = function() {
  156 + var at="@";
  157 + var dot=".";
  158 + var lat=str.indexOf(at);
  159 + var lstr=str.length;
  160 + var ldot=str.indexOf(dot);
  161 + if (str.indexOf(at)==-1) {
  162 + // alert("Invalid E-mail ID")
  163 + return false;
  164 + }
  165 + if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr) {
  166 + // alert("Invalid E-mail ID")
  167 + return false;
  168 + }
  169 + if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr) {
  170 + // alert("Invalid E-mail ID")
  171 + return false;
  172 + }
  173 + if (str.indexOf(at,(lat+1))!=-1) {
  174 + // alert("Invalid E-mail ID")
  175 + return false;
  176 + }
  177 + if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
  178 + // alert("Invalid E-mail ID")
  179 + return false;
  180 + }
  181 + if (str.indexOf(dot,(lat+2))==-1){
  182 + // alert("Invalid E-mail ID")
  183 + return false;
  184 + }
  185 + if (str.indexOf(" ")!=-1){
  186 + // alert("Invalid E-mail ID")
  187 + return false;
  188 + }
  189 + return true;
  190 +}
  191 +
  192 +// Disable DnD on element
  193 +// Element has to have a readOnly status set to readonly
  194 +wizard.prototype.disableDnd = function(el_id) {
  195 +// el = document.getElementById(el_id);
  196 +// el.removeAttribute('readOnly');
  197 +}
  198 +
  199 +// Add readOnly access on all inputs of a form
  200 +wizard.prototype.addReadOnly = function() {
  201 + inputs = document.getElementsByTagName('input');
  202 + for(i=0;i<inputs.length;i++) {
  203 + var input_id = inputs[i].id;
  204 + if(input_id != '') {
  205 +// inputs[i].setAttribute('readOnly', 'readonly');
  206 +// inputs[i].setAttribute('onfocus', "javascript:{w.disableDnd('"+ input_id +"')}");
  207 +// inputs[i].focus();
  208 +// w.focusElement(inputs[i]);
  209 + }
  210 + }
153 } 211 }
154 \ No newline at end of file 212 \ No newline at end of file
setup/wizard/shells/javaVersion.sh
1 -#!/bin/bash 1 +#!/bin/bash
2 java -version > output/outJV 2>&1 echo $! 2 java -version > output/outJV 2>&1 echo $!
3 \ No newline at end of file 3 \ No newline at end of file
setup/wizard/steps/complete.php
@@ -143,8 +143,9 @@ class complete extends Step { @@ -143,8 +143,9 @@ class complete extends Step {
143 $this->temp_variables['docLocation'] = '<td><div class="cross_orange"></div></td>' 143 $this->temp_variables['docLocation'] = '<td><div class="cross_orange"></div></td>'
144 . '<td class="warning" colspan="2">Your document directory is set to the default, which is inside the web root. ' 144 . '<td class="warning" colspan="2">Your document directory is set to the default, which is inside the web root. '
145 . 'This may present a security problem if your documents can be accessed from the web, ' 145 . 'This may present a security problem if your documents can be accessed from the web, '
146 - . 'working around the permission system in KnowledgeTree.</td>'; 146 + . 'working around the permission system in KnowledgeTree<sup>&#174;</sup>.</td>';
147 $this->paths_check = 'cross_orange'; 147 $this->paths_check = 'cross_orange';
  148 + $this->warnings[] = 'Move var directory';
148 } 149 }
149 else { 150 else {
150 $this->temp_variables['docLocation'] = sprintf($html, 'tick', '', 'Your document directory is outside the web root.'); 151 $this->temp_variables['docLocation'] = sprintf($html, 'tick', '', 'Your document directory is outside the web root.');
setup/wizard/steps/database.php
@@ -202,7 +202,7 @@ class database extends Step @@ -202,7 +202,7 @@ class database extends Step
202 * @access public 202 * @access public
203 * @var array 203 * @var array
204 */ 204 */
205 - public $temp_variables = array("step_name"=>"database"); 205 + public $temp_variables = array();
206 206
207 /** 207 /**
208 * List of errors encountered 208 * List of errors encountered
setup/wizard/steps/dependencies.php
@@ -259,7 +259,7 @@ class dependencies extends Step @@ -259,7 +259,7 @@ class dependencies extends Step
259 259
260 if($phpversion6 != 1){ 260 if($phpversion6 != 1){
261 $this->done = false; 261 $this->done = false;
262 - $check['version'] = "KnowledgeTree is not supported on PHP 6.0 and higher. You are running version <b>{$phpversion}</b>."; 262 + $check['version'] = "KnowledgeTree<sup>&#174;</sup> is not supported on PHP 6.0 and higher. You are running version <b>{$phpversion}</b>.";
263 return $check; 263 return $check;
264 } 264 }
265 $check['class'] = 'tick'; 265 $check['class'] = 'tick';
setup/wizard/steps/registration.php
@@ -42,13 +42,16 @@ @@ -42,13 +42,16 @@
42 42
43 class registration extends Step 43 class registration extends Step
44 { 44 {
  45 +
  46 + public $temp_variables = array("step_name"=>"registration");
  47 +
45 /** 48 /**
46 * Initialise the registration step 49 * Initialise the registration step
47 * 50 *
48 * @author KnowledgeTree Team 51 * @author KnowledgeTree Team
49 * @access public 52 * @access public
50 */ 53 */
51 - public function configure() 54 + public function __construct()
52 { 55 {
53 $this->temp_variables = array("step_name"=>"registration"); 56 $this->temp_variables = array("step_name"=>"registration");
54 } 57 }
@@ -430,7 +433,8 @@ class registration extends Step @@ -430,7 +433,8 @@ class registration extends Step
430 'RO' => 'ROMANIA', 433 'RO' => 'ROMANIA',
431 'RU' => 'RUSSIAN FEDERATION', 434 'RU' => 'RUSSIAN FEDERATION',
432 'RW' => 'RWANDA', 435 'RW' => 'RWANDA',
433 - 'BL' => 'SAINT BARTH๏ฟฝLEMY', 436 +// TODO: Special Character for the e
  437 + 'BL' => 'SAINT BARTHELEMY',
434 'SH' => 'SAINT HELENA', 438 'SH' => 'SAINT HELENA',
435 'KN' => 'SAINT KITTS AND NEVIS', 439 'KN' => 'SAINT KITTS AND NEVIS',
436 'LC' => 'SAINT LUCIA', 440 'LC' => 'SAINT LUCIA',
setup/wizard/steps/services.php
@@ -89,6 +89,24 @@ class services extends Step @@ -89,6 +89,24 @@ class services extends Step
89 private $alreadyInstalled = false; 89 private $alreadyInstalled = false;
90 90
91 /** 91 /**
  92 + * Flag if services are already Installed
  93 + *
  94 + * @author KnowledgeTree Team
  95 + * @access private
  96 + * @var mixed
  97 + */
  98 + private $luceneInstalled = false;
  99 +
  100 + /**
  101 + * Flag if services are already Installed
  102 + *
  103 + * @author KnowledgeTree Team
  104 + * @access private
  105 + * @var mixed
  106 + */
  107 + private $schedulerInstalled = false;
  108 +
  109 + /**
92 * PHP Installed 110 * PHP Installed
93 * 111 *
94 * @author KnowledgeTree Team 112 * @author KnowledgeTree Team
@@ -302,6 +320,7 @@ class services extends Step @@ -302,6 +320,7 @@ class services extends Step
302 return true; 320 return true;
303 } 321 }
304 322
  323 +
305 /** 324 /**
306 * Do some basic checks to help the user overcome java problems 325 * Do some basic checks to help the user overcome java problems
307 * 326 *
@@ -759,9 +778,12 @@ class services extends Step @@ -759,9 +778,12 @@ class services extends Step
759 */ 778 */
760 private function storeSilent() { 779 private function storeSilent() {
761 $this->temp_variables['alreadyInstalled'] = $this->alreadyInstalled; 780 $this->temp_variables['alreadyInstalled'] = $this->alreadyInstalled;
  781 + $this->temp_variables['luceneInstalled'] = $this->luceneInstalled;
  782 + $this->temp_variables['schedulerInstalled'] = $this->schedulerInstalled;
762 $this->temp_variables['javaExeError'] = $this->javaExeError; 783 $this->temp_variables['javaExeError'] = $this->javaExeError;
763 $this->temp_variables['javaCheck'] = $this->javaCheck; 784 $this->temp_variables['javaCheck'] = $this->javaCheck;
764 $this->temp_variables['javaExtCheck'] = $this->javaExtCheck; 785 $this->temp_variables['javaExtCheck'] = $this->javaExtCheck;
  786 + // TODO : PHP detection
765 $this->temp_variables['phpCheck'] = 'tick';//$this->phpCheck; 787 $this->temp_variables['phpCheck'] = 'tick';//$this->phpCheck;
766 $this->temp_variables['phpExeError'] = '';//$this->phpExeError; 788 $this->temp_variables['phpExeError'] = '';//$this->phpExeError;
767 $this->temp_variables['serviceCheck'] = $this->serviceCheck; 789 $this->temp_variables['serviceCheck'] = $this->serviceCheck;
setup/wizard/templates/complete.tpl
1 <h1>Installation Completed</h1> 1 <h1>Installation Completed</h1>
2 2
3 -<h2>KnowledgeTree post-configuration checkup</h2> 3 +<h2>KnowledgeTree<sup>&#174;</sup> post-configuration checkup</h2>
4 4
5 -<p>This allows you to check that your KnowledgeTree configuration is set 5 +<p>This allows you to check that your KnowledgeTree<sup>&#174;</sup> configuration is set
6 up correctly. You can run this at any time after configuration to check 6 up correctly. You can run this at any time after configuration to check
7 that things are still set up correctly.</p> 7 that things are still set up correctly.</p>
8 8
9 <?php 9 <?php
10 if($errors || $warnings){ 10 if($errors || $warnings){
11 echo '<div>' 11 echo '<div>'
12 - . '<a href="http://wiki.knowledgetree.com/Web_Based_Installer#PHP_Dependencies" target="_blank">'  
13 - . 'Click Here for help on overcoming dependency issues</a></div><br/>'; 12 + . '<a href="http://wiki.knowledgetree.com/Web_Based_Installer#Post_Install" target="_blank">'
  13 + . 'Click Here for help on overcoming post install issues</a></div><br/>';
14 } 14 }
15 ?> 15 ?>
16 16
@@ -80,7 +80,7 @@ if($errors || $warnings){ @@ -80,7 +80,7 @@ if($errors || $warnings){
80 <form> 80 <form>
81 <div class="buttons"> 81 <div class="buttons">
82 <!-- <a href="index.php?step_name=complete&step=previous" class="previous">Previous</a>--> 82 <!-- <a href="index.php?step_name=complete&step=previous" class="previous">Previous</a>-->
83 -<!-- <a href="">Refresh</a>--> 83 + <a href="">Refresh</a>
84 <a href="../../">Goto Login</a> 84 <a href="../../">Goto Login</a>
85 <?php 85 <?php
86 if (INSTALL_TYPE == 'Zend') { 86 if (INSTALL_TYPE == 'Zend') {
setup/wizard/templates/configuration.tpl
1 <h1>System Configuration</h1> 1 <h1>System Configuration</h1>
2 2
3 <p class="description"> 3 <p class="description">
4 -This check ensures that KnowledgeTree is correctly configured to run. 4 +This check ensures that KnowledgeTree<sup>&#174;</sup> is correctly configured to run.
5 </p> 5 </p>
6 6
7 <form action="index.php?step_name=configuration" method="post"> 7 <form action="index.php?step_name=configuration" method="post">
@@ -9,7 +9,7 @@ This check ensures that KnowledgeTree is correctly configured to run. @@ -9,7 +9,7 @@ This check ensures that KnowledgeTree is correctly configured to run.
9 <h3>Server Settings</h3> 9 <h3>Server Settings</h3>
10 10
11 <p class="description"> 11 <p class="description">
12 -The settings below have been drawn from the system information. The host and port should reflect the host and port that will be used to access KnowledgeTree. The Root Url is only needed if your installation is in a directory off the main web server root. 12 +The settings below have been drawn from the system information. The host and port should reflect the host and port that will be used to access KnowledgeTree<sup>&#174;</sup>. The Root Url is only needed if your installation is in a directory off the main web server root.
13 </p> 13 </p>
14 14
15 <div class="error"> 15 <div class="error">
@@ -55,7 +55,7 @@ The settings below have been drawn from the system information. The host and por @@ -55,7 +55,7 @@ The settings below have been drawn from the system information. The host and por
55 <div class="paths_perms" style="display:none"> 55 <div class="paths_perms" style="display:none">
56 <?php } ?> 56 <?php } ?>
57 <p class="description"> 57 <p class="description">
58 -The following folders must be writable for KnowledgeTree to be able to run. The permissions on the configuration file may be reset to read-only once the installation has completed. 58 +The following folders must be writable for KnowledgeTree<sup>&#174;</sup> to be able to run. The permissions on the configuration file may be reset to read-only once the installation has completed.
59 </p> 59 </p>
60 <table> 60 <table>
61 <?php 61 <?php
setup/wizard/templates/database.tpl
@@ -12,10 +12,14 @@ @@ -12,10 +12,14 @@
12 user on the database server are required in order to be able to configure and install the installation database. 12 user on the database server are required in order to be able to configure and install the installation database.
13 </div> 13 </div>
14 <table class="dbconf"> 14 <table class="dbconf">
  15 +<!-- TODO: Different Databases-->
15 <tr><td>Your current database type is: </td> 16 <tr><td>Your current database type is: </td>
16 <?php if($dtypes) { 17 <?php if($dtypes) {
17 foreach($dtypes as $k=>$v) { 18 foreach($dtypes as $k=>$v) {
18 - ?><td><input type="hidden" name="dtype" value="<?php echo $v; ?>" <?php if(!$k)echo 'checked="checked"'; ?>/>&nbsp;&nbsp;<?php echo ucwords($v); ?></td> 19 + ?><td>
  20 + <?php echo ucwords($v);?>
  21 +<!-- <input type="hidden" name="dtype" value="<?php //echo $v; ?>" <?php //if(!$k)echo 'checked="checked"'; ?>/>&nbsp;&nbsp;<?php //echo ucwords($v); ?>-->
  22 + </td>
19 <?php } 23 <?php }
20 } 24 }
21 ?> 25 ?>
setup/wizard/templates/database_confirm.tpl
@@ -3,11 +3,10 @@ @@ -3,11 +3,10 @@
3 <div class="description"> 3 <div class="description">
4 Please confirm that your database settings have been entered correctly before proceeding with the installation. 4 Please confirm that your database settings have been entered correctly before proceeding with the installation.
5 </div> 5 </div>
6 -<div id="section">  
7 -<h3>Database Settings</h3> 6 +<!--<div id="section">-->
8 7
9 <form action="index.php?step_name=<?php echo $step_name; ?>" method="post"> 8 <form action="index.php?step_name=<?php echo $step_name; ?>" method="post">
10 - 9 +<h3><b>Database Settings</b></h3>
11 <table width="20%" class="dbconf"> 10 <table width="20%" class="dbconf">
12 <?php 11 <?php
13 if($dtypes) { 12 if($dtypes) {
@@ -17,24 +16,24 @@ if($dtypes) { @@ -17,24 +16,24 @@ if($dtypes) {
17 } 16 }
18 ?> 17 ?>
19 <tr> 18 <tr>
20 - <td><b>Database type: </b></td> 19 + <td>Database type: </td>
21 <td><?php echo $type; ?></td> 20 <td><?php echo $type; ?></td>
22 </tr> 21 </tr>
23 <?php } ?> 22 <?php } ?>
24 <tr> 23 <tr>
25 - <td><b>Name: </b></td> 24 + <td>Name: </td>
26 <td><?php echo $dname; ?></td> 25 <td><?php echo $dname; ?></td>
27 </tr> 26 </tr>
28 <tr> 27 <tr>
29 - <td><b>Root Username: </b></td> 28 + <td>Root Username: </td>
30 <td><?php echo $duname; ?></td> 29 <td><?php echo $duname; ?></td>
31 </tr> 30 </tr>
32 <tr> 31 <tr>
33 - <td><b>Root Username: </b></td> 32 + <td>Root Username: </td>
34 <td><?php echo $duname; ?></td> 33 <td><?php echo $duname; ?></td>
35 </tr> 34 </tr>
36 <tr> 35 <tr>
37 - <td><b>Root Password: </b></td> 36 + <td>Root Password: </td>
38 <td><?php echo $dpassword; ?></td> 37 <td><?php echo $dpassword; ?></td>
39 </tr> 38 </tr>
40 <?php if($ddrop) { ?> 39 <?php if($ddrop) { ?>
@@ -43,51 +42,51 @@ if($dtypes) { @@ -43,51 +42,51 @@ if($dtypes) {
43 </tr> 42 </tr>
44 <?php } ?> 43 <?php } ?>
45 </table> 44 </table>
46 -</div>  
47 -<h3>Advanced Settings</h3> 45 +<!--</div>-->
  46 +<h3><b>Advanced Settings</b></h3>
48 47
49 -<table width="46%" class="dbconf"> 48 +<table width="23%" class="dbconf">
50 <tr> 49 <tr>
51 - <td><b>Host: </b></td> 50 + <td>Host: </td>
52 <td><?php echo $dhost; ?></td> 51 <td><?php echo $dhost; ?></td>
53 </tr> 52 </tr>
54 <tr> 53 <tr>
55 - <td><b>Port: </b></td> 54 + <td>Port: </td>
56 <td><?php echo $dport; ?></td> 55 <td><?php echo $dport; ?></td>
57 </tr> 56 </tr>
58 <tr> 57 <tr>
59 - <td><b>Mysql Binary: </b></td> 58 + <td>Mysql Binary: </td>
60 <td><?php echo $dbbinary; ?></td> 59 <td><?php echo $dbbinary; ?></td>
61 </tr> 60 </tr>
62 <?php if (!$silent) { ?> 61 <?php if (!$silent) { ?>
63 <tr> 62 <tr>
64 - <td><b>Table Prefix: </b></td> 63 + <td><b>Table Prefix: </td>
65 <td><?php echo $tprefix; ?></td> 64 <td><?php echo $tprefix; ?></td>
66 </tr> 65 </tr>
67 <?php } ?> 66 <?php } ?>
68 </table> 67 </table>
69 68
70 -<h3>Database Users</h3> 69 +<h3><b>Database Users</b></h3>
71 70
72 -<table width="46%" class="dbconf"> 71 +<table width="23%" class="dbconf">
73 <?php //if (!$silent) { ?> 72 <?php //if (!$silent) { ?>
74 <tr> 73 <tr>
75 - <td><b>DMS Admin Username: </b></td> 74 + <td>DMS Admin Username: </td>
76 <td><?php echo $dmsname; ?></td> 75 <td><?php echo $dmsname; ?></td>
77 </tr> 76 </tr>
78 <?php //} ?> 77 <?php //} ?>
79 <tr> 78 <tr>
80 - <td><b>DMS Admin Password: </b></td> 79 + <td>DMS Admin Password: </td>
81 <td><?php echo $dmspassword; ?></td> 80 <td><?php echo $dmspassword; ?></td>
82 </tr> 81 </tr>
83 <?php //if (!$silent) { ?> 82 <?php //if (!$silent) { ?>
84 <tr> 83 <tr>
85 - <td><b>DMS User Username: </b></td> 84 + <td>DMS User Username: </td>
86 <td><?php echo $dmsusername; ?></td> 85 <td><?php echo $dmsusername; ?></td>
87 </tr> 86 </tr>
88 <?php //} ?> 87 <?php //} ?>
89 <tr> 88 <tr>
90 - <td><b>DMS User Password: </b></td> 89 + <td>DMS User Password: </td>
91 <td><?php echo $dmsuserpassword; ?></td> 90 <td><?php echo $dmsuserpassword; ?></td>
92 </tr> 91 </tr>
93 </table> 92 </table>
setup/wizard/templates/dependencies.tpl
1 <h1>PHP Dependencies Check</h1> 1 <h1>PHP Dependencies Check</h1>
2 2
3 <p class="description"> 3 <p class="description">
4 -This checkup ensures that your environment is ready to support a KnowledgeTree installation. <br/> 4 +This checkup ensures that your environment is ready to support a KnowledgeTree<sup>&#174;</sup> installation. <br/>
5 Settings marked in green are available, settings marked in orange are optional and settings marked in red are required. 5 Settings marked in green are available, settings marked in orange are optional and settings marked in red are required.
6 </p> 6 </p>
7 7
@@ -32,7 +32,7 @@ if($silent) { ?&gt; @@ -32,7 +32,7 @@ if($silent) { ?&gt;
32 <div class="php_ext_details" style="display:none"> 32 <div class="php_ext_details" style="display:none">
33 <?php } ?> 33 <?php } ?>
34 <p class="description"> 34 <p class="description">
35 -The following determines your PHP installation environment. The extensions are required for KnowledgeTree to perform at an optimal level. 35 +The following determines your PHP installation environment. The extensions are required for KnowledgeTree<sup>&#174;</sup> to perform at an optimal level.
36 </p> 36 </p>
37 <table> 37 <table>
38 <?php 38 <?php
@@ -69,7 +69,7 @@ if($silent) { ?&gt; @@ -69,7 +69,7 @@ if($silent) { ?&gt;
69 <div class="php_con_details" style="display:none"> 69 <div class="php_con_details" style="display:none">
70 <?php } ?> 70 <?php } ?>
71 <p class="description"> 71 <p class="description">
72 -The following is the recommended PHP configuration for KnowledgeTree to perform at an optimal level. 72 +The following is the recommended PHP configuration for KnowledgeTree<sup>&#174;</sup> to perform at an optimal level.
73 </p> 73 </p>
74 <table> 74 <table>
75 <tr> 75 <tr>
@@ -88,6 +88,8 @@ The following is the recommended PHP configuration for KnowledgeTree to perform @@ -88,6 +88,8 @@ The following is the recommended PHP configuration for KnowledgeTree to perform
88 } 88 }
89 ?> 89 ?>
90 </table> 90 </table>
  91 +<br/>
  92 +B = Bytes, K = Kilobytes, M = Megabytes, G = Gigabytes
91 <?php if($silent) { ?> 93 <?php if($silent) { ?>
92 </div> 94 </div>
93 <?php } ?> 95 <?php } ?>
setup/wizard/templates/error.tpl
1 <head> 1 <head>
2 - <title>KnowledgeTree Installer</title> 2 + <title>KnowledgeTree&#174; Installer</title>
3 <script type="text/javascript" src="resources/wizard.js"></script> 3 <script type="text/javascript" src="resources/wizard.js"></script>
4 <link rel="stylesheet" type="text/css" href="resources/wizard.css"> 4 <link rel="stylesheet" type="text/css" href="resources/wizard.css">
5 </head><body onload="w.doFormCheck();"> 5 </head><body onload="w.doFormCheck();">
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
11 <div id="wrapper"> 11 <div id="wrapper">
12 <div id="container"> 12 <div id="container">
13 <div id="content"> 13 <div id="content">
14 - <h1>Welcome to the KnowledgeTree Setup Wizard</h1> 14 + <h1>Welcome to the KnowledgeTree<sup>&#174;</sup> Setup Wizard</h1>
15 15
16 <div style="width: 800px;"> 16 <div style="width: 800px;">
17 <?php if(isset($error)) echo '';echo "<div class='error'>".$error."</div>"; ?> 17 <?php if(isset($error)) echo '';echo "<div class='error'>".$error."</div>"; ?>
setup/wizard/templates/errors.tpl
1 -<h1>Welcome to the KnowledgeTree Setup Wizard</h1> 1 +<h1>Welcome to the KnowledgeTree<sup>&#174;</sup> Setup Wizard</h1>
2 2
3 <div style="width: 800px;"> 3 <div style="width: 800px;">
4 <?php if(isset($error)) echo $error; ?> 4 <?php if(isset($error)) echo $error; ?>
setup/wizard/templates/license.tpl
1 <h1>License Agreement</h1> 1 <h1>License Agreement</h1>
2 2
3 -<div class="errors"> 3 +<div class="error">
4 <?php if(isset($errors)) { 4 <?php if(isset($errors)) {
5 foreach($errors as $k=>$e) { 5 foreach($errors as $k=>$e) {
6 echo $e; 6 echo $e;
@@ -14,7 +14,7 @@ Please read and accept the license agreement below before continuing with the se @@ -14,7 +14,7 @@ Please read and accept the license agreement below before continuing with the se
14 14
15 <form action="index.php?step_name=license" method="POST"> 15 <form action="index.php?step_name=license" method="POST">
16 <div style="overflow: scroll; height: 500px; width:800px; overflow-x:hidden;"> 16 <div style="overflow: scroll; height: 500px; width:800px; overflow-x:hidden;">
17 -<h2>KnowledgeTree On-premise Commercial End-User</h2> 17 +<h2>KnowledgeTree<sup>&#174;</sup> On-premise Commercial End-User</h2>
18 <p> 18 <p>
19 License Agreement Version 2.3 19 License Agreement Version 2.3
20 </p> 20 </p>
@@ -25,9 +25,9 @@ THIS AGREEMENT AND THAT YOU HAVE THE NECESSARY AUTHORITY TO BIND THE COMPANY TO @@ -25,9 +25,9 @@ THIS AGREEMENT AND THAT YOU HAVE THE NECESSARY AUTHORITY TO BIND THE COMPANY TO
25 THE AGREEMENT, DO NOT INSTALL OR USE THE SOFTWARE. 25 THE AGREEMENT, DO NOT INSTALL OR USE THE SOFTWARE.
26 </p> 26 </p>
27 <p> 27 <p>
28 -This is an agreement entered into by and between you (the "Company") and KnowledgeTree Inc. and 28 +This is an agreement entered into by and between you (the "Company") and KnowledgeTree<sup>&#174;</sup> and
29 its subsidiaries ("KT"). This Agreement states the terms and conditions upon which KT offers to 29 its subsidiaries ("KT"). This Agreement states the terms and conditions upon which KT offers to
30 -license the KnowledgeTree Commercial Editions software provided in this package together with all 30 +license the KnowledgeTree<sup>&#174;</sup> Commercial Editions software provided in this package together with all
31 related documentation and accompanying items including, but not limited to, the executable programs, 31 related documentation and accompanying items including, but not limited to, the executable programs,
32 drivers, libraries and data files associated with such programs (collectively, the "Software"). 32 drivers, libraries and data files associated with such programs (collectively, the "Software").
33 </p> 33 </p>
@@ -134,9 +134,9 @@ User accounts cannot be shared or used by more than one individual End User but @@ -134,9 +134,9 @@ User accounts cannot be shared or used by more than one individual End User but
134 new End Users replacing former End Users. 134 new End Users replacing former End Users.
135 </p> 135 </p>
136 <p> 136 <p>
137 -License fee: The Company shall pay to KT an amount specified on the KnowledgeTree website for the 137 +License fee: The Company shall pay to KT an amount specified on the KnowledgeTree<sup>&#174;</sup> website for the
138 number of End Users that Company selects. Payment of the license fee shall be due and payable as set 138 number of End Users that Company selects. Payment of the license fee shall be due and payable as set
139 -forth in the terms and conditions on the KnowledgeTree website. All fees paid to KT are non- 139 +forth in the terms and conditions on the KnowledgeTree<sup>&#174;</sup> website. All fees paid to KT are non-
140 refundable. The Company will also pay all applicable taxes, including sales, use, personal property, 140 refundable. The Company will also pay all applicable taxes, including sales, use, personal property,
141 value-added, excise, customs fees, import duties, stamp duties and any other similar taxes and duties, 141 value-added, excise, customs fees, import duties, stamp duties and any other similar taxes and duties,
142 including penalties and interest, imposed by any federal, state, provincial or other government entity on 142 including penalties and interest, imposed by any federal, state, provincial or other government entity on
@@ -309,7 +309,7 @@ defined in FAR 52.227-14, Rights in Data - General, including Alternate III (Jun @@ -309,7 +309,7 @@ defined in FAR 52.227-14, Rights in Data - General, including Alternate III (Jun
309 <p> 309 <p>
310 <h3>CONTRACTOR/MANUFACTURER</h3> 310 <h3>CONTRACTOR/MANUFACTURER</h3>
311 The Contractor/Manufacturer for the Software is: 311 The Contractor/Manufacturer for the Software is:
312 -KnowledgeTree Inc. 312 +KnowledgeTree<sup>&#174;</sup>
313 c/o DLA Piper US LLP 313 c/o DLA Piper US LLP
314 2000 University Avenue 314 2000 University Avenue
315 East Palo Alto, CA 94303 315 East Palo Alto, CA 94303
setup/wizard/templates/registration.tpl
1 -<h1>Register your KnowledgeTree Installation</h1> 1 +<h1>Register your KnowledgeTree<sup>&#174;</sup> Installation</h1>
2 2
3 -<div class="errors"> 3 +<div class="error">
4 <?php if(isset($errors)) { 4 <?php if(isset($errors)) {
5 foreach($errors as $k=>$e) { 5 foreach($errors as $k=>$e) {
6 echo $e; 6 echo $e;
@@ -9,23 +9,23 @@ @@ -9,23 +9,23 @@
9 </div> 9 </div>
10 10
11 <p> 11 <p>
12 -Register your KnowledgeTree Installation and receive the KnowledgeTree Drop Box for Windows software, a drag and drop tool that makes  
13 -placing documents into KnowledgeTree even easier. 12 +Register your KnowledgeTree<sup>&#174;</sup> Installation and receive the KnowledgeTree<sup>&#174;</sup> Drop Box for Windows software, a drag and drop tool that makes
  13 +placing documents into KnowledgeTree<sup>&#174;</sup> even easier.
14 </p> 14 </p>
15 15
16 <p class='disclaimer'> 16 <p class='disclaimer'>
17 -We will not share your information with 3rd-parties, nor will we send you information not directly related to KnowledgeTree Inc.'s products  
18 -and services. Please see our <a href="http://www.knowledgetree.com/about/legal">Privacy and Data Retention policies</a> for more information. 17 +We will not share your information with 3rd-parties, nor will we send you information not directly related to KnowledgeTree<sup>&#174;</sup>'s products
  18 +and services. Please see our <a href="http://www.knowledgetree.com/about/legal" target="_blank">Privacy and Data Retention policies</a> for more information.
19 </p> 19 </p>
20 -  
21 -<form action="index.php?step_name=registration" method="post"> 20 +<!--<form action="index.php?step_name=registration" method="post">-->
  21 +<form id="registration" action="index.php?step_name=<?php echo $step_name; ?>" method="post" onsubmit="w.validateRegistration();return false;">
22 <p> 22 <p>
23 23
24 <table> 24 <table>
25 <tr> 25 <tr>
26 <td><label for='first'>First Name</label></td> 26 <td><label for='first'>First Name</label></td>
27 <td rowspan='6' width='5%'>&nbsp;</td> 27 <td rowspan='6' width='5%'>&nbsp;</td>
28 - <td><input name='submitted[first_name]' id='first' size='44' /></td> 28 + <td><input name='submitted[first_name]' id='first' size='37' /></td>
29 <td rowspan='6' width='5%'>&nbsp;</td> 29 <td rowspan='6' width='5%'>&nbsp;</td>
30 <td rowspan='6'> 30 <td rowspan='6'>
31 <img src='resources/graphics/dropbox.png' /> 31 <img src='resources/graphics/dropbox.png' />
@@ -33,11 +33,11 @@ and services. Please see our &lt;a href=&quot;http://www.knowledgetree.com/about/legal&quot;&gt; @@ -33,11 +33,11 @@ and services. Please see our &lt;a href=&quot;http://www.knowledgetree.com/about/legal&quot;&gt;
33 </tr> 33 </tr>
34 <tr> 34 <tr>
35 <td><label for='last'>Last Name</label></td> 35 <td><label for='last'>Last Name</label></td>
36 - <td><input name='submitted[last_name]' id='last' size='44' /></td> 36 + <td><input name='submitted[last_name]' id='last' size='37' /></td>
37 </tr> 37 </tr>
38 <tr> 38 <tr>
39 <td><label for='email'>Email Address</label></td> 39 <td><label for='email'>Email Address</label></td>
40 - <td><input name='submitted[email_address]' id='email' size='44' /></td> 40 + <td><input name='submitted[email_address]' id='email' size='37' /></td>
41 </tr> 41 </tr>
42 <tr> 42 <tr>
43 <td><label for='country'>Country</label></td> 43 <td><label for='country'>Country</label></td>
setup/wizard/templates/registration_confirm.tpl
1 <h1>Thank you for registering</h1> 1 <h1>Thank you for registering</h1>
2 2
3 -<div class="errors"> 3 +<div class="error">
4 <?php if(isset($errors)) { 4 <?php if(isset($errors)) {
5 foreach($errors as $k=>$e) { 5 foreach($errors as $k=>$e) {
6 echo $e; 6 echo $e;
@@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
9 </div> 9 </div>
10 10
11 <p> 11 <p>
12 -Thank you for signing up. You'll receive an email from us shortly with download instructions for the KnowledgeTree Drop Box software. 12 +Thank you for signing up. You'll receive an email from us shortly with download instructions for the KnowledgeTree<sup>&#174;</sup> Drop Box software.
13 </p> 13 </p>
14 14
15 <form action="index.php?step_name=registration" method="post"> 15 <form action="index.php?step_name=registration" method="post">
setup/wizard/templates/services.tpl
@@ -2,72 +2,71 @@ @@ -2,72 +2,71 @@
2 <h1>Services Dependencies Check</h1> 2 <h1>Services Dependencies Check</h1>
3 3
4 <p class="description"> 4 <p class="description">
5 -This checkup ensures that your environment is ready to support KnowledgeTree's background services. 5 +This checkup ensures that your environment is ready to support KnowledgeTree<sup>&#174;</sup>'s background services.
6 </p> 6 </p>
7 <?php 7 <?php
8 if($errors || $warnings){ 8 if($errors || $warnings){
9 echo '<div>' 9 echo '<div>'
10 . '<a href="http://wiki.knowledgetree.com/Web_Based_Installer#Service_Dependencies" target="_blank">' 10 . '<a href="http://wiki.knowledgetree.com/Web_Based_Installer#Service_Dependencies" target="_blank">'
11 - . 'Click Here for help on overcoming service issues</a></div><br/>'; 11 + . 'Click Here for help on overcoming services issues</a></div><br/>';
12 } 12 }
13 ?> 13 ?>
14 <?php if(!$alreadyInstalled) { ?> 14 <?php if(!$alreadyInstalled) { ?>
15 -<?php if($javaExeError != '') { ?>  
16 -Specify the location of your Java executable  
17 -<br />  
18 -<input name='java' id='port' size='25' value='<?php echo $java['location']; ?>'/>  
19 -&nbsp;&nbsp;&nbsp;  
20 -<?php if($javaExeError != true) { ?><span class="error"><?php echo $javaExeError; ?></span><?php } ?>  
21 -<?php } ?>  
22 -<?php if($phpExeError != '') { ?>  
23 -<br />  
24 -Specify the location of your PHP executable  
25 -<br />  
26 -<?php if($php['location'] == '') { ?>  
27 - <input name='php' id='port' size='25' value='<?php echo $php['location']; ?>'/>  
28 -<?php } else {?>  
29 - <input type="hidden" name='php' id='port' size='25' value='<?php echo $php['location']; ?>'/>  
30 -<?php } ?>  
31 -&nbsp;&nbsp;&nbsp;  
32 -<?php if($phpExeError != true) { ?><span class="error"><?php echo $phpExeError; ?></span><?php } ?>  
33 -<?php } ?>  
34 -<?php if($javaExeError != '' || $phpExeError != '') { ?>  
35 -<br />  
36 -<input type="submit" name="Refresh" value="Submit"/>  
37 -<?php } ?>  
38 -<h3><?php echo "<span class='{$javaCheck}'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>"; ?>Java Check</h3>  
39 -<?php if($silent) { ?>  
40 - <div id="options" class="onclick" onclick="javascript:{w.toggleClass('java_details');}">Show Details</div>  
41 - <div class="java_details" style="display:none">  
42 -<?php } ?>  
43 -<p class="description">  
44 -The Java version must be higher than 1.5.  
45 -</p>  
46 -<?php echo "<span class='{$step_vars['java']['class']}'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{$step_vars['java']['found']}"; ?>  
47 -<br/>  
48 -<?php echo "<span class='{$step_vars['version']['class']}'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{$step_vars['version']['found']}"; ?>  
49 -<?php if($silent) { ?>  
50 - </div>  
51 -<?php } ?>  
52 -<?php if (!$disableExtension) {?>  
53 -<h3><?php echo "<span class='{$javaExtCheck}'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>"; ?>Java Extensions</h3>  
54 -<?php if($silent) { ?>  
55 - <div id="options" class="onclick" onclick="javascript:{w.toggleClass('java_ext_details');}">Show Details</div>  
56 - <div class="java_ext_details" style="display:none">  
57 -<?php } ?>  
58 -<p class="description">  
59 -A PHP Java Bridge is required for KnowledgeTree to perform at an optimal level.  
60 -</p>  
61 -<?php echo "<span class='{$step_vars['extensions']['class']}'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{$step_vars['extensions']['found']}"; ?>  
62 -<br />  
63 -<?php if($silent) { ?>  
64 - </div>  
65 -<?php } ?>  
66 -<?php } ?> 15 + <?php if($javaExeError != '') { ?>
  16 + Specify the location of your Java executable
  17 + &nbsp;&nbsp;&nbsp;
  18 + <input name='java' id='port' size='25' value='<?php echo $java['location']; ?>'/>
  19 + &nbsp;&nbsp;&nbsp;
  20 + <?php if($javaExeError != true) { ?><span class="error"><?php echo $javaExeError; ?></span><?php } ?>
  21 + <?php } ?>
  22 + <?php if($phpExeError != '') { ?>
  23 + <br />
  24 + Specify the location of your PHP executable
  25 + <br />
  26 + <?php if($php['location'] == '') { ?>
  27 + <input name='php' id='port' size='25' value='<?php echo $php['location']; ?>'/>
  28 + <?php } else { ?>
  29 + <input type="hidden" name='php' id='port' size='25' value='<?php echo $php['location']; ?>'/>
  30 + <?php } ?>
  31 + &nbsp;&nbsp;&nbsp;
  32 + <?php if($phpExeError != true) { ?><span class="error"><?php echo $phpExeError; ?></span><?php } ?>
  33 + <?php } ?>
  34 + <?php if($javaExeError != '' || $phpExeError != '') { ?>
  35 + <input type="submit" name="Refresh" value="Submit"/>
  36 + <?php } ?>
  37 + <h3><?php echo "<span class='{$javaCheck}'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>"; ?>Java Check</h3>
  38 + <?php if($silent) { ?>
  39 + <div id="options" class="onclick" onclick="javascript:{w.toggleClass('java_details');}">Show Details</div>
  40 + <div class="java_details" style="display:none">
  41 + <?php } ?>
  42 + <p class="description">
  43 + The Java version must be higher than 1.5.
  44 + </p>
  45 + <?php echo "<span class='{$step_vars['java']['class']}'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{$step_vars['java']['found']}"; ?>
  46 + <br/>
  47 + <?php echo "<span class='{$step_vars['version']['class']}'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{$step_vars['version']['found']}"; ?>
  48 + <?php if($silent) { ?>
  49 + </div>
  50 + <?php } ?>
  51 + <?php if (!$disableExtension) { ?>
  52 + <h3><?php echo "<span class='{$javaExtCheck}'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>"; ?>Java Extensions</h3>
  53 + <?php if($silent) { ?>
  54 + <div id="options" class="onclick" onclick="javascript:{w.toggleClass('java_ext_details');}">Show Details</div>
  55 + <div class="java_ext_details" style="display:none">
  56 + <?php } ?>
  57 + <p class="description">
  58 + A PHP Java Bridge is required for KnowledgeTree<sup>&#174;</sup> to perform at an optimal level.
  59 + </p>
  60 + <?php echo "<span class='{$step_vars['extensions']['class']}'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{$step_vars['extensions']['found']}"; ?>
  61 + <br />
  62 + <?php if($silent) { ?>
  63 + </div>
  64 + <?php } ?>
  65 + <?php } ?>
67 <?php } else { ?> 66 <?php } else { ?>
68 -<p class="description">  
69 -All services are already installed.  
70 -</p> 67 + <p class="description">
  68 + All services are already installed.
  69 + </p>
71 <?php } ?> 70 <?php } ?>
72 <h3><?php echo "<span class='{$serviceCheck}'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>"; ?>Services Check</h3> 71 <h3><?php echo "<span class='{$serviceCheck}'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>"; ?>Services Check</h3>
73 <?php if($silent) { ?> 72 <?php if($silent) { ?>
@@ -89,10 +88,9 @@ if($step_vars){ @@ -89,10 +88,9 @@ if($step_vars){
89 <?php if($silent) { ?> 88 <?php if($silent) { ?>
90 </div> 89 </div>
91 <?php } ?> 90 <?php } ?>
92 -  
93 <div class="buttons"> 91 <div class="buttons">
94 <input type="submit" name="Previous" value="Previous"/> 92 <input type="submit" name="Previous" value="Previous"/>
95 - <input type="submit" name="Refresh" value="Refresh"/>  
96 <input type="submit" name="Next" value="Next"/> 93 <input type="submit" name="Next" value="Next"/>
  94 + <input type="submit" name="Refresh" value="Refresh"/>
97 </div> 95 </div>
98 </form> 96 </form>
99 \ No newline at end of file 97 \ No newline at end of file
setup/wizard/templates/welcome.tpl
1 -<h1>Welcome to the KnowledgeTree Setup Wizard</h1> 1 +<h1>Welcome to the KnowledgeTree<sup>&#174;</sup> Setup Wizard</h1>
2 2
3 <div style='width:800px;'> 3 <div style='width:800px;'>
4 <p> 4 <p>
5 -KnowledgeTree<sup>TM</sup> is document management made simple - easily share, track, secure, and manage the documents and records your organization depends on. 5 +KnowledgeTree<sup>&#174;</sup> is document management made simple - easily share, track, secure, and manage the documents and records your organization depends on.
6 </p> 6 </p>
7 <p> 7 <p>
8 -KnowledgeTree provides an easy-to-use, production-ready, enterprise document management solution for use by corporations, government institutions, medium  
9 -to small businesses, and many other types of organizations. KnowledgeTree's open source architecture allows organizations to easily customize and 8 +KnowledgeTree<sup>&#174;</sup> provides an easy-to-use, production-ready, enterprise document management solution for use by corporations, government institutions, medium
  9 +to small businesses, and many other types of organizations. KnowledgeTree<sup>&#174;</sup>'s open source architecture allows organizations to easily customize and
10 integrate the document management system with their existing infrastructure, providing a more flexible, cost-effective alternative to proprietary 10 integrate the document management system with their existing infrastructure, providing a more flexible, cost-effective alternative to proprietary
11 applications. 11 applications.
12 </p> 12 </p>
setup/wizard/templates/wizard.tpl
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html> 2 <html>
3 <head> 3 <head>
4 - <title>KnowledgeTree Installer</title> 4 + <title>KnowledgeTree&#174; Installer</title>
5 <script type="text/javascript" src="resources/wizard.js" ></script> 5 <script type="text/javascript" src="resources/wizard.js" ></script>
6 <link rel="stylesheet" type="text/css" href="resources/wizard.css" /> 6 <link rel="stylesheet" type="text/css" href="resources/wizard.css" />
7 </head> 7 </head>
sql/mysql/upgrade/3.6.2/data_types.sql
1 -INSERT INTO data_types VALUES(6, 'LARGE TEXT');  
2 -INSERT INTO data_types VALUES(7, 'DATE');  
3 -  
4 -ALTER TABLE document_fields ADD COLUMN is_html tinyint(1) default null; 1 +INSERT INTO data_types VALUES(6, 'LARGE TEXT');
  2 +INSERT INTO data_types VALUES(7, 'DATE');
  3 +
  4 +ALTER TABLE document_fields ADD COLUMN is_html tinyint(1) default null;
5 ALTER TABLE document_fields ADD COLUMN max_length int default null; 5 ALTER TABLE document_fields ADD COLUMN max_length int default null;
6 \ No newline at end of file 6 \ No newline at end of file
templates/ktcore/ktoffice_i18n.smarty
@@ -16,330 +16,330 @@ function _(trans_string) { @@ -16,330 +16,330 @@ function _(trans_string) {
16 {/literal} 16 {/literal}
17 17
18 18
19 -//strings for file: main.js  
20 -  
21 -i18n['Upload succeeded'] = '{i18n}Upload succeeded{/i18n}';  
22 -  
23 -i18n['Document type changed'] = '{i18n}Document type changed{/i18n}';  
24 -  
25 -i18n['Upload'] = '{i18n}Upload{/i18n}';  
26 -  
27 -i18n['Upload cancelled'] = '{i18n}Upload cancelled{/i18n}';  
28 -  
29 -i18n['Upload failed'] = '{i18n}Upload failed{/i18n}';  
30 -  
31 -i18n['Your document has not been saved.'] = '{i18n}Your document has not been saved.{/i18n}';  
32 -  
33 -i18n['Your document has been saved.'] = '{i18n}Your document has been saved.{/i18n}';  
34 -  
35 -i18n['Download failed'] = '{i18n}Download failed{/i18n}';  
36 -  
37 -i18n['Your document has not been downloaded.'] = '{i18n}Your document has not been downloaded.{/i18n}';  
38 -  
39 -i18n['Download succeeded'] = '{i18n}Download succeeded{/i18n}';  
40 -  
41 -i18n['Your document has been downloaded.'] = '{i18n}Your document has been downloaded.{/i18n}';  
42 -  
43 -i18n['Checkout failed'] = '{i18n}Checkout failed{/i18n}';  
44 -  
45 -i18n['Your document has not been checked out.'] = '{i18n}Your document has not been checked out.{/i18n}';  
46 -  
47 -i18n['Checkout succeeded'] = '{i18n}Checkout succeeded{/i18n}';  
48 -  
49 -i18n['Your document has been checked out.'] = '{i18n}Your document has been checked out.{/i18n}';  
50 -  
51 -i18n['Checkin failed'] = '{i18n}Checkin failed{/i18n}';  
52 -  
53 -i18n['Your document has not been checked in.'] = '{i18n}Your document has not been checked in.{/i18n}';  
54 -  
55 -i18n['Checkin succeeded'] = '{i18n}Checkin succeeded{/i18n}';  
56 -  
57 -i18n['Your document has been checked in.'] = '{i18n}Your document has been checked in.{/i18n}';  
58 -  
59 -i18n['Document checked in.'] = '{i18n}Document checked in.{/i18n}';  
60 -  
61 -i18n['Document checked out.'] = '{i18n}Document checked out.{/i18n}';  
62 -  
63 -i18n['Cancel checkout failed'] = '{i18n}Cancel checkout failed{/i18n}';  
64 -  
65 -i18n['The check-out has not been cancelled.'] = '{i18n}The check-out has not been cancelled.{/i18n}';  
66 -  
67 -i18n['Cancel checkout succeeded'] = '{i18n}Cancel checkout succeeded{/i18n}';  
68 -  
69 -i18n['The check-out has been cancelled.'] = '{i18n}The check-out has been cancelled.{/i18n}';  
70 -  
71 -i18n['Properties could not be saved.'] = '{i18n}Properties could not be saved.{/i18n}';  
72 -  
73 -i18n['Properties have been saved.'] = '{i18n}Properties have been saved.{/i18n}';  
74 -  
75 -i18n['Login failed'] = '{i18n}Login failed{/i18n}';  
76 -  
77 -i18n['Login failed.'] = '{i18n}Login failed.{/i18n}';  
78 -  
79 -i18n['Unable to connect to server'] = '{i18n}Unable to connect to server{/i18n}';  
80 -  
81 -i18n['Please verify your<br />Internet connection, <br /> and try again.'] = '{i18n}Please verify your<br />Internet connection, <br /> and try again.{/i18n}';  
82 -  
83 -//strings for file: classes/actionMenu.js  
84 -  
85 -//strings for file: classes/actionsEnum.js  
86 -  
87 -//strings for file: classes/commentsWindow.js  
88 -  
89 -i18n['Cancelling edit of document (check-in)'] = '{i18n}Cancelling edit of document (check-in){/i18n}';  
90 -  
91 -i18n['Provide a reason for cancelling this edit.<br ><br >'] = '{i18n}Provide a reason for cancelling this edit.<br ><br >{/i18n}';  
92 -  
93 -i18n['Continue Editing (check-out)'] = '{i18n}Continue Editing (check-out){/i18n}';  
94 -  
95 -i18n['Provide a reason for this edit.<br ><br >'] = '{i18n}Provide a reason for this edit.<br ><br >{/i18n}';  
96 -  
97 -i18n['Editing Document (check-out)'] = '{i18n}Editing Document (check-out){/i18n}';  
98 -  
99 -i18n['Provide a reason for editing this document.<br ><br >'] = '{i18n}Provide a reason for editing this document.<br ><br >{/i18n}';  
100 -  
101 -i18n['Saving Document (check-in)'] = '{i18n}Saving Document (check-in){/i18n}';  
102 -  
103 -i18n['For historical purposes, describe the changes you made to this document.<br ><br >'] = '{i18n}For historical purposes, describe the changes you made to this document.<br ><br >{/i18n}';  
104 -  
105 -i18n['OK'] = '{i18n}OK{/i18n}';  
106 -  
107 -i18n['Cancel'] = '{i18n}Cancel{/i18n}';  
108 -  
109 -i18n['Please enter a comment'] = '{i18n}Please enter a comment{/i18n}';  
110 -  
111 -i18n['Use this comment next time.'] = '{i18n}Use this comment next time.{/i18n}';  
112 -  
113 -i18n['Comment Required'] = '{i18n}Comment Required{/i18n}';  
114 -  
115 -//strings for file: classes/confirmPanel.js  
116 -  
117 -i18n['Yes'] = '{i18n}Yes{/i18n}';  
118 -  
119 -i18n['No'] = '{i18n}No{/i18n}';  
120 -  
121 -//strings for file: classes/emailWindow.js  
122 -  
123 -i18n['Send Email'] = '{i18n}Send Email{/i18n}';  
124 -  
125 -i18n['Message:'] = '{i18n}Message:{/i18n}';  
126 -  
127 -i18n['Type your message here ...'] = '{i18n}Type your message here ...{/i18n}';  
128 -  
129 -i18n['To:'] = '{i18n}To:{/i18n}';  
130 -  
131 -i18n['Searching...'] = '{i18n}Searching...{/i18n}';  
132 -  
133 -i18n['Search'] = '{i18n}Search{/i18n}';  
134 -  
135 -i18n['Delete'] = '{i18n}Delete{/i18n}';  
136 -  
137 -i18n['Please enter a message'] = '{i18n}Please enter a message{/i18n}';  
138 -  
139 -i18n['Please enter some recipients'] = '{i18n}Please enter some recipients{/i18n}';  
140 -  
141 -i18n['No Recipients'] = '{i18n}No Recipients{/i18n}';  
142 -  
143 -i18n['Document Sent'] = '{i18n}Document Sent{/i18n}';  
144 -  
145 -i18n['Document has been emailed to recipients'] = '{i18n}Document has been emailed to recipients{/i18n}';  
146 -  
147 -i18n['Unable to email document'] = '{i18n}Unable to email document{/i18n}';  
148 -  
149 -i18n['Document has not been emailed to recipients.'] = '{i18n}Document has not been emailed to recipients.{/i18n}';  
150 -  
151 -i18n['Email Document'] = '{i18n}Email Document{/i18n}';  
152 -  
153 -//strings for file: classes/feedbackPanel.js  
154 -  
155 -//strings for file: classes/floatingFeedbackPanel.js  
156 -  
157 -//strings for file: classes/loginWindow.js  
158 -  
159 -i18n['Server Settings'] = '{i18n}Server Settings{/i18n}';  
160 -  
161 -i18n['Display Language'] = '{i18n}Display Language{/i18n}';  
162 -  
163 -i18n['Username'] = '{i18n}Username{/i18n}';  
164 -  
165 -i18n['Password'] = '{i18n}Password{/i18n}';  
166 -  
167 -i18n['Login'] = '{i18n}Login{/i18n}';  
168 -  
169 -//strings for file: classes/mainWindow.js  
170 -  
171 -i18n['Document already open'] = '{i18n}Document already open{/i18n}';  
172 -  
173 -i18n['Introduction'] = '{i18n}Introduction{/i18n}';  
174 -  
175 -i18n['The requested action has not been implemented'] = '{i18n}The requested action has not been implemented{/i18n}';  
176 -  
177 -i18n['Any unsaved changes will be lost! Are you sure you want to continue?'] = '{i18n}Any unsaved changes will be lost! Are you sure you want to continue?{/i18n}';  
178 -  
179 -i18n['Do you want to add the currently open Office document as a new version of [-doctitle-]?'] = '{i18n}Do you want to add the currently open Office document as a new version of [-doctitle-]?{/i18n}';  
180 -  
181 -i18n['Are you sure you want to cancel your edit?'] = '{i18n}Are you sure you want to cancel your edit?{/i18n}';  
182 -  
183 -i18n['This document is not saved to KnowledgeTree. Are you sure you want to cancel saving to KnowledgeTree?'] = '{i18n}This document is not saved to KnowledgeTree. Are you sure you want to cancel saving to KnowledgeTree?{/i18n}';  
184 -  
185 -i18n['Your document has been saved to KnowledgeTree'] = '{i18n}Your document has been saved to KnowledgeTree{/i18n}';  
186 -  
187 -i18n['No permission'] = '{i18n}No permission{/i18n}';  
188 -  
189 -i18n['You need to have permission to perform this action'] = '{i18n}You need to have permission to perform this action{/i18n}';  
190 -  
191 -i18n['Save'] = '{i18n}Save{/i18n}';  
192 -  
193 -i18n['Adds your open Office document to KnowledgeTree. You must have \'write\' permissions on the folder.'] = '{i18n}Adds your open Office document to KnowledgeTree. You must have \'write\' permissions on the folder.{/i18n}';  
194 -  
195 -i18n['New folder'] = '{i18n}New folder{/i18n}';  
196 -  
197 -i18n['Saves active document to a new folder. You must have \'write\' permissions on the folder.'] = '{i18n}Saves active document to a new folder. You must have \'write\' permissions on the folder.{/i18n}';  
198 -  
199 -i18n['Edit'] = '{i18n}Edit{/i18n}';  
200 -  
201 -i18n['Opens the selected KnowledgeTree document in Office for editing and sets the version in KnowledgeTree to \'read only\'. You must have \'write\' permissions.'] = '{i18n}Opens the selected KnowledgeTree document in Office for editing and sets the version in KnowledgeTree to \'read only\'. You must have \'write\' permissions.{/i18n}';  
202 -  
203 -i18n['View a Copy'] = '{i18n}View a Copy{/i18n}';  
204 -  
205 -i18n['Open the selected KnowledgeTree document for viewing in Office. Changing the local copy does not update the KnowledgeTree version.'] = '{i18n}Open the selected KnowledgeTree document for viewing in Office. Changing the local copy does not update the KnowledgeTree version.{/i18n}';  
206 -  
207 -i18n['Save As New Version'] = '{i18n}Save As New Version{/i18n}';  
208 -  
209 -i18n['Adds your open document as a new version of the KnowledgeTree document selected in the tree.'] = '{i18n}Adds your open document as a new version of the KnowledgeTree document selected in the tree.{/i18n}';  
210 -  
211 -i18n['Email Document to users.'] = '{i18n}Email Document to users.{/i18n}';  
212 -  
213 -i18n['Save Properties'] = '{i18n}Save Properties{/i18n}';  
214 -  
215 -i18n['Saves edited document properties to KnowledgeTree.'] = '{i18n}Saves edited document properties to KnowledgeTree.{/i18n}';  
216 -  
217 -i18n['Saves your changes to KnowledgeTree and allows you to continue editing the document in Office.'] = '{i18n}Saves your changes to KnowledgeTree and allows you to continue editing the document in Office.{/i18n}';  
218 -  
219 -i18n['Save and Close'] = '{i18n}Save and Close{/i18n}';  
220 -  
221 -i18n['Saves your changes to KnowledgeTree and closes the document in Office.'] = '{i18n}Saves your changes to KnowledgeTree and closes the document in Office.{/i18n}';  
222 -  
223 -i18n['Cancel Edit'] = '{i18n}Cancel Edit{/i18n}';  
224 -  
225 -i18n['Closes a KnowledgeTree document currently open in Office for editing. Your changes are not saved to KnowledgeTree.'] = '{i18n}Closes a KnowledgeTree document currently open in Office for editing. Your changes are not saved to KnowledgeTree.{/i18n}';  
226 -  
227 -i18n['Undo Changes'] = '{i18n}Undo Changes{/i18n}';  
228 -  
229 -i18n['Restores document properties to previously saved values.'] = '{i18n}Restores document properties to previously saved values.{/i18n}';  
230 -  
231 -i18n['Open Another Document'] = '{i18n}Open Another Document{/i18n}';  
232 -  
233 -i18n['View/edit another KnowledgeTree document in Office.'] = '{i18n}View/edit another KnowledgeTree document in Office.{/i18n}';  
234 -  
235 -i18n['Revert'] = '{i18n}Revert{/i18n}';  
236 -  
237 -i18n['Closes the currently open document in Office and opens the currently stored version from KnowledgeTree in Office. Any changes you make to the document may be saved only to the local copy, or add the edited document to KnowledgeTree as a new document.'] = '{i18n}Closes the currently open document in Office and opens the currently stored version from KnowledgeTree in Office. Any changes you make to the document may be saved only to the local copy, or add the edited document to KnowledgeTree as a new document.{/i18n}';  
238 -  
239 -i18n['Save As'] = '{i18n}Save As{/i18n}';  
240 -  
241 -i18n['Saves a KnowledgeTree document currently open for viewing in Office as a new document in KnowledgeTree.'] = '{i18n}Saves a KnowledgeTree document currently open for viewing in Office as a new document in KnowledgeTree.{/i18n}';  
242 -  
243 -i18n['Start Editing'] = '{i18n}Start Editing{/i18n}';  
244 -  
245 -i18n['Changes the status of a KnowledgeTree document opened for viewing in Office to \'read only\' so that you may edit the document in Office. You must have \'write\' permissions.'] = '{i18n}Changes the status of a KnowledgeTree document opened for viewing in Office to \'read only\' so that you may edit the document in Office. You must have \'write\' permissions.{/i18n}';  
246 -  
247 -i18n['Restores previously saved document properties.'] = '{i18n}Restores previously saved document properties.{/i18n}';  
248 -  
249 -i18n['Save as'] = '{i18n}Save as{/i18n}';  
250 -  
251 -i18n['Saves the document you downloaded from KnowledgeTree as a new document in KnowledgeTree.'] = '{i18n}Saves the document you downloaded from KnowledgeTree as a new document in KnowledgeTree.{/i18n}';  
252 -  
253 -i18n['Closes the currently open document in Office and opens the currently stored version from KnowledgeTree in Office. Any changes you make to the document may be saved only to the local copy, or add the edited document to KnowledgeTree as a new document.'] = '{i18n}Closes the currently open document in Office and opens the currently stored version from KnowledgeTree in Office. Any changes you make to the document may be saved only to the local copy, or add the edited document to KnowledgeTree as a new document.{/i18n}';  
254 -  
255 -i18n['Opens a new instance of Microsoft Office and KnowledgeTree Office Add-in, where you can view / edit another KnowledgeTree document in Office.'] = '{i18n}Opens a new instance of Microsoft Office and KnowledgeTree Office Add-in, where you can view / edit another KnowledgeTree document in Office.{/i18n}';  
256 -  
257 -i18n['Adds your open Office document to KnowledgeTree, and closes the document in Office. You must have \'write\' permissions on the folder.'] = '{i18n}Adds your open Office document to KnowledgeTree, and closes the document in Office. You must have \'write\' permissions on the folder.{/i18n}';  
258 -  
259 -i18n['Closes the document currently open in Office. Any changes you made to the document are not saved to KnowledgeTree.'] = '{i18n}Closes the document currently open in Office. Any changes you made to the document are not saved to KnowledgeTree.{/i18n}';  
260 -  
261 -i18n['Loading'] = '{i18n}Loading{/i18n}';  
262 -  
263 -//strings for file: classes/modalFeedbackPanel.js  
264 -  
265 -i18n['Send'] = '{i18n}Send{/i18n}';  
266 -  
267 -i18n['Error has been submitted. Thank you!'] = '{i18n}Error has been submitted. Thank you!{/i18n}';  
268 -  
269 -i18n['Copy to clipboard'] = '{i18n}Copy to clipboard{/i18n}';  
270 -  
271 -i18n['All error reports are submitted anonymously.\r\n\r\nTo help us resolve this error, please use this comment box to provide a brief description of the task you were performing when this error occurred.'] = '{i18n}All error reports are submitted anonymously.\r\n\r\nTo help us resolve this error, please use this comment box to provide a brief description of the task you were performing when this error occurred.{/i18n}';  
272 -  
273 -//strings for file: classes/progressWindow.js  
274 -  
275 -//strings for file: classes/propertiesEnum.js  
276 -  
277 -//strings for file: classes/propertiesPanel.js  
278 -  
279 -i18n['Viewing'] = '{i18n}Viewing{/i18n}';  
280 -  
281 -i18n['Document type could not be changed'] = '{i18n}Document type could not be changed{/i18n}';  
282 -  
283 -i18n['Document type could not be reset'] = '{i18n}Document type could not be reset{/i18n}';  
284 -  
285 -i18n['Select...'] = '{i18n}Select...{/i18n}';  
286 -  
287 -i18n['Double-click to Select'] = '{i18n}Double-click to Select{/i18n}';  
288 -  
289 -i18n['Double-click to Edit'] = '{i18n}Double-click to Edit{/i18n}';  
290 -  
291 -i18n['Error'] = '{i18n}Error{/i18n}';  
292 -  
293 -i18n['Please complete all required fields.'] = '{i18n}Please complete all required fields.{/i18n}';  
294 -  
295 -i18n['Editing'] = '{i18n}Editing{/i18n}';  
296 -  
297 -i18n['Type'] = '{i18n}Type{/i18n}';  
298 -  
299 -i18n['Some fields are required'] = '{i18n}Some fields are required{/i18n}';  
300 -  
301 -//strings for file: classes/runAction.js  
302 -  
303 -//strings for file: classes/savePanel.js  
304 -  
305 -i18n['Title'] = '{i18n}Title{/i18n}';  
306 -  
307 -i18n['Click to enter'] = '{i18n}Click to enter{/i18n}';  
308 -  
309 -i18n['Default'] = '{i18n}Default{/i18n}';  
310 -  
311 -i18n['Select a document type'] = '{i18n}Select a document type{/i18n}';  
312 -  
313 -i18n['Click to select'] = '{i18n}Click to select{/i18n}';  
314 -  
315 -i18n['A document with the same title already exists in the target folder'] = '{i18n}A document with the same title already exists in the target folder{/i18n}';  
316 -  
317 -i18n['A document with the same title already exists in the folder.'] = '{i18n}A document with the same title already exists in the folder.{/i18n}';  
318 -  
319 -i18n['Your document was not saved to the server'] = '{i18n}Your document was not saved to the server{/i18n}';  
320 -  
321 -//strings for file: classes/searchPanel.js  
322 -  
323 -i18n['No text entered'] = '{i18n}No text entered{/i18n}';  
324 -  
325 -i18n['You need to enter text to be searched'] = '{i18n}You need to enter text to be searched{/i18n}';  
326 -  
327 -//strings for file: classes/serverWindow.js  
328 -  
329 -//strings for file: classes/toolTips.js  
330 -  
331 -//strings for file: classes/topPanel.js  
332 -  
333 -i18n['Logout'] = '{i18n}Logout{/i18n}';  
334 -  
335 -//strings for file: classes/treePanel.js  
336 -  
337 -i18n['No Read permissions'] = '{i18n}No Read permissions{/i18n}';  
338 -  
339 -i18n['You do not have the required permissions to view the root folder. Please contact your system administrator for assistance.'] = '{i18n}You do not have the required permissions to view the root folder. Please contact your system administrator for assistance.{/i18n}';  
340 -  
341 -i18n['Search for documents'] = '{i18n}Search for documents{/i18n}';  
342 -  
343 -// Total Language Strings: 141  
344 - 19 +//strings for file: main.js
  20 +
  21 +i18n['Upload succeeded'] = '{i18n}Upload succeeded{/i18n}';
  22 +
  23 +i18n['Document type changed'] = '{i18n}Document type changed{/i18n}';
  24 +
  25 +i18n['Upload'] = '{i18n}Upload{/i18n}';
  26 +
  27 +i18n['Upload cancelled'] = '{i18n}Upload cancelled{/i18n}';
  28 +
  29 +i18n['Upload failed'] = '{i18n}Upload failed{/i18n}';
  30 +
  31 +i18n['Your document has not been saved.'] = '{i18n}Your document has not been saved.{/i18n}';
  32 +
  33 +i18n['Your document has been saved.'] = '{i18n}Your document has been saved.{/i18n}';
  34 +
  35 +i18n['Download failed'] = '{i18n}Download failed{/i18n}';
  36 +
  37 +i18n['Your document has not been downloaded.'] = '{i18n}Your document has not been downloaded.{/i18n}';
  38 +
  39 +i18n['Download succeeded'] = '{i18n}Download succeeded{/i18n}';
  40 +
  41 +i18n['Your document has been downloaded.'] = '{i18n}Your document has been downloaded.{/i18n}';
  42 +
  43 +i18n['Checkout failed'] = '{i18n}Checkout failed{/i18n}';
  44 +
  45 +i18n['Your document has not been checked out.'] = '{i18n}Your document has not been checked out.{/i18n}';
  46 +
  47 +i18n['Checkout succeeded'] = '{i18n}Checkout succeeded{/i18n}';
  48 +
  49 +i18n['Your document has been checked out.'] = '{i18n}Your document has been checked out.{/i18n}';
  50 +
  51 +i18n['Checkin failed'] = '{i18n}Checkin failed{/i18n}';
  52 +
  53 +i18n['Your document has not been checked in.'] = '{i18n}Your document has not been checked in.{/i18n}';
  54 +
  55 +i18n['Checkin succeeded'] = '{i18n}Checkin succeeded{/i18n}';
  56 +
  57 +i18n['Your document has been checked in.'] = '{i18n}Your document has been checked in.{/i18n}';
  58 +
  59 +i18n['Document checked in.'] = '{i18n}Document checked in.{/i18n}';
  60 +
  61 +i18n['Document checked out.'] = '{i18n}Document checked out.{/i18n}';
  62 +
  63 +i18n['Cancel checkout failed'] = '{i18n}Cancel checkout failed{/i18n}';
  64 +
  65 +i18n['The check-out has not been cancelled.'] = '{i18n}The check-out has not been cancelled.{/i18n}';
  66 +
  67 +i18n['Cancel checkout succeeded'] = '{i18n}Cancel checkout succeeded{/i18n}';
  68 +
  69 +i18n['The check-out has been cancelled.'] = '{i18n}The check-out has been cancelled.{/i18n}';
  70 +
  71 +i18n['Properties could not be saved.'] = '{i18n}Properties could not be saved.{/i18n}';
  72 +
  73 +i18n['Properties have been saved.'] = '{i18n}Properties have been saved.{/i18n}';
  74 +
  75 +i18n['Login failed'] = '{i18n}Login failed{/i18n}';
  76 +
  77 +i18n['Login failed.'] = '{i18n}Login failed.{/i18n}';
  78 +
  79 +i18n['Unable to connect to server'] = '{i18n}Unable to connect to server{/i18n}';
  80 +
  81 +i18n['Please verify your<br />Internet connection, <br /> and try again.'] = '{i18n}Please verify your<br />Internet connection, <br /> and try again.{/i18n}';
  82 +
  83 +//strings for file: classes/actionMenu.js
  84 +
  85 +//strings for file: classes/actionsEnum.js
  86 +
  87 +//strings for file: classes/commentsWindow.js
  88 +
  89 +i18n['Cancelling edit of document (check-in)'] = '{i18n}Cancelling edit of document (check-in){/i18n}';
  90 +
  91 +i18n['Provide a reason for cancelling this edit.<br ><br >'] = '{i18n}Provide a reason for cancelling this edit.<br ><br >{/i18n}';
  92 +
  93 +i18n['Continue Editing (check-out)'] = '{i18n}Continue Editing (check-out){/i18n}';
  94 +
  95 +i18n['Provide a reason for this edit.<br ><br >'] = '{i18n}Provide a reason for this edit.<br ><br >{/i18n}';
  96 +
  97 +i18n['Editing Document (check-out)'] = '{i18n}Editing Document (check-out){/i18n}';
  98 +
  99 +i18n['Provide a reason for editing this document.<br ><br >'] = '{i18n}Provide a reason for editing this document.<br ><br >{/i18n}';
  100 +
  101 +i18n['Saving Document (check-in)'] = '{i18n}Saving Document (check-in){/i18n}';
  102 +
  103 +i18n['For historical purposes, describe the changes you made to this document.<br ><br >'] = '{i18n}For historical purposes, describe the changes you made to this document.<br ><br >{/i18n}';
  104 +
  105 +i18n['OK'] = '{i18n}OK{/i18n}';
  106 +
  107 +i18n['Cancel'] = '{i18n}Cancel{/i18n}';
  108 +
  109 +i18n['Please enter a comment'] = '{i18n}Please enter a comment{/i18n}';
  110 +
  111 +i18n['Use this comment next time.'] = '{i18n}Use this comment next time.{/i18n}';
  112 +
  113 +i18n['Comment Required'] = '{i18n}Comment Required{/i18n}';
  114 +
  115 +//strings for file: classes/confirmPanel.js
  116 +
  117 +i18n['Yes'] = '{i18n}Yes{/i18n}';
  118 +
  119 +i18n['No'] = '{i18n}No{/i18n}';
  120 +
  121 +//strings for file: classes/emailWindow.js
  122 +
  123 +i18n['Send Email'] = '{i18n}Send Email{/i18n}';
  124 +
  125 +i18n['Message:'] = '{i18n}Message:{/i18n}';
  126 +
  127 +i18n['Type your message here ...'] = '{i18n}Type your message here ...{/i18n}';
  128 +
  129 +i18n['To:'] = '{i18n}To:{/i18n}';
  130 +
  131 +i18n['Searching...'] = '{i18n}Searching...{/i18n}';
  132 +
  133 +i18n['Search'] = '{i18n}Search{/i18n}';
  134 +
  135 +i18n['Delete'] = '{i18n}Delete{/i18n}';
  136 +
  137 +i18n['Please enter a message'] = '{i18n}Please enter a message{/i18n}';
  138 +
  139 +i18n['Please enter some recipients'] = '{i18n}Please enter some recipients{/i18n}';
  140 +
  141 +i18n['No Recipients'] = '{i18n}No Recipients{/i18n}';
  142 +
  143 +i18n['Document Sent'] = '{i18n}Document Sent{/i18n}';
  144 +
  145 +i18n['Document has been emailed to recipients'] = '{i18n}Document has been emailed to recipients{/i18n}';
  146 +
  147 +i18n['Unable to email document'] = '{i18n}Unable to email document{/i18n}';
  148 +
  149 +i18n['Document has not been emailed to recipients.'] = '{i18n}Document has not been emailed to recipients.{/i18n}';
  150 +
  151 +i18n['Email Document'] = '{i18n}Email Document{/i18n}';
  152 +
  153 +//strings for file: classes/feedbackPanel.js
  154 +
  155 +//strings for file: classes/floatingFeedbackPanel.js
  156 +
  157 +//strings for file: classes/loginWindow.js
  158 +
  159 +i18n['Server Settings'] = '{i18n}Server Settings{/i18n}';
  160 +
  161 +i18n['Display Language'] = '{i18n}Display Language{/i18n}';
  162 +
  163 +i18n['Username'] = '{i18n}Username{/i18n}';
  164 +
  165 +i18n['Password'] = '{i18n}Password{/i18n}';
  166 +
  167 +i18n['Login'] = '{i18n}Login{/i18n}';
  168 +
  169 +//strings for file: classes/mainWindow.js
  170 +
  171 +i18n['Document already open'] = '{i18n}Document already open{/i18n}';
  172 +
  173 +i18n['Introduction'] = '{i18n}Introduction{/i18n}';
  174 +
  175 +i18n['The requested action has not been implemented'] = '{i18n}The requested action has not been implemented{/i18n}';
  176 +
  177 +i18n['Any unsaved changes will be lost! Are you sure you want to continue?'] = '{i18n}Any unsaved changes will be lost! Are you sure you want to continue?{/i18n}';
  178 +
  179 +i18n['Do you want to add the currently open Office document as a new version of [-doctitle-]?'] = '{i18n}Do you want to add the currently open Office document as a new version of [-doctitle-]?{/i18n}';
  180 +
  181 +i18n['Are you sure you want to cancel your edit?'] = '{i18n}Are you sure you want to cancel your edit?{/i18n}';
  182 +
  183 +i18n['This document is not saved to KnowledgeTree. Are you sure you want to cancel saving to KnowledgeTree?'] = '{i18n}This document is not saved to KnowledgeTree. Are you sure you want to cancel saving to KnowledgeTree?{/i18n}';
  184 +
  185 +i18n['Your document has been saved to KnowledgeTree'] = '{i18n}Your document has been saved to KnowledgeTree{/i18n}';
  186 +
  187 +i18n['No permission'] = '{i18n}No permission{/i18n}';
  188 +
  189 +i18n['You need to have permission to perform this action'] = '{i18n}You need to have permission to perform this action{/i18n}';
  190 +
  191 +i18n['Save'] = '{i18n}Save{/i18n}';
  192 +
  193 +i18n['Adds your open Office document to KnowledgeTree. You must have \'write\' permissions on the folder.'] = '{i18n}Adds your open Office document to KnowledgeTree. You must have \'write\' permissions on the folder.{/i18n}';
  194 +
  195 +i18n['New folder'] = '{i18n}New folder{/i18n}';
  196 +
  197 +i18n['Saves active document to a new folder. You must have \'write\' permissions on the folder.'] = '{i18n}Saves active document to a new folder. You must have \'write\' permissions on the folder.{/i18n}';
  198 +
  199 +i18n['Edit'] = '{i18n}Edit{/i18n}';
  200 +
  201 +i18n['Opens the selected KnowledgeTree document in Office for editing and sets the version in KnowledgeTree to \'read only\'. You must have \'write\' permissions.'] = '{i18n}Opens the selected KnowledgeTree document in Office for editing and sets the version in KnowledgeTree to \'read only\'. You must have \'write\' permissions.{/i18n}';
  202 +
  203 +i18n['View a Copy'] = '{i18n}View a Copy{/i18n}';
  204 +
  205 +i18n['Open the selected KnowledgeTree document for viewing in Office. Changing the local copy does not update the KnowledgeTree version.'] = '{i18n}Open the selected KnowledgeTree document for viewing in Office. Changing the local copy does not update the KnowledgeTree version.{/i18n}';
  206 +
  207 +i18n['Save As New Version'] = '{i18n}Save As New Version{/i18n}';
  208 +
  209 +i18n['Adds your open document as a new version of the KnowledgeTree document selected in the tree.'] = '{i18n}Adds your open document as a new version of the KnowledgeTree document selected in the tree.{/i18n}';
  210 +
  211 +i18n['Email Document to users.'] = '{i18n}Email Document to users.{/i18n}';
  212 +
  213 +i18n['Save Properties'] = '{i18n}Save Properties{/i18n}';
  214 +
  215 +i18n['Saves edited document properties to KnowledgeTree.'] = '{i18n}Saves edited document properties to KnowledgeTree.{/i18n}';
  216 +
  217 +i18n['Saves your changes to KnowledgeTree and allows you to continue editing the document in Office.'] = '{i18n}Saves your changes to KnowledgeTree and allows you to continue editing the document in Office.{/i18n}';
  218 +
  219 +i18n['Save and Close'] = '{i18n}Save and Close{/i18n}';
  220 +
  221 +i18n['Saves your changes to KnowledgeTree and closes the document in Office.'] = '{i18n}Saves your changes to KnowledgeTree and closes the document in Office.{/i18n}';
  222 +
  223 +i18n['Cancel Edit'] = '{i18n}Cancel Edit{/i18n}';
  224 +
  225 +i18n['Closes a KnowledgeTree document currently open in Office for editing. Your changes are not saved to KnowledgeTree.'] = '{i18n}Closes a KnowledgeTree document currently open in Office for editing. Your changes are not saved to KnowledgeTree.{/i18n}';
  226 +
  227 +i18n['Undo Changes'] = '{i18n}Undo Changes{/i18n}';
  228 +
  229 +i18n['Restores document properties to previously saved values.'] = '{i18n}Restores document properties to previously saved values.{/i18n}';
  230 +
  231 +i18n['Open Another Document'] = '{i18n}Open Another Document{/i18n}';
  232 +
  233 +i18n['View/edit another KnowledgeTree document in Office.'] = '{i18n}View/edit another KnowledgeTree document in Office.{/i18n}';
  234 +
  235 +i18n['Revert'] = '{i18n}Revert{/i18n}';
  236 +
  237 +i18n['Closes the currently open document in Office and opens the currently stored version from KnowledgeTree in Office. Any changes you make to the document may be saved only to the local copy, or add the edited document to KnowledgeTree as a new document.'] = '{i18n}Closes the currently open document in Office and opens the currently stored version from KnowledgeTree in Office. Any changes you make to the document may be saved only to the local copy, or add the edited document to KnowledgeTree as a new document.{/i18n}';
  238 +
  239 +i18n['Save As'] = '{i18n}Save As{/i18n}';
  240 +
  241 +i18n['Saves a KnowledgeTree document currently open for viewing in Office as a new document in KnowledgeTree.'] = '{i18n}Saves a KnowledgeTree document currently open for viewing in Office as a new document in KnowledgeTree.{/i18n}';
  242 +
  243 +i18n['Start Editing'] = '{i18n}Start Editing{/i18n}';
  244 +
  245 +i18n['Changes the status of a KnowledgeTree document opened for viewing in Office to \'read only\' so that you may edit the document in Office. You must have \'write\' permissions.'] = '{i18n}Changes the status of a KnowledgeTree document opened for viewing in Office to \'read only\' so that you may edit the document in Office. You must have \'write\' permissions.{/i18n}';
  246 +
  247 +i18n['Restores previously saved document properties.'] = '{i18n}Restores previously saved document properties.{/i18n}';
  248 +
  249 +i18n['Save as'] = '{i18n}Save as{/i18n}';
  250 +
  251 +i18n['Saves the document you downloaded from KnowledgeTree as a new document in KnowledgeTree.'] = '{i18n}Saves the document you downloaded from KnowledgeTree as a new document in KnowledgeTree.{/i18n}';
  252 +
  253 +i18n['Closes the currently open document in Office and opens the currently stored version from KnowledgeTree in Office. Any changes you make to the document may be saved only to the local copy, or add the edited document to KnowledgeTree as a new document.'] = '{i18n}Closes the currently open document in Office and opens the currently stored version from KnowledgeTree in Office. Any changes you make to the document may be saved only to the local copy, or add the edited document to KnowledgeTree as a new document.{/i18n}';
  254 +
  255 +i18n['Opens a new instance of Microsoft Office and KnowledgeTree Office Add-in, where you can view / edit another KnowledgeTree document in Office.'] = '{i18n}Opens a new instance of Microsoft Office and KnowledgeTree Office Add-in, where you can view / edit another KnowledgeTree document in Office.{/i18n}';
  256 +
  257 +i18n['Adds your open Office document to KnowledgeTree, and closes the document in Office. You must have \'write\' permissions on the folder.'] = '{i18n}Adds your open Office document to KnowledgeTree, and closes the document in Office. You must have \'write\' permissions on the folder.{/i18n}';
  258 +
  259 +i18n['Closes the document currently open in Office. Any changes you made to the document are not saved to KnowledgeTree.'] = '{i18n}Closes the document currently open in Office. Any changes you made to the document are not saved to KnowledgeTree.{/i18n}';
  260 +
  261 +i18n['Loading'] = '{i18n}Loading{/i18n}';
  262 +
  263 +//strings for file: classes/modalFeedbackPanel.js
  264 +
  265 +i18n['Send'] = '{i18n}Send{/i18n}';
  266 +
  267 +i18n['Error has been submitted. Thank you!'] = '{i18n}Error has been submitted. Thank you!{/i18n}';
  268 +
  269 +i18n['Copy to clipboard'] = '{i18n}Copy to clipboard{/i18n}';
  270 +
  271 +i18n['All error reports are submitted anonymously.\r\n\r\nTo help us resolve this error, please use this comment box to provide a brief description of the task you were performing when this error occurred.'] = '{i18n}All error reports are submitted anonymously.\r\n\r\nTo help us resolve this error, please use this comment box to provide a brief description of the task you were performing when this error occurred.{/i18n}';
  272 +
  273 +//strings for file: classes/progressWindow.js
  274 +
  275 +//strings for file: classes/propertiesEnum.js
  276 +
  277 +//strings for file: classes/propertiesPanel.js
  278 +
  279 +i18n['Viewing'] = '{i18n}Viewing{/i18n}';
  280 +
  281 +i18n['Document type could not be changed'] = '{i18n}Document type could not be changed{/i18n}';
  282 +
  283 +i18n['Document type could not be reset'] = '{i18n}Document type could not be reset{/i18n}';
  284 +
  285 +i18n['Select...'] = '{i18n}Select...{/i18n}';
  286 +
  287 +i18n['Double-click to Select'] = '{i18n}Double-click to Select{/i18n}';
  288 +
  289 +i18n['Double-click to Edit'] = '{i18n}Double-click to Edit{/i18n}';
  290 +
  291 +i18n['Error'] = '{i18n}Error{/i18n}';
  292 +
  293 +i18n['Please complete all required fields.'] = '{i18n}Please complete all required fields.{/i18n}';
  294 +
  295 +i18n['Editing'] = '{i18n}Editing{/i18n}';
  296 +
  297 +i18n['Type'] = '{i18n}Type{/i18n}';
  298 +
  299 +i18n['Some fields are required'] = '{i18n}Some fields are required{/i18n}';
  300 +
  301 +//strings for file: classes/runAction.js
  302 +
  303 +//strings for file: classes/savePanel.js
  304 +
  305 +i18n['Title'] = '{i18n}Title{/i18n}';
  306 +
  307 +i18n['Click to enter'] = '{i18n}Click to enter{/i18n}';
  308 +
  309 +i18n['Default'] = '{i18n}Default{/i18n}';
  310 +
  311 +i18n['Select a document type'] = '{i18n}Select a document type{/i18n}';
  312 +
  313 +i18n['Click to select'] = '{i18n}Click to select{/i18n}';
  314 +
  315 +i18n['A document with the same title already exists in the target folder'] = '{i18n}A document with the same title already exists in the target folder{/i18n}';
  316 +
  317 +i18n['A document with the same title already exists in the folder.'] = '{i18n}A document with the same title already exists in the folder.{/i18n}';
  318 +
  319 +i18n['Your document was not saved to the server'] = '{i18n}Your document was not saved to the server{/i18n}';
  320 +
  321 +//strings for file: classes/searchPanel.js
  322 +
  323 +i18n['No text entered'] = '{i18n}No text entered{/i18n}';
  324 +
  325 +i18n['You need to enter text to be searched'] = '{i18n}You need to enter text to be searched{/i18n}';
  326 +
  327 +//strings for file: classes/serverWindow.js
  328 +
  329 +//strings for file: classes/toolTips.js
  330 +
  331 +//strings for file: classes/topPanel.js
  332 +
  333 +i18n['Logout'] = '{i18n}Logout{/i18n}';
  334 +
  335 +//strings for file: classes/treePanel.js
  336 +
  337 +i18n['No Read permissions'] = '{i18n}No Read permissions{/i18n}';
  338 +
  339 +i18n['You do not have the required permissions to view the root folder. Please contact your system administrator for assistance.'] = '{i18n}You do not have the required permissions to view the root folder. Please contact your system administrator for assistance.{/i18n}';
  340 +
  341 +i18n['Search for documents'] = '{i18n}Search for documents{/i18n}';
  342 +
  343 +// Total Language Strings: 141
  344 +
345 // Unique Strings: 141 345 // Unique Strings: 141
346 \ No newline at end of file 346 \ No newline at end of file