changes to fix with current browsers

This commit is contained in:
Joe Tretter
2020-04-27 16:42:21 -05:00
80 changed files with 38 additions and 28 deletions

0
WebThinkTC.html Normal file → Executable file
View File

0
addJavaScriptHash.sh Normal file → Executable file
View File

0
config.php.example Normal file → Executable file
View File

0
consyntools.jar Normal file → Executable file
View File

0
dataTools.js Normal file → Executable file
View File

0
deploy/deploy.sh Normal file → Executable file
View File

0
dragNDrop.js Normal file → Executable file
View File

0
drawLine.js Normal file → Executable file
View File

0
fileSelectorControl.js Normal file → Executable file
View File

0
iconControl.js Normal file → Executable file
View File

0
icons/arrowDown.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 866 B

After

Width:  |  Height:  |  Size: 866 B

0
icons/arrowDownExclam.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 956 B

After

Width:  |  Height:  |  Size: 956 B

0
icons/arrowLeft.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 874 B

After

Width:  |  Height:  |  Size: 874 B

0
icons/arrowRight.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 998 B

After

Width:  |  Height:  |  Size: 998 B

0
icons/arrowUp.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 588 B

After

Width:  |  Height:  |  Size: 588 B

0
icons/arrowUpExclam.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 716 B

After

Width:  |  Height:  |  Size: 716 B

0
icons/bulb.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 536 B

After

Width:  |  Height:  |  Size: 536 B

0
icons/clock.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
icons/cross.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

0
icons/exclamationMark.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

0
icons/heart.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
icons/phone.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 750 B

After

Width:  |  Height:  |  Size: 750 B

0
icons/questionSign.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 885 B

After

Width:  |  Height:  |  Size: 885 B

0
icons/rose.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 353 B

After

Width:  |  Height:  |  Size: 353 B

0
icons/smileyBad.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

0
icons/smileyGood.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

0
icons/smileyOh.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

0
icons/smileysBase.xcf Normal file → Executable file
View File

0
icons/thumbDown.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 323 B

After

Width:  |  Height:  |  Size: 323 B

0
icons/thumbUp.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 333 B

After

Width:  |  Height:  |  Size: 333 B

0
icons/tick.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

4
impressum.html Normal file → Executable file
View File

@@ -5,8 +5,8 @@
</title> </title>
<body> <body>
<b>IMPRESSUM:</b><br/> <b>IMPRESSUM:</b><br/>
Regina Tretter<br/> Joerg Tretter<br/>
31 Cole Cres<br/> 4/1 Bradley Pl<br/>
Liberty Grove<br/> Liberty Grove<br/>
NSW 2138<br/> NSW 2138<br/>
Australia<br/> Australia<br/>

0
login.css Normal file → Executable file
View File

0
login.js Normal file → Executable file
View File

8
login.php Normal file → Executable file
View File

@@ -3,10 +3,10 @@
<META HTTP-EQUIV="expires" CONTENT="0"> <META HTTP-EQUIV="expires" CONTENT="0">
<title>WebThink Login</title> <title>WebThink Login</title>
<script src="observerHandling.js"></script> <script src="observerHandling.js?md5=198dbb5bccb51f0eabeea01ac34f9b7b"></script>
<script src="webRequest.js"></script> <script src="webRequest.js?md5=cfd708317cd7292557c3fb7980521185"></script>
<script src="dataTools.js"></script> <script src="dataTools.js?md5=bf5cea95ab29d2effaa5e1c04a498037"></script>
<script src="login.js"></script> <script src="login.js?md5=fa53abbc6b6ed70982ace27ddddca7f1"></script>
<LINK REL=stylesheet HREF="miscMain.css" TYPE="text/css"> <LINK REL=stylesheet HREF="miscMain.css" TYPE="text/css">
<LINK REL=stylesheet HREF="login.css" TYPE="text/css"> <LINK REL=stylesheet HREF="login.css" TYPE="text/css">

30
mainPage.php Normal file → Executable file
View File

