Removed some simplified english, tag changes and cleared out small nuggets of dead code

This commit is contained in:
Andy Dixon
2024-07-23 18:50:27 +01:00
parent 5c41c928a6
commit 2e0296eba1
24 changed files with 299 additions and 275 deletions
Generated
+1
View File
@@ -10,6 +10,7 @@
<option name="highlightLevel" value="WARNING" />
<option name="transferred" value="true" />
</component>
<component name="PhpProjectSharedConfiguration" php_language_level="8.3" />
<component name="PhpStanOptionsConfiguration">
<option name="transferred" value="true" />
</component>
+5
View File
@@ -8,3 +8,8 @@ $_users = [
"admin" => ["password" => "password", "isAdmin" => 1],
"user" => ["password" => "password", "isAdmin" => 0],
];
$companyName = "CHANGEME IN CONFIG";
$versionInfo = "1.0.0";
+6 -3
View File
@@ -51,12 +51,15 @@ function thecleaner($stuff)
preg_match_all($codereg, $stuff, $code['CODE']);
$stuff = preg_replace($codereg, '----||CODEGO3SHERE||----', $stuff);
function lower($matches) {
function lower($matches)
{
}
//fix uppercase tags
$stuff = preg_replace_callback('/<(\/|)[A-Z]+[A-Z0-9]*\b/', function($matches){return strtolower($matches[0]);}, $stuff);
$stuff = preg_replace_callback('/<(\/|)[A-Z]+[A-Z0-9]*\b/', function ($matches) {
return strtolower($matches[0]);
}, $stuff);
//fix attribute quotes
$stuff = preg_replace('/(<(?!meta)[^>]*\s[A-Za-z]+=)([^>\'\"\s]+)(\s*[^>]*)/', '$1"$2"$3', $stuff);
@@ -104,6 +107,6 @@ function thecleaner($stuff)
$stuff = preg_replace("/\r\n/", "\n", $stuff);
if ($stuff != '' || $stufflen == 0) return $stuff;
else $message = '<strong>Error:</strong> Some characters couldn&rsquo;t be recognized. Try switching to UTF-8 encoding and be sure all special characters are properly encoded.';
else $message = '<strong>Error:</strong> Some characters couldn&rsquo;t be recognised. Try switching to UTF-8 encoding and be sure all special characters are properly encoded.';
}
+12 -14
View File
@@ -19,23 +19,23 @@ function thecleaner($stuff)
//grab php
preg_match_all($phpreg, $stuff, $code['PHP']);
$stuff = preg_replace($phpreg, '----||PHPGO3SHERE||----', $stuff);
$stuff = preg_replace($phpreg, '----||PHPTagGoesH3r3||----', $stuff);
//grab asp
preg_match_all($aspreg, $stuff, $code['ASP']);
$stuff = preg_replace($aspreg, '----||ASPGO3SHERE||----', $stuff);
$stuff = preg_replace($aspreg, '----||ASPTagGoesH3r3||----', $stuff);
//grab on-page js
preg_match_all($jsreg, $stuff, $code['JS']);
$stuff = preg_replace($jsreg, '----||JSGO3SHERE||----', $stuff);
$stuff = preg_replace($jsreg, '----||JSTagGoesH3r3||----', $stuff);
//grab on-page CSS
preg_match_all($cssreg, $stuff, $code['CSS']);
$stuff = preg_replace($cssreg, '----||CSSGO3SHERE||----', $stuff);
$stuff = preg_replace($cssreg, '----||CSSTagGoesH3r3||----', $stuff);
} catch (Exception $e) {
$message = '<strong>Error:</strong> There may be too much on page Javascript or CSS. Please try moving them to external files and/or validating your HTML.';
$message = '<strong>Error:</strong> There may be too much on-page Javascript or CSS. Please try moving them to external files and/or validating your HTML.';
output();
}
@@ -45,18 +45,16 @@ function thecleaner($stuff)
//grab pre
preg_match_all($prereg, $stuff, $code['PRE']);
$stuff = preg_replace($prereg, '----||PREGO3SHERE||----', $stuff);
$stuff = preg_replace($prereg, '----||PreTagGoesH3r3||----', $stuff);
//grab code
preg_match_all($codereg, $stuff, $code['CODE']);
$stuff = preg_replace($codereg, '----||CODEGO3SHERE||----', $stuff);
function lower($matches) {
}
$stuff = preg_replace($codereg, '----||CodeTagGoesH3r3||----', $stuff);
//fix uppercase tags
$stuff = preg_replace_callback('/<(\/|)[A-Z]+[A-Z0-9]*\b/', function($matches){return strtolower($matches[0]);}, $stuff);
$stuff = preg_replace_callback('/<(\/|)[A-Z]+[A-Z0-9]*\b/', function ($matches) {
return strtolower($matches[0]);
}, $stuff);
//fix attribute quotes
$stuff = preg_replace('/(<(?!meta)[^>]*\s[A-Za-z]+=)([^>\'\"\s]+)(\s*[^>]*)/', '$1"$2"$3', $stuff);
@@ -88,7 +86,7 @@ function thecleaner($stuff)
$replace = array('CODE', 'PRE', 'CSS', 'JS', 'ASP', 'PHP');
foreach ($replace as $r) {
$rreg = '/\-\-\-\-\|\|' . $r . 'GO3SHERE\|\|\-\-\-\-/';
$rreg = '/\-\-\-\-\|\|' . $r . 'TagGoesH3r3\|\|\-\-\-\-/';
$c = 0;
preg_match_all($rreg, $stuff, $newcode);
@@ -104,7 +102,7 @@ function thecleaner($stuff)
$stuff = preg_replace("/\r\n/", "\n", $stuff);
if ($stuff != '' || $stufflen == 0) return $stuff;
else $message = '<strong>Error:</strong> Some characters couldn&rsquo;t be recognized. Try switching to UTF-8 encoding and be sure all special characters are properly encoded.';
else $message = '<strong>Error:</strong> Some characters couldn&rsquo;t be recognised. Try switching to UTF-8 encoding and be sure all special characters are properly encoded.';
}
+7 -7
View File
@@ -104,7 +104,7 @@ var Editor = (function () {
// Creates a MochiKit-style iterator that goes over a series of DOM
// nodes. The values it yields are strings, the textual content of
// the nodes. It makes sure that all nodes up to and including the
// one whose text is being yielded have been 'normalized' to be just
// one whose text is being yielded have been 'normalised' to be just
// <span> and <br> elements.
// See the story.html file for some short remarks about the use of
// continuation-passing style in this iterator.
@@ -145,7 +145,7 @@ var Editor = (function () {
// confused when the cursor is between two BRs.
var afterBR = true;
// Insert a normalized node at the current point. If it is a text
// Insert a normalised node at the current point. If it is a text
// node, wrap it in a <span>, and give that span a currentText
// property -- this is used to cache the nodeValue, because
// directly accessing nodeValue is horribly slow on some browsers.
@@ -171,7 +171,7 @@ var Editor = (function () {
// Extract the text and newlines from a DOM node, insert them into
// the document, and yield the textual content. Used to replace
// non-normalized nodes.
// non-normalised nodes.
function writeNode(node, c, end) {
var toYield = [];
forEach(simplifyDOM(node, end), function (part) {
@@ -180,7 +180,7 @@ var Editor = (function () {
return yield(toYield.join(""), c);
}
// Check whether a node is a normalized <span> element.
// Check whether a node is a normalised <span> element.
function partNode(node) {
if (node.isPart && node.childNodes.length == 1 && node.firstChild.nodeType == 3) {
node.currentText = node.firstChild.nodeValue;
@@ -190,8 +190,8 @@ var Editor = (function () {
}
// Handle a node. Add its successor to the continuation if there
// is one, find out whether the node is normalized. If it is,
// yield its content, otherwise, normalize it (writeNode will take
// is one, find out whether the node is normalised. If it is,
// yield its content, otherwise, normalise it (writeNode will take
// care of yielding).
function scanNode(node, c) {
if (node.nextSibling)
@@ -1188,7 +1188,7 @@ var Editor = (function () {
},
// The function that does the actual highlighting/colouring (with
// help from the parser and the DOM normalizer). Its interface is
// help from the parser and the DOM normaliser). Its interface is
// rather overcomplicated, because it is used in different
// situations: ensuring that a certain line is highlighted, or
// highlighting up to X milliseconds starting from a certain
+2 -2
View File
@@ -1,6 +1,6 @@
/* Parse function for JavaScript. Makes use of the tokenizer from
* tokenizejavascript.js. Note that your parsers do not have to be
* this complicated -- if you don't want to recognize local variables,
* this complicated -- if you don't want to recognise local variables,
* in many languages it is enough to just look for braces, semicolons,
* parentheses, etc, and know when you are inside a string or comment.
*
@@ -297,7 +297,7 @@ var JSParser = Editor.Parser = (function () {
if (atomicTypes.hasOwnProperty(type)) cont(expect(":"), expression);
}
// Parses a comma-separated list of the things that are recognized
// Parses a comma-separated list of the things that are recognised
// by the 'what' argument.
function commasep(what, end) {
function proceed(type) {
+4 -4
View File
@@ -302,7 +302,7 @@ var select = {};
}
}
// Used to normalize the effect of the enter key, since browsers
// Used to normalise the effect of the enter key, since browsers
// do widely different things when pressing enter in designMode.
select.insertNewlineAtCursor = function (window) {
insertAtCursor(window, "<br>");
@@ -396,7 +396,7 @@ var select = {};
// We want the nodes right at the cursor, not one of their
// ancestors with a suitable offset. This goes down the DOM tree
// until a 'leaf' is reached (or is it *up* the DOM tree?).
function normalize(point) {
function normalise(point) {
while (point.node.nodeType != 3 && !isBR(point.node)) {
var newNode = point.node.childNodes[point.offset] || point.node.nextSibling;
point.offset = 0;
@@ -410,8 +410,8 @@ var select = {};
}
}
normalize(currentSelection.start);
normalize(currentSelection.end);
normalise(currentSelection.start);
normalise(currentSelection.end);
};
select.selectMarked = function () {
+2 -2
View File
@@ -91,7 +91,7 @@ var matching = {
};
// Standardize a few unportable event properties.
function normalizeEvent(event) {
function normaliseEvent(event) {
if (!event.stopPropagation) {
event.stopPropagation = function () {
this.cancelBubble = true;
@@ -117,7 +117,7 @@ function normalizeEvent(event) {
// Portably register event handlers.
function addEventHandler(node, type, handler, removeFunc) {
function wrapHandler(event) {
handler(normalizeEvent(event || window.event));
handler(normaliseEvent(event || window.event));
}
if (typeof node.addEventListener == "function") {
+4 -4
View File
@@ -80,7 +80,7 @@ if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.v
return J[G]}
if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}
if(L){J.setAttribute(G,""+K)}
var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}
var E=!o.support.hrefnormalised&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}
if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}
return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}
G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}
@@ -120,7 +120,7 @@ return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0
if(ag==null){ag=U}
I.relative[ah](ai,ag,Q(U))}}
if(!ai){ai=af}
if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}
if(!ai){throw"Syntax error, unrecognised expression: "+(ah||Y)}
if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}
if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa<ab.length;aa++){if(ab[aa]===ab[aa-1]){ab.splice(aa--,1)}}}}}
return ab};F.matches=function(T,U){return F(T,null,null,U)};F.find=function(aa,T,ab){var Z,X;if(!aa){return[]}
@@ -132,7 +132,7 @@ return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0
if(ah!==g){if(!ag){aa=ai}
ad=ad.replace(I.match[ab],"");if(!T){return[]}
break}}}
if(ad==V){if(T==null){throw"Syntax error, unrecognized expression: "+ad}else{break}}
if(ad==V){if(T==null){throw"Syntax error, unrecognised expression: "+ad}else{break}}
V=ad}
return aa};var I=F.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(T){return T.getAttribute("href")}},relative:{"+":function(aa,T,Z){var X=typeof T==="string",ab=X&&!/\W/.test(T),Y=X&&!ab;if(ab&&!Z){T=T.toUpperCase()}
for(var W=0,V=aa.length,U;W<V;W++){if((U=aa[W])){while((U=U.previousSibling)&&U.nodeType!==1){}
@@ -244,7 +244,7 @@ return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0
o.ready()})()}}}
o.event.add(l,"load",o.ready)}
o.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(F,E){o.fn[E]=function(G){return G?this.bind(E,G):this.trigger(E)}});o(l).bind("unload",function(){for(var E in o.cache){if(E!=1&&o.cache[E].handle){o.event.remove(o.cache[E].handle.elem)}}});(function(){o.support={};var F=document.documentElement,G=document.createElement("script"),K=document.createElement("div"),J="script"+(new Date).getTime();K.style.display="none";K.innerHTML=' <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var H=K.getElementsByTagName("*"),E=K.getElementsByTagName("a")[0];if(!H||!H.length||!E){return}
o.support={leadingWhitespace:K.firstChild.nodeType==3,tbody:!K.getElementsByTagName("tbody").length,objectAll:!!K.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!K.getElementsByTagName("link").length,style:/red/.test(E.getAttribute("style")),hrefNormalized:E.getAttribute("href")==="/a",opacity:E.style.opacity==="0.5",cssFloat:!!E.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};G.type="text/javascript";try{G.appendChild(document.createTextNode("window."+J+"=1;"))}catch(I){}
o.support={leadingWhitespace:K.firstChild.nodeType==3,tbody:!K.getElementsByTagName("tbody").length,objectAll:!!K.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!K.getElementsByTagName("link").length,style:/red/.test(E.getAttribute("style")),hrefnormalised:E.getAttribute("href")==="/a",opacity:E.style.opacity==="0.5",cssFloat:!!E.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};G.type="text/javascript";try{G.appendChild(document.createTextNode("window."+J+"=1;"))}catch(I){}
F.insertBefore(G,F.firstChild);if(l[J]){o.support.scriptEval=true;delete l[J]}
F.removeChild(G);if(K.attachEvent&&K.fireEvent){K.attachEvent("onclick",function(){o.support.noCloneEvent=false;K.detachEvent("onclick",arguments.callee)});K.cloneNode(true).fireEvent("onclick")}
o(function(){var L=document.createElement("div");L.style.width=L.style.paddingLeft="1px";document.body.appendChild(L);o.boxModel=o.support.boxModel=L.offsetWidth===2;document.body.removeChild(L).style.display="none"})})();var w=o.support.cssFloat?"cssFloat":"styleFloat";o.props={"for":"htmlFor","class":"className","float":w,cssFloat:w,styleFloat:w,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};o.fn.extend({_load:o.fn.load,load:function(G,J,K){if(typeof G!=="string"){return this._load(G)}
+1 -1
View File
File diff suppressed because one or more lines are too long
+6 -3
View File
@@ -1,4 +1,5 @@
var undoC, neoCMSGlobalPath, neoCMSPath, neoCMSFiles, neoCMSHTMLEdit, neoCMSFilePath, neoCMSImagePath, fileTarget, origImg,
var undoC, neoCMSGlobalPath, neoCMSPath, neoCMSFiles, neoCMSHTMLEdit, neoCMSFilePath, neoCMSImagePath, fileTarget,
origImg,
bm;
$(function () {
$(window).bind('load', neocmsStart);
@@ -1167,7 +1168,8 @@ imageConstrain = function (ele) {
}
};
changeSize = function (f, ele) {
var ele = (ele) ? ele : $('.neoCMSEle', ifrDoc)[0], fval = $('#' + f).val(), fWidth = $('#neoCMSImgStatsWidth').val(),
var ele = (ele) ? ele : $('.neoCMSEle', ifrDoc)[0], fval = $('#' + f).val(),
fWidth = $('#neoCMSImgStatsWidth').val(),
fHeight = $('#neoCMSImgStatsHeight').val();
if ($('#neoCMSUploadImgClone', ifrDoc).length) ele = $('#neoCMSUploadImgClone', ifrDoc);
var eleWidth = $(ele, ifrDoc).width();
@@ -1520,7 +1522,8 @@ vidBind = function () {
})
};
vidDone = function (ele) {
var eleEditNum = $(ele, ifrDoc).attr('neocmsid').replace('neoCMSEditArea', ''), content = $('#neoCMSVidEmbed').val();
var eleEditNum = $(ele, ifrDoc).attr('neocmsid').replace('neoCMSEditArea', ''),
content = $('#neoCMSVidEmbed').val();
createUndo(ele);
content = $(content, ifrDoc).addClass('neocms');
var constring = eleHTML(content);
+5 -4
View File
@@ -1,6 +1,7 @@
<?php
@session_start();
include_once("config.php");
if (session_id() != "") {
if (isset($_SESSION['neoCMSSess']) && isset($_SESSION['neoCMSUserid'])) {
@@ -36,11 +37,11 @@ if (session_id() != "") {
<div id="neoCMSLoginWrap" class="neoCMSLoginWrap">
<h1 class="logo">neocms</h1>
<h1 class="logo">neoCMS</h1>
<div id="neoCMSAppInfo" class="neoCMSAppInfo">
<p>1.01<br/>
Copyright <?php echo @date('Y'); ?> **NAME HERE**<br/></p>
<p class="neoCMSTopBorder">neoCMS is developed by **NAME HERE**.</p>
<p><?php echo $versionInfo; ?>><br/>
Copyright <?php echo @date('Y'); ?> <?php echo $companyName; ?>><br/></p>
<p class="neoCMSTopBorder">neoCMS is developed by Neogate Technologies.</p>
</div>
<div id="neoCMSLoginCont" class="neoCMSLoginCont">
<form id="neoCMSLoginForm" method="post" action="core/login.php" target="neoCMSLoginIframe">
+7 -7
View File
@@ -1,21 +1,21 @@
<div id="neoCMSPrompt" class="neoCMSDefPrompt neoCMSPrompt clearfix">
<div class="neoCMSDefPrompt neoCMSPrompt clearfix" id="neoCMSPrompt">
<div id="neoCMSPromptTop">
<div class="neoCMSPromptTopL">
<div class="neoCMSPromptTopR"></div>
</div>
</div>
<div id="neoCMSPromptContent" class="neoCMSDefContent neoCMSPromptContent">
<h4 id="neoCMSPromptTitle" class="neoCMSPromptTitle"></h4>
<div class="neoCMSDefContent neoCMSPromptContent" id="neoCMSPromptContent">
<h4 class="neoCMSPromptTitle" id="neoCMSPromptTitle"></h4>
<div class="neoCMSDefAlert">
<p><em>A "definition list" is a series of terms and definitions. More than one definition may be associated
with a single term.</em></p>
</div>
<form action="javascript:return false;" method="post" name="neoCMSDlGenerator" id="neoCMSDlGenerator"
class="neoCMSDlGenerator">
<form action="javascript:return false;" class="neoCMSDlGenerator" id="neoCMSDlGenerator" method="post"
name="neoCMSDlGenerator">
</form>
<div class="neoCMSDefInsert neoCMSPromptInsert">
<a title="Apply these changes" class="neoCMSInsertBtnDone" href="javascript:" id="neoCMSPromptBtn">done</a>
<a title="cancel" href="javascript:" id="neoCMSCancelBtn">cancel</a>
<a class="neoCMSInsertBtnDone" href="javascript:" id="neoCMSPromptBtn" title="Apply these changes">done</a>
<a href="javascript:" id="neoCMSCancelBtn" title="cancel">cancel</a>
</div>
</div>
<div id="neoCMSPromptBot">
+7 -7
View File
@@ -1,10 +1,10 @@
<div id="neoCMSEditWrap" class="neoCMSEditWrap">
<div class="neoCMSEditWrap" id="neoCMSEditWrap">
<ul id="neoCMSEditTopUl">
<li id="neoCMSEditDone"><a title="Apply these changes" href="javascript:">done</a></li>
<li id="neoCMSEditCancel"><a title="Do not apply these changes" href="javascript:">cancel</a></li>
<li id="neoCMSFullscreen"><a class="fullscreen" rel="#neoCMSEditWrap" title="Maximize this window"
href="javascript:">Maximize this window</a></li>
<li id="neoCMSContrast"><a title="Scroll here to change editor contrast" href="javascript:"
id="neoCMSEditorContrast"></a></li>
<li id="neoCMSEditDone"><a href="javascript:" title="Apply these changes">done</a></li>
<li id="neoCMSEditCancel"><a href="javascript:" title="Do not apply these changes">cancel</a></li>
<li id="neoCMSFullscreen"><a class="fullscreen" href="javascript:" rel="#neoCMSEditWrap"
title="Maximize this window">Maximize this window</a></li>
<li id="neoCMSContrast"><a href="javascript:" id="neoCMSEditorContrast"
title="Scroll here to change editor contrast"></a></li>
</ul>
</div>
+2 -2
View File
@@ -1,5 +1,5 @@
<div id="neoCMSFiles" class="neoCMSFiles clearfix">
<a id="neoCMSFClose" href="javascript:">cancel</a>
<div class="neoCMSFiles clearfix" id="neoCMSFiles">
<a href="javascript:" id="neoCMSFClose">cancel</a>
<h2>Loading&hellip;</h2>
<ul id="filesTab">
<li class="on" id="pages"><a href="javascript:" rel="#neoCMSPagesUL">Pages</a></li>
+8 -8
View File
@@ -1,12 +1,12 @@
<div id="neoCMSPrompt" class="neoCMSHtmlPrompt neoCMSPrompt clearfix">
<h4 class="neoCMSPromptTitle"><a title="Maximize this window" href="javascript:" class="fullscreen"
rel=".neoCMSHtmlPrompt">Maximize this window</a>Edit HTML</h4>
<div class="neoCMSHtmlPrompt neoCMSPrompt clearfix" id="neoCMSPrompt">
<h4 class="neoCMSPromptTitle"><a class="fullscreen" href="javascript:" rel=".neoCMSHtmlPrompt"
title="Maximize this window">Maximize this window</a>Edit HTML</h4>
<div class="neoCMSHtmlInsert neoCMSPromptInsert">
<a title="Update HTML" href="javascript:" id="neoCMSPromptBtn">done</a>
<a title="cancel" href="javascript:" id="neoCMSCancelBtn">cancel</a>
<a href="javascript:" id="neoCMSPromptBtn" title="Update HTML">done</a>
<a href="javascript:" id="neoCMSCancelBtn" title="cancel">cancel</a>
</div>
<form action="javascript:return false;" method="post" class="neoCMSHtmlEditForm">
<textarea class="codepress html linenumbers-off" cols="1" rows="1" id="neoCMSHtmlEditAreaTA"
name="neoCMSHtmlEditAreaTA" class="neoCMSHtmlEditArea"></textarea>
<form action="javascript:return false;" class="neoCMSHtmlEditForm" method="post">
<textarea class="codepress html linenumbers-off" class="neoCMSHtmlEditArea" cols="1" id="neoCMSHtmlEditAreaTA"
name="neoCMSHtmlEditAreaTA" rows="1"></textarea>
</form>
</div>
+15 -15
View File
@@ -1,24 +1,24 @@
<div id="neoCMSPrompt" class="neoCMSImgSelect neoCMSPrompt clearfix">
<h4 id="neoCMSPromptTitle" class="neoCMSPromptTitle">Edit Image</h4>
<div class="neoCMSImgSelect neoCMSPrompt clearfix" id="neoCMSPrompt">
<h4 class="neoCMSPromptTitle" id="neoCMSPromptTitle">Edit Image</h4>
<div class="neoCMSImgChoose neoCMSImgChooseInline clearfix" id="neoCMSImgChoose">
<h4>Upload A New Image</h4>
<p>First select the folder you want to upload to:</p>
<form target="neoCMSImgUploadIframe" action="functions/upload.php?type=img" method="POST" id="neoCMSImgLoc"
class="neoCMSImgLoc" enctype="multipart/form-data">
<form action="functions/upload.php?type=img" class="neoCMSImgLoc" enctype="multipart/form-data" id="neoCMSImgLoc"
method="POST" target="neoCMSImgUploadIframe">
<select id="neoCMSImgFolder" name="neoCMSImgFolder">
<option id="neoCMSImgFolderDefault" selected="selected" class="defaultFolder" value="">Loading&hellip;
<option class="defaultFolder" id="neoCMSImgFolderDefault" selected="selected" value="">Loading&hellip;
</option>
</select>
<p>Then, upload an image from your computer:</p>
<input id="neoCMSImgUpload" name="neoCMSImgUpload" class="neoCMSImgUpload" type="file">
<input class="neoCMSImgUpload" id="neoCMSImgUpload" name="neoCMSImgUpload" type="file">
</form>
<form action="javascript:" method="POST" name="neoCMSImgSrc" class="neoCMSImgLoc" enctype="multipart/form-data">
<form action="javascript:" class="neoCMSImgLoc" enctype="multipart/form-data" method="POST" name="neoCMSImgSrc">
<h4 class="neoCMSImgURLTitle">Or Choose An Existing Image</h4>
<p>To use an image that already exists on the web, enter the URL of the image below:</p>
<div><input id="neoCMSImgAddress" name="neoCMSImgAddress" class="neoCMSImgAddress" type="text"
value="http://"/><a href="javascript:" class="neoCMSFBrowse" rel="#neoCMSImgAddress"
<div><input class="neoCMSImgAddress" id="neoCMSImgAddress" name="neoCMSImgAddress" type="text"
value="http://"/><a class="neoCMSFBrowse" href="javascript:" rel="#neoCMSImgAddress"
title="Link to a file on the server">browse</a></div>
<p><a id="neoCMSApplyBtn" class="neoCMSApplyBtn" href="javascript:">&laquo; apply</a></p>
<p><a class="neoCMSApplyBtn" href="javascript:" id="neoCMSApplyBtn">&laquo; apply</a></p>
</form>
</div>
<ul class="neoCMSImgProperties">
@@ -26,13 +26,13 @@
type="text"></li>
<li class="clearfix"><label>Class</label><input id="neoCMSImgClass" name="neoCMSImgClass" type="text"></li>
<li class="clearfix"><label>Link URL</label><input id="neoCMSImgLink" name="neoCMSImgLink" type="text"><a
href="javascript:" class="neoCMSFBrowse" rel="#neoCMSImgLink" title="Link to an image on the server">browse</a>
class="neoCMSFBrowse" href="javascript:" rel="#neoCMSImgLink" title="Link to an image on the server">browse</a>
</li>
<li class="neoCMSImgRel disabled clearfix"><label>Link Rel</label><input id="neoCMSImgRel" name="neoCMSImgRel"
type="text" disabled="disabled"></li>
<li class="neoCMSImgRel disabled clearfix"><label>Link Rel</label><input disabled="disabled" id="neoCMSImgRel"
name="neoCMSImgRel" type="text"></li>
</ul>
<div class="neoCMSImgInsert neoCMSPromptInsert">
<a title="Apply these changes" href="javascript:" id="neoCMSPromptBtn">done</a>
<a id="neoCMSPromptCancel" title="cancel" href="javascript:">cancel</a>
<a href="javascript:" id="neoCMSPromptBtn" title="Apply these changes">done</a>
<a href="javascript:" id="neoCMSPromptCancel" title="cancel">cancel</a>
</div>
</div>
+6 -6
View File
@@ -1,17 +1,17 @@
<div id="neoCMSPrompt" class="neoCMSLinkPrompt neoCMSPrompt clearfix">
<h4 id="neoCMSPromptTitle" class="neoCMSPromptTitle">Edit Link</h4>
<form action="#" method="post" name="neoCMSLinkProperties" id="neoCMSLinkProperties" class="neoCMSLinkProperties">
<div class="neoCMSLinkPrompt neoCMSPrompt clearfix" id="neoCMSPrompt">
<h4 class="neoCMSPromptTitle" id="neoCMSPromptTitle">Edit Link</h4>
<form action="#" class="neoCMSLinkProperties" id="neoCMSLinkProperties" method="post" name="neoCMSLinkProperties">
<ul>
<li><label>Link URL</label><input id="neoCMSLinkURL" name="neoCMSLinkURL" type="text">
<a href="javascript:" class="neoCMSFBrowse" rel="#neoCMSLinkURL" title="Link to a file on the server">browse</a>
<a class="neoCMSFBrowse" href="javascript:" rel="#neoCMSLinkURL" title="Link to a file on the server">browse</a>
</li>
<li class="neoCMSLinkID"><label>ID</label><input id="neoCMSLinkID" name="neoCMSLinkID" type="text"></li>
<li><label>Class</label><input id="neoCMSLinkClass" name="neoCMSLinkClass" type="text"></li>
<li><label>Title</label><input id="neoCMSLinkTitle" name="neoCMSLinkTitle" type="text"></li>
<li><label>Rel</label><input id="neoCMSLinkRel" name="neoCMSLinkRel" type="text"></li>
<li class="neoCMSLinkInsert neoCMSPromptInsert">
<a title="Create a link from the selection" href="javascript:" id="neoCMSPromptBtn">done</a>
<a title="cancel" href="javascript:" id="neoCMSCancelBtn">cancel</a>
<a href="javascript:" id="neoCMSPromptBtn" title="Create a link from the selection">done</a>
<a href="javascript:" id="neoCMSCancelBtn" title="cancel">cancel</a>
</li>
</ul>
</form>
+4 -4
View File
@@ -1,8 +1,8 @@
<div id="neoCMSPrompt" class="neoCMSPrompt neoCMSSimplePrompt clearfix">
<div class="neoCMSPrompt neoCMSSimplePrompt clearfix" id="neoCMSPrompt">
<h4 class="neoCMSPromptTitle"></h4>
<p></p>
<div id="neoCMSPromptInsert" class="neoCMSPromptInsert clearfix">
<a title="" href="javascript:" id="neoCMSPromptBtn"></a>
<a title="cancel" href="javascript:" id="neoCMSCancelBtn">cancel</a>
<div class="neoCMSPromptInsert clearfix" id="neoCMSPromptInsert">
<a href="javascript:" id="neoCMSPromptBtn" title=""></a>
<a href="javascript:" id="neoCMSCancelBtn" title="cancel">cancel</a>
</div>
</div>
+14 -14
View File
@@ -1,5 +1,5 @@
<div id="neoCMSPrompt" class="neoCMSTables neoCMSPrompt clearfix">
<h4 id="neoCMSPromptTitle" class="neoCMSPromptTitle">Insert Table</h4>
<div class="neoCMSTables neoCMSPrompt clearfix" id="neoCMSPrompt">
<h4 class="neoCMSPromptTitle" id="neoCMSPromptTitle">Insert Table</h4>
<div id="neoCMSTablePrev">
<table>
<tbody>
@@ -18,27 +18,27 @@
<h4>Table Options</h4>
<form action="javascript:" method="post">
<ul id="tableRowsCols">
<li class="clearfix"><label>Rows</label><input id="neoCMSTableRows" name="neoCMSTableID" type="text"
value="2" tabindex="1"/></li>
<li class="clearfix"><label>Rows</label><input id="neoCMSTableRows" name="neoCMSTableID" tabindex="1"
type="text" value="2"/></li>
<li class="clearfix"><label>Columns</label><input id="neoCMSTableCols" name="neoCMSTableCols"
type="text" value="2" tabindex="2"/></li>
tabindex="2" type="text" value="2"/></li>
</ul>
<ul id="tableHeadFoot">
<li class="clearfix"><input id="neoCMSTableThead" name="neoCMSTableThead" type="checkbox" value="Y"
tabindex="3"/><label>Add Header</label></li>
<li class="clearfix"><input id="neoCMSTableTfoot" name="neoCMSTableTfoot" type="checkbox" value="Y"
tabindex="4"/><label>Add Footer</label></li>
<li class="clearfix"><input id="neoCMSTableThead" name="neoCMSTableThead" tabindex="3" type="checkbox"
value="Y"/><label>Add Header</label></li>
<li class="clearfix"><input id="neoCMSTableTfoot" name="neoCMSTableTfoot" tabindex="4" type="checkbox"
value="Y"/><label>Add Footer</label></li>
</ul>
<ul id="tableAttrs">
<li class="clearfix"><label>Table ID</label><input id="neoCMSTableID" name="neoCMSTableID" type="text"
tabindex="5"/></li>
<li class="clearfix"><label>Table ID</label><input id="neoCMSTableID" name="neoCMSTableID" tabindex="5"
type="text"/></li>
<li class="clearfix"><label>Class</label><input id="neoCMSTableClass" name="neoCMSTableClass"
type="text" tabindex="6"/></li>
tabindex="6" type="text"/></li>
</ul>
</form>
</div>
<div class="neoCMSVidInsert neoCMSPromptInsert">
<a title="Insert this table" href="javascript:" id="neoCMSPromptBtn">insert</a>
<a id="neoCMSPromptCancel" title="cancel" href="javascript:">cancel</a>
<a href="javascript:" id="neoCMSPromptBtn" title="Insert this table">insert</a>
<a href="javascript:" id="neoCMSPromptCancel" title="cancel">cancel</a>
</div>
</div>
+8 -8
View File
@@ -1,23 +1,23 @@
<div id="neoCMSPrompt" class="neoCMSUploadContent neoCMSPrompt clearfix">
<h4 id="neoCMSPromptTitle" class="neoCMSPromptTitle">Upload A File</h4>
<div class="neoCMSUploadContent neoCMSPrompt clearfix" id="neoCMSPrompt">
<h4 class="neoCMSPromptTitle" id="neoCMSPromptTitle">Upload A File</h4>
<p id="neoCMSUploadTxt">To upload a file, first select the folder you want to upload to:</p>
<form target="neoCMSUploadIframe" action="functions/upload.php" method="POST" name="neoCMSUploadForm"
id="neoCMSUploadForm" class="neoCMSUploadForm neoCMSImgChooseInline" enctype="multipart/form-data">
<form action="functions/upload.php" class="neoCMSUploadForm neoCMSImgChooseInline" enctype="multipart/form-data" id="neoCMSUploadForm"
method="POST" name="neoCMSUploadForm" target="neoCMSUploadIframe">
<ul>
<li>
<select id="neoCMSFolder" name="neoCMSFolder">
<option id="neoCMSFolderDefault" selected="selected" class="defaultFolder" value="">
<option class="defaultFolder" id="neoCMSFolderDefault" selected="selected" value="">
Loading&hellip;
</option>
</select>
</li>
<li>
<p>Then, select the file from your computer:</p>
<input id="neoCMSUpload" name="neoCMSUpload" class="neoCMSUpload" type="file"/>
<input class="neoCMSUpload" id="neoCMSUpload" name="neoCMSUpload" type="file"/>
</li>
<li class="neoCMSPromptInsert">
<a title="Finish Uploading" href="javascript:" id="neoCMSPromptBtn">done</a>
<a title="cancel" href="javascript:" id="neoCMSCancelBtn">cancel</a>
<a href="javascript:" id="neoCMSPromptBtn" title="Finish Uploading">done</a>
<a href="javascript:" id="neoCMSCancelBtn" title="cancel">cancel</a>
</li>
</ul>
</form>
+7 -7
View File
@@ -1,15 +1,15 @@
<div id="neoCMSPrompt" class="neoCMSVidSelect neoCMSPrompt clearfix">
<h4 id="neoCMSPromptTitle" class="neoCMSPromptTitle">Insert Video</h4>
<div class="neoCMSVidSelect neoCMSPrompt clearfix" id="neoCMSPrompt">
<h4 class="neoCMSPromptTitle" id="neoCMSPromptTitle">Insert Video</h4>
<div class="neoCMSVidChoose neoCMSVidChooseInline clearfix" id="neoCMSVidChoose">
<h4 id="neoCMSVidSub">Video Embed</h4>
<p>Edit the embed code, or paste here to replace with a new video.</p>
<form action="javascript:" method="POST" id="neoCMSVidLoc" class="neoCMSVidLoc" enctype="multipart/form-data">
<textarea id="neoCMSVidEmbed" rows="12" name="neoCMSVidEmbed" class="neoCMSVidEmbed"></textarea>
<a id="neoCMSApplyBtn" class="neoCMSApplyBtn" href="javascript:">&laquo; apply</a>
<form action="javascript:" class="neoCMSVidLoc" enctype="multipart/form-data" id="neoCMSVidLoc" method="POST">
<textarea class="neoCMSVidEmbed" id="neoCMSVidEmbed" name="neoCMSVidEmbed" rows="12"></textarea>
<a class="neoCMSApplyBtn" href="javascript:" id="neoCMSApplyBtn">&laquo; apply</a>
</form>
</div>
<div class="neoCMSVidInsert neoCMSPromptInsert">
<a title="Apply these changes" href="javascript:" id="neoCMSPromptBtn">done</a>
<a id="neoCMSPromptCancel" title="cancel" href="javascript:">cancel</a>
<a href="javascript:" id="neoCMSPromptBtn" title="Apply these changes">done</a>
<a href="javascript:" id="neoCMSPromptCancel" title="cancel">cancel</a>
</div>
</div>
+14 -1
View File
@@ -6,7 +6,7 @@
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta content="Default page" name="description">
<meta content="width=device-width, initial-scale=1" name="viewport">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com" rel="preconnect">
<link href="https://fonts.googleapis.com/css2?family=DM+Sans&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&display=swap" rel="stylesheet">
<style>
@@ -21,6 +21,7 @@
min-height: 675px;
background-color: #F4F5FF;
}
p {
width: 100%;
left: 0px;
@@ -34,11 +35,13 @@
color: #727586;
margin: 0px;
}
a:hover {
cursor: pointer;
color: #673DE6;
text-decoration: underline;
}
h1 {
font-family: 'DM Sans', sans-serif;
font-size: 24px;
@@ -47,6 +50,7 @@
text-align: center;
margin: 8px;
}
.content {
display: flex;
flex-direction: column;
@@ -55,15 +59,18 @@
width: 100%;
height: 100%;
}
.ic-launch {
margin-left: 10.5px;
width: 21px !important;
height: 20px !important;
}
.link-container {
margin-top: 32px;
margin-bottom: 32px;
}
.link {
display: flex;
flex-direction: row;
@@ -77,12 +84,14 @@
margin-top: 8px;
text-decoration: none;
}
.main-image {
width: 100%;
max-width: 650px;
max-height: 406px;
height: auto;
}
.navigation {
width: 100%;
height: 72px;
@@ -94,20 +103,24 @@
justify-content: center;
background-color: #36344D;
}
@media screen and (max-width: 580px) and (min-width: 0px) {
h1, p, .link-container {
width: 80%;
}
}
@media screen and (min-width: 650px) and (min-height: 0px) and (max-height: 750px) {
.link-container {
margin-top: 12px;
}
h1 {
margin-top: 0px;
margin-bottom: 0px;
}
}
.navigation {
color: white;
}