Permalink
Browse files

.

  • Loading branch information...
steven-copley committed Jul 12, 2017
1 parent e4cc971 commit c73e230f492fe768206d37be85a6eb5d736efe9a
Showing with 1,859 additions and 802 deletions.
  1. +3 −3 .idea/deployment.xml
  2. +1 −1 .idea/modules.xml
  3. +454 −131 .idea/workspace.xml
  4. +14 −9 config.php
  5. +11 −11 index.php
  6. +1 −1 nuace.html
  7. +1 −1 nuajax.js
  8. +0 −1 nuapi.php
  9. +4 −2 nubuilder4.css
  10. +765 −160 nubuilder4.sql
  11. +1 −1 nucalendar.js
  12. +46 −12 nucommon.js
  13. +114 −33 nucommon.php
  14. +8 −2 nudata.php
  15. +1 −1 nudrag.css
  16. +5 −5 nuevalphpclass.php
  17. +57 −36 nuform.js
  18. +17 −60 nuform.php
  19. +14 −0 nuformdrag.js
  20. +1 −1 nufunctions.js
  21. +1 −0 nuprinthtml.php
  22. +7 −2 nureportbuilder4.php
  23. +29 −15 nureportdrag.js
  24. +2 −2 nurunhtml.php
  25. +43 −52 nurunpdf.php
  26. +3 −14 nurunphp.php
  27. +4 −18 nuselect.php
  28. +22 −9 nuselectclass.js
  29. +230 −219 nusession.php
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="PublishConfigData">
<component name="PublishConfigData" serverName="Localhost">
<serverData>
<paths name="nuBuilder4">
<paths name="Localhost">
<serverdata>
<mappings>
<mapping local="$PROJECT_DIR$" web="/" />
<mapping local="$PROJECT_DIR$" web="nuBuilder4" />
</mappings>
</serverdata>
</paths>
@@ -2,7 +2,7 @@
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/nuBuilder4.iml" filepath="$PROJECT_DIR$/.idea/nuBuilder4.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/nrmjobsadmin.iml" filepath="$PROJECT_DIR$/.idea/nrmjobsadmin.iml" />
</modules>
</component>
</project>

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,12 +1,17 @@
<?php
$nuConfigDBHost = "127.0.0.1";
$nuConfigDBName = "nubuilder4";
$nuConfigDBUser = "root";
$nuConfigDBPassword = "";
$nuConfigDBGlobeadminUsername = "globeadmin"; //-- globeadmin username
$nuConfigDBGlobeadminPassword = "nu"; //-- globeadmin password
$nuConfigTitle = "nuBuilder 4";
$nuConfigIsDemo = false;
if(strpos($_SERVER['REQUEST_URI'], basename(__FILE__)) !== false){
header('HTTP/1.0 404 Not Found', true, 404);
die();
} else {
$nuConfigDBHost = "127.0.0.1";
$nuConfigDBName = "nubuilder4";
$nuConfigDBUser = "root";
$nuConfigDBPassword = "";
$nuConfigDBGlobeadminUsername = "globeadmin"; //-- globeadmin username
$nuConfigDBGlobeadminPassword = "nu"; //-- globeadmin password
$nuConfigTitle = "nuBuilder 4";
$nuConfigIsDemo = false;
}
?>
?>
@@ -6,7 +6,7 @@
<?php
function nuJSInclude($pfile){
function nuJSIndexInclude($pfile){
$timestamp = date("YmdHis", filemtime($pfile)); //-- Add timestamp so javascript changes are effective immediately
print "<script src='$pfile?ts=$timestamp' type='text/javascript'></script>\n";
@@ -15,7 +15,7 @@ function nuJSInclude($pfile){
function nuCSSInclude($pfile){
function nuCSSIndexInclude($pfile){
$timestamp = date("YmdHis", filemtime($pfile)); //-- Add timestamp so javascript changes are effective immediately
print "<link rel='stylesheet' href='$pfile?ts=$timestamp' />\n";
@@ -52,16 +52,16 @@ function nuHeader(){
}
nuJSInclude('jquery/jquery.js');
nuJSInclude('nuformclass.js');
nuJSInclude('nuform.js');
nuJSInclude('nuformdrag.js');
nuJSInclude('nucalendar.js');
nuJSInclude('nucommon.js');
nuJSInclude('nuajax.js'); //-- calls to server
nuJSInclude('nufunctions.js');
nuJSIndexInclude('jquery/jquery.js');
nuJSIndexInclude('nuformclass.js');
nuJSIndexInclude('nuform.js');
nuJSIndexInclude('nuformdrag.js');
nuJSIndexInclude('nucalendar.js');
nuJSIndexInclude('nucommon.js');
nuJSIndexInclude('nuajax.js'); //-- calls to server
nuJSIndexInclude('nufunctions.js');
nuCSSInclude('nubuilder4.css');
nuCSSIndexInclude('nubuilder4.css');
?>
@@ -122,7 +122,7 @@
</head>
<body style='background-color:#000000' onload='nuLoad()' onresize='nuResize()'>
<input type='button' id='copy_to_nubuilder' class='nuActionButton' style='top:5px;left:20px;position:absolute' onclick='nuAceSave()'>
<input type='button' id='copy_to_nubuilder' class='nuActionButton' style='top:8px;left:8px;position:absolute' onclick='nuAceSave()'>
<span id='nu_language' style='top:10px;right:20px;text-align:left;color:white;font-family:helvetica;font-size:12px;position:absolute'></span>
<div id='nu_editor' style='width:1000px;height:800px;top:35px;left:0px;text-align:left;position:absolute'></div>
@@ -242,7 +242,7 @@ function nuRunPHPHidden(i){
if(fm.messages.length > 0){
var im = ['<img src="numessage.png" width="30px" height="30px" style="position:absolute;left:10px;top:10px">'];
var im = ['<img src="graphics/numessage.png" width="30px" height="30px" style="position:absolute;left:10px;top:10px">'];
im = im.concat(fm.messages);
nuMessage(im);
@@ -20,7 +20,6 @@
$P = $_POST['nuSTATE'];
$U = nuGetUserAccess();
$_POST['FORM_ID'] = $F;
nudebug('nuSetHashList($P)', nuSetHashList($P));
$_POST['nuHash'] = array_merge($U, nuSetHashList($P));
$_POST['nuHash']['PREVIOUS_RECORD_ID'] = $R;
$_POST['nuHash']['RECORD_ID'] = $R;
@@ -215,6 +215,8 @@ input[type=range]::-webkit-slider-runnable-track {
}
.nuAutoNumber, .input_nuAutoNumber {
background-color: lightgrey;
font-weight:bold;
}
@@ -707,7 +709,7 @@ input[type=range]::-webkit-slider-runnable-track {
-webkit-user-select:none;
overflow:visible;
background-color:white;
background-image: url("grid.png");
background-image: url("graphics/grid.png");
z-index: 1;
}
@@ -898,7 +900,7 @@ input[type=range]::-webkit-slider-runnable-track {
font-size:11px;
padding:10px 10px 10px 36px;
margin: 0px auto;
background:#fff8c4 url('warning.png') no-repeat 10px 10px;
background:#fff8c4 url('graphics/warning.png') no-repeat 10px 10px;
border:1px solid #f2c779;
width: 500px;
height: 500px;

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -48,7 +48,7 @@ function nuPopupCalendar(pThis){
.attr('onmouseout', 'window.nuOnCalendar = 0')
.css({'top':(top + h + 3), left: left})
.addClass('nuCalendar nuCalendarColor')
.html('<img id="dialogCalClose" src="close.png" style="position: absolute; top: 0px; right: 0px;" onclick="$(\'#nuCalendar\').remove()">');
.html('<img id="dialogCalClose" src="graphics/close.png" style="position: absolute; top: 0px; right: 0px;" onclick="$(\'#nuCalendar\').remove()">');
var c = nuAppendChild('#nuTabAreaHolder','div','nuCalCloser');
@@ -109,7 +109,7 @@ function nuDisplayError(e){
return false;
}
var im = ['<img src="nuerror.png" width="30px" height="30px" style="position:absolute;left:10px;top:10px"><br>'];
var im = ['<img src="graphics/nuerror.png" width="30px" height="30px" style="position:absolute;left:10px;top:10px"><br>'];
im.concat(e.errors);
@@ -166,7 +166,7 @@ function nuLogin(){
$('body').html('');
var l1 = '<div id="login" class="nuLogin" style=" border-style: solid;border-width: 1px;border-color: rgba(0, 0, 0, 0.08);">';
var i = '<br><img id="thelogo" src="logo.png">';
var i = '<br><img id="thelogo" src="graphics/logo.png">';
var u = '<br><br><span style="width:90px;display:inline-block;">Username</span><input id="nuusername" style="padding: 2px;" />';
var p = '<br><br><span style="width:90px;display:inline-block;">Password</span><input id="nupassword" onkeyup="loginInputKeyup(event);" style="padding: 2px;" type="password"/>';
var s = '<br><br><input id="submit" type="button" class="nuButton" style="height:30px;" onclick="nuLoginRequest()" value="Log in"/>';
@@ -308,7 +308,7 @@ function nuCreateDialog(t){
.on('mousemove', function(event){nuDialog.move(event);})
.on('mouseout', function(event){$('#dialogClose').css('background-color','');})
.on('click', function(event){nuDialog.click(event);})
.html('<div id="dialogTitle" ondblclick="nuResizeWindow(event)" style="background-color:#CCCCCC ;position:absolute;width:100%;height:35px;font-size:16px;font-family:Helvetica"><div id="dialogTitleWords" style="padding-top: 9px;height:30px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'+title+'</div><img id="dialogClose" src="close.png" style="position:absolute; top:2px; left:0px"></div>')
.html('<div id="dialogTitle" ondblclick="nuResizeWindow(event)" style="background-color:#CCCCCC ;position:absolute;width:100%;height:35px;font-size:16px;font-family:Helvetica"><div id="dialogTitleWords" style="padding-top: 9px;height:30px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'+title+'</div><img id="dialogClose" src="graphics/close.png" style="position:absolute; top:2px; left:0px"></div>')
this.startX = l;
this.startY = t;
@@ -578,7 +578,8 @@ function nuPreview(a){
var t = String($('#sfo_type').val());
var b = t.indexOf('browse') != -1;
var f = nuFORM.getProperty('form_id');
var r = nuFORM.getProperty('record_id');
// var r = nuFORM.getProperty('record_id');
var r = nuFORM.getProperty('redirect_form_id');
if(r == '-1'){
@@ -722,11 +723,25 @@ function nuShow(i){ //-- Show Edit Form Object
var o = [i, i + 'code', i + 'button', i + 'description', 'label_' + i];
for(var c = 0 ; c < o.length ; c++){
$('#' + o[c]).css('visibility', 'visible');
}
$("[id$='nuDelete'][id^='" + i + "']").show();
var t = String($('#' + o[c]).attr('data-nu-tab'));
if(t[0] == 'x'){
$('#' + o[c])
.attr('data-nu-tab', t.substr(1))
.show();
}else{
$('#' + o[c])
.show();
}
}
}
@@ -735,11 +750,26 @@ function nuHide(i){ //-- Hide Edit Form Object
var o = [i, i + 'code', i + 'button', i + 'description', 'label_' + i];
for(var c = 0 ; c < o.length ; c++){
// $('#' + o[c]).css('visibility', 'hidden');
$('#' + o[c]).hide();
var t = String($('#' + o[c]).attr('data-nu-tab'));
if(t[0] == 'x'){
$('#' + o[c])
.hide();
}else{
$('#' + o[c])
.attr('data-nu-tab', 'x' + t)
.hide();
}
}
$("[id$='nuDelete'][id^='" + i + "']").hide();
// $("[id$='nuDelete'][id^='" + i + "']").hide();
}
@@ -817,7 +847,11 @@ function nuResizeWindow(e){
}
function nuGetSubformObject(id){
//function nuGetSubformObject(id){
// return nuFORM.subform(id);
//}
function nuSubformObject(id){
return nuFORM.subform(id);
}
Oops, something went wrong.

0 comments on commit c73e230

Please sign in to comment.