@@ -25,21 +25,21 @@ if (!isset($_SESSION['UserPKey'])) {
<div id='rightBottom' style='position:absolute;left:100;top:100'>.</div> <!-- regulates the page size. --> <div id='rightBottom' style='position:absolute;left:100;top:100'>.</div> <!-- regulates the page size. -->
</body> </body>
<script src="uiTools.js"></script> <script src="uiTools.js?md5=17da623ad4298d370a092102822797b5"></script>
<script src="observerHandling.js"></script> <script src="observerHandling.js?md5=198dbb5bccb51f0eabeea01ac34f9b7b"></script>
<script src="dataTools.js"></script> <script src="dataTools.js?md5=bf5cea95ab29d2effaa5e1c04a498037"></script>
<script src="dragNDrop.js"></script> <script src="dragNDrop.js?md5=f84567f9b38e6a487cd4118ed12f2365"></script>
<script src="workspaceResize.js"></script> <script src="workspaceResize.js?md5=3f29d56b91df076bb591b717bece1dd1"></script>
<script src="drawLine.js"></script> <script src="drawLine.js?md5=f82876801074b7e9bae05b3405f1d43e"></script>
<script src="webRequest.js"></script> <script src="webRequest.js?md5=cfd708317cd7292557c3fb7980521185"></script>
<script src="toolbar.js"></script> <script src="toolbar.js?md5=2168d17ced9aa6f960f66a0ead3ce4b0"></script>
<script src="fileSelectorControl.js"></script> <script src="fileSelectorControl.js?md5=06c8bf806f97c7ef0a5c5a4266c75cbf"></script>
<script src="menuBarControl.js"></script> <script src="menuBarControl.js?md5=664a74644008a1f5e24eb65d3f4e66fa"></script>
<script src="menuControl.js"></script> <script src="menuControl.js?md5=b72d7534af4cc4d88ee74fcb18cbcd7b"></script>
<script src="textControl.js"></script> <script src="textControl.js?md5=a2c2137b103320c1ae019282f66e69e9"></script>
<script src="iconControl.js"></script> <script src="iconControl.js?md5=7381cb018841a25a31c6923e5067472a"></script>
<script src="node.js"></script> <script src="node.js?md5=8353922f7f76c62ed169edcc3973ca47"></script>
<script src="nodeRel.js"></script> <script src="nodeRel.js?md5=d5b9971b471364f531f164025eba21f4"></script>
<script language='JavaScript'> <script language='JavaScript'>
// set debug mode // set debug mode

0
menu.css Normal file → Executable file
View File

1
menuBar.css Normal file → Executable file
View File

@@ -1,5 +1,6 @@
div.menuBar { div.menuBar {
-moz-border-radius-bottomright:20px; -moz-border-radius-bottomright:20px;
-webkit-border-bottom-right-radius: 20px;
position:fixed; position:fixed;
top:0px; top:0px;
left:150px; left:150px;

0
menuBarControl.js Normal file → Executable file
View File

0
menuControl.js Normal file → Executable file
View File

0
miscMain.css Normal file → Executable file
View File

3
node.css Normal file → Executable file
View File

@@ -4,6 +4,7 @@ span.collapsedNode {
-moz-border-radius-bottomright:10px; -moz-border-radius-bottomright:10px;
-moz-border-radius-topleft:10px; -moz-border-radius-topleft:10px;
-moz-border-radius-topright:10px; -moz-border-radius-topright:10px;
-webkit-border-radius: 10px;
background:#a41e2a; background:#a41e2a;
font-size:13px; font-size:13px;
padding:10px; padding:10px;
@@ -20,6 +21,7 @@ span.node {
-moz-border-radius-bottomright:10px; -moz-border-radius-bottomright:10px;
-moz-border-radius-topleft:10px; -moz-border-radius-topleft:10px;
-moz-border-radius-topright:10px; -moz-border-radius-topright:10px;
-webkit-border-radius: 10px;
background:#a41e2a; background:#a41e2a;
font-size:13px; font-size:13px;
padding:10px; padding:10px;
@@ -35,6 +37,7 @@ span.node {
span.boxToolbar { span.boxToolbar {
-moz-border-radius-topleft:5px; -moz-border-radius-topleft:5px;
-moz-border-radius-topright:5px; -moz-border-radius-topright:5px;
-webkit-border-top-left-radius: 5px;
background:#BEF76D; background:#BEF76D;
color:#000000; color:#000000;
min-width:120; min-width:120;

4
node.js Normal file → Executable file
View File

@@ -315,7 +315,7 @@ function node(PKey,nodeText) {
} }
function fromXML(inXML){ function fromXML(inXML){
if (inXML.nodeName=="NODE") { if (inXML.nodeName.toUpperCase()=="NODE") {
m_PKey=inXML.getAttribute("pkey"); m_PKey=inXML.getAttribute("pkey");
m_displayDom.style.left=inXML.getAttribute("offsetleft")+"px"; m_displayDom.style.left=inXML.getAttribute("offsetleft")+"px";
m_displayDom.style.top=inXML.getAttribute("offsettop")+"px"; m_displayDom.style.top=inXML.getAttribute("offsettop")+"px";
@@ -323,7 +323,7 @@ function node(PKey,nodeText) {
var freeRelations = new Array(); var freeRelations = new Array();
for (var i=0;i<inXML.childNodes.length;i++){ for (var i=0;i<inXML.childNodes.length;i++){
var theChildNode=inXML.childNodes[i]; var theChildNode=inXML.childNodes[i];
switch(theChildNode.nodeName){ switch(theChildNode.nodeName.toUpperCase()){
case "ICONS": case "ICONS":
m_iconControl=new iconControl().fromXML(theChildNode); m_iconControl=new iconControl().fromXML(theChildNode);
break; break;

0
nodeRel.css Normal file → Executable file
View File

0
nodeRel.js Normal file → Executable file
View File

0
obfuscate.sh Normal file → Executable file
View File

0
observerHandling.js Normal file → Executable file
View File

0
pix/WebthinkLogo.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

0
pix/WebthinkLogoMedium.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

0
pix/ginamail.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

0
pix/icnArrowDown.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 866 B

After

Width:  |  Height:  |  Size: 866 B

0
pix/icnArrowUp.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 588 B

After

Width:  |  Height:  |  Size: 588 B

0
pix/icnBusyWait.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
pix/icnMoveBranch.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
pix/icnNewBranch.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 703 B

After

Width:  |  Height:  |  Size: 703 B

0
pix/icnStar.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

0
pix/icnWaste.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 885 B

After

Width:  |  Height:  |  Size: 885 B

0
profile.html Normal file → Executable file
View File

14
requestTarget.php Normal file → Executable file
View File

@@ -1,4 +1,4 @@
<? <?php
error_reporting(0); error_reporting(0);
#error_reporting('E_ALL'); #error_reporting('E_ALL');
@@ -11,6 +11,7 @@ $db=$GLOBALS['conf_dbname'];
$basePath=$GLOBALS['conf_basePath']; $basePath=$GLOBALS['conf_basePath'];
$mapPath=$GLOBALS['conf_mapPath']; $mapPath=$GLOBALS['conf_mapPath'];
function myMail($to,$subject,$message){ function myMail($to,$subject,$message){
$fromAddr=$GLOBALS['conf_mailAddress']; $fromAddr=$GLOBALS['conf_mailAddress'];
$headers = 'From: <' . $fromAddr . ">\r\n" . $headers = 'From: <' . $fromAddr . ">\r\n" .
@@ -34,7 +35,7 @@ function writeToFile($filename,$text){
$cmd="mkdir -p \"$(dirname \"" . $filename . "\")\""; $cmd="mkdir -p \"$(dirname \"" . $filename . "\")\"";
system($cmd); system($cmd);
$fp=fopen($filename,'w') or die("Can't open file"); $fp=fopen($filename,'w') or die ("Can't open file _" . $filename . "_" );
fwrite($fp,$text); fwrite($fp,$text);
fclose($fp); fclose($fp);
} }
@@ -111,7 +112,7 @@ function getUserInfo($dh){
// returns the filename. // returns the filename.
// filePKey must be null for new records // filePKey must be null for new records
function getFileNameAndPKey($dh,$filePKey,$description){ function getFileNameAndPKey($dh,$filePKey,$description){
if ($filePKey=="") { if ($filePKey=="null") {
$isNew=true; $isNew=true;
$filePKey=getNewPKey($dh); $filePKey=getNewPKey($dh);
$fileName=$_SESSION["UserPKey"] . "/" . $filePKey; // TODO - should include the user $fileName=$_SESSION["UserPKey"] . "/" . $filePKey; // TODO - should include the user
@@ -273,8 +274,13 @@ function logInUser($dh,$mail,$password,$isSetupAutoLogin,$loginToken){
$query="Select count(*) \"count\",max(user.pkey) \"userPKey\" from user, userOptin where userOptin.userPKey=user.PKey and userOptin.confirmed='1' and user.mail=" . $dh->quote($mail) . " and user.password=" . $dh->quote($password); $query="Select count(*) \"count\",max(user.pkey) \"userPKey\" from user, userOptin where userOptin.userPKey=user.PKey and userOptin.confirmed='1' and user.mail=" . $dh->quote($mail) . " and user.password=" . $dh->quote($password);
} }
$result=$dh->query($query) ; $result=$dh->query($query) ;
$row=$result->fetch(); try {
$row=$result->fetch();
} catch (Exception $ex) {
echo "EX:" . $ex->getMessage();
}
if ($row['count']==1) { if ($row['count']==1) {
$success="true"; $success="true";
$_SESSION['UserPKey']=$row['userPKey']; $_SESSION['UserPKey']=$row['userPKey'];

0
sql/createDB.sql Normal file → Executable file
View File

0
sql/exportSchema.sh Normal file → Executable file
View File

0
sql/prepareIcon.sql Normal file → Executable file
View File

0
sql/preparePKey.sql Normal file → Executable file
View File

0
textControl.js Normal file → Executable file
View File

0
todoList.txt Normal file → Executable file
View File

0
toolbar.js Normal file → Executable file
View File

0
tutorial/exampleMap1.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

0
tutorial/freeRelation1.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 294 B

After

Width:  |  Height:  |  Size: 294 B

0
tutorial/iconMenu1.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

0
tutorial/iconMenu2.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
tutorial/icons1.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

0
tutorial/index.html Normal file → Executable file
View File

0
tutorial/node1.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 716 B

After

Width:  |  Height:  |  Size: 716 B

0
tutorial/node2.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
tutorial/parentRelation1.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 299 B

After

Width:  |  Height:  |  Size: 299 B

0
tutorial/relationMenu1.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
tutorial/toolBar1.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

0
uiTools.js Normal file → Executable file
View File

0
workspaceResize.js Normal file → Executable file
View File