Permalink
Browse files

.

  • Loading branch information...
steven-copley committed Oct 11, 2018
1 parent 652da77 commit d0c3b71aef397fa582d6d0e3dffa4cef71387288
Showing with 23 additions and 10 deletions.
  1. +2 −8 nuajax.js
  2. +21 −2 nuwordpresssetuplibs.php
@@ -375,14 +375,8 @@ function nuSystemUpdate(){
if(!nuDisplayError(fm)){
if(window.nuWordpress){
nuMessage(['Not applicable inside Wordpress.']);
}else{
var pdfUrl = 'nusystemupdate.php?i=' + fm.id;
window.open(pdfUrl);
}
var pdfUrl = 'nusystemupdate.php?i=' + fm.id;
window.open(pdfUrl);
}
@@ -167,15 +167,34 @@ function nuWPImportNewDB() {
function nuWPSetNewHeaderAndButtonsDB() {
$sql = "
UPDATE zzzzsys_setup SET set_header = \"function nuHeaderTest() {
UPDATE zzzzsys_setup SET set_header = \"
function nuHeaderTest() {
console.log('Functions placed here before a closing script tag are available anywhere in nuBuilder Forte');
}
</script>
<style>
.nuActionButton {background-color:#0073aa;}
.nuButton {background-color:#0073aa;}
.nuSaveButtonEdited {background-color:red;}
.nuUserHomeButton{
color: white;
background-color: #88cb51;
display: inline;
border-style: solid;
font-size: 14px;
height: 40px;
padding: 0px 6px 0px 6px;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
border-color: #87A96B;
border-width: 0px 0px 1px 0px;
}
</style>
<script>\"
<script>
\"
";
nu_WP_RunQuery($sql);
}

0 comments on commit d0c3b71

Please sign in to comment.