2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Merging the updated Limesurvey 1.92+ branch of queXS to trunk

This commit is contained in:
azammitdcarf
2012-11-21 04:04:39 +00:00
parent 153fc8ca0d
commit c569559964
856 changed files with 254260 additions and 819988 deletions

View File

@@ -1,3 +1,3 @@
Creata a sub folder in the zip directory and copy all these files to that dir.
Replace the include statements of webfxlayout.js and webfxapi.js to point at local/webfxlayout.js and
Creata a sub folder in the zip directory and copy all these files to that dir.
Replace the include statements of webfxlayout.js and webfxapi.js to point at local/webfxlayout.js and
local/webfxapi.js

View File

@@ -1,20 +1,20 @@
/*
* This script is used for WebFX Api pages
*
* It defines one funtion and includes helptip.js, helptip.css and webfxapi.css
*/
document.write( "<script type='text/javascript' src='local/helptip.js'><\/script>" );
document.write( "<link type='text/css' rel='stylesheet' href='local/helptip.css' />" );
document.write( "<link type='text/css' rel='stylesheet' href='local/webfxapi.css' />" );
function toggleMethodArguments( e, a ) {
if ( a && a.nextSibling &&
typeof a.nextSibling.innerHTML != "undefined" &&
typeof showHelpTip != "undefined" ) {
showHelpTip( e, a.nextSibling.innerHTML );
}
}
/*
* This script is used for WebFX Api pages
*
* It defines one funtion and includes helptip.js, helptip.css and webfxapi.css
*/
document.write( "<script type='text/javascript' src='local/helptip.js'><\/script>" );
document.write( "<link type='text/css' rel='stylesheet' href='local/helptip.css' />" );
document.write( "<link type='text/css' rel='stylesheet' href='local/webfxapi.css' />" );
function toggleMethodArguments( e, a ) {
if ( a && a.nextSibling &&
typeof a.nextSibling.innerHTML != "undefined" &&
typeof showHelpTip != "undefined" ) {
showHelpTip( e, a.nextSibling.innerHTML );
}
}

View File

@@ -1,281 +1,281 @@
/*
bright: rgb(234,242,255);
normal: rgb(120,172,255);
dark: rgb(0,66,174);
*/ /* import menu css */ /*
@import "dhtml/xmenu/xmenu.css";
*/
#webfx-about {
position: absolute;
background: white;
top: 102px;
right: 10px;
width: 20px;
writing-mode: tb-rl;
filter: flipH() flipV() alpha(opacity = 50);
}
/* headers css */
#webfx-title {
position: absolute;
left: 90px;
top: -5px;
color: black;
background: transparent;
border: 0;
padding: 0;
margin: 0;
font-family: Arial Black, Verdana, Helvetica, Sans-Serif;
font-weight: bold;
font-style: italic;
font-size: 45px;
letter-spacing: -5px;
}
#webfx-title-background {
width: 100%;
height: 67px;
background: white no-repeat; /*rgb(100,100,100) no-repeat;*/
background-image: url("images/title-background.png");
background-position: 0 0;
}
#webfx-sub-title {
position: absolute;
left: 96px;
top: 45px;
color: black;
background: transparent;
padding: 0;
margin: 0;
border: 0;
font-family: Verdana, Helvetica, Sans-Serif;
font-size: 11px;
}
#webfx-menu-bar-1,#webfx-menu-bar-2,#webfx-menu-bar-3,#webfx-menu-bar-4,#webfx-menu-bar-5
{
height: 2px;
font-size: 0;
overflow: hidden;
background: rgb(120, 172, 255); /*#ff8800;*/
padding: 0;
}
#webfx-menu-bar-1 {
background: rgb(0, 66, 174);
/*rgb(120,172,255);/*black;/*rgb(234,242,255);*/
height: 1px;
}
#webfx-menu-bar-2 {
background: rgb(120, 172, 255); /*#ff8800;*/
height: 1px;
}
#webfx-menu-bar-3 {
background: rgb(120, 172, 255); /*#ff8800;*/
height: 1px;
}
#webfx-menu-bar-4 {
background: rgb(0, 66, 174);
height: 1px;
}
#webfx-menu-bar-5 {
background: #dddddd;
height: 3px;
}
/* headers css end */
html,body {
height: 100%;
margin: 0;
padding: 0;
background: url("images/background-shadow.gif") repeat-y white;
color: black;
font-size: 13px;
font-family: "Verdana", "Tahoma", "Helvetica", "Sans-Serif";
}
.webfx-main-body {
margin-left: 100px;
width: 500px;
border-left: 1px solid rgb(120, 172, 255);
}
/* h1 only used in header */
h2,h3,h4,h5,h6 {
margin-top: 10px;
margin-left: 10px;
margin-right: 10px;
padding: 2px 10px 2px 10px;
background: rgb(234, 242, 255);
border-bottom: 1px solid rgb(120, 172, 255);
}
h1,h2 {
font-weight: normal;
}
h3,h4,h5,h6 {
font-weight: bold;
}
h1 {
font-size: 50px;
}
h2 {
font-size: 20px;
}
h3 {
font-size: 15px;
}
h4 {
font-size: 12px;
}
p {
margin: 10px;
font-size: 13px;
color: black;
text-align: justify;
}
td {
font-size: 13px;
font-family: "Verdana", "Tahoma", "Helvetica", "Sans-Serif";
}
pre {
margin: 20px;
margin-right: 10px;
background: #eeeeee;
padding: 10px;
border: 1px solid #dddddd;
color: black;
}
code {
background: #eeeeee;
border: 1px solid #dddddd;
color: black;
}
a {
text-decoration: underline;
color: rgb(0, 66, 174);
}
a:hover { /*rgb(0,66,174)*/
color: rgb(0, 66, 174);
background: rgb(234, 242, 255);
}
a:visited {
color: rgb(120, 172, 255);
}
a:visited:hover {
color: rgb(0, 66, 174);
}
hr {
margin-left: 10px;
margin-right: 10px;
padding: 0;
text-align: left;
height: 1px;
color: rgb(120, 172, 255);
background-color: rgb(120, 172, 255);
border-bottom: 1px solid rgb(120, 172, 255);
border: 0;
}
h2 a,h3 a {
display: block;
text-decoration: none;
width: expression("100%");
}
table {
margin: 10px;
font-size: 13px;
color: black;
}
thead td {
background: rgb(234, 242, 255);
border-bottom: 1px solid rgb(120, 172, 255);
font-weight: bold;
}
.author {
margin-top: 50px;
font-style: italic;
}
.date {
color: rgb(0, 66, 174);
}
.warning,.warning a {
color: red;
}
.warning a:visited,.warning a:hover {
color: red;
}
.warning a:hover {
background: rgb(255, 230, 230);
}
/* copied from xmenu.css */
.webfx-menu-bar {
background: rgb(120, 172, 255); /*rgb(255,128,0);*/
padding: 2px;
font-family: Verdana, Helvetica, Sans-Serif;
font-size: 11px;
}
.webfx-menu-bar a,.webfx-menu-bar a:visited {
color: black;
border: 1px solid rgb(120, 172, 255); /*rgb(255,128,0);*/
text-decoration: none;
padding: 1px;
padding-left: 5px;
padding-right: 5px;
}
.webfx-menu-bar a:hover {
color: black;
background: rgb(120, 172, 255);
border-left: 1px solid rgb(234, 242, 255); /*#ffcc88;*/
border-right: 1px solid rgb(0, 66, 174); /*#884400;*/
border-top: 1px solid rgb(234, 242, 255); /*#ffcc88;*/
border-bottom: 1px solid rgb(0, 66, 174); /*#884400;*/
}
.webfx-menu-bar a .arrow {
border: 0;
float: none;
/*
float: right;
width: 6px;
height: 16px;
margin-right: 2px;
background: red;
*/
}
.webfx-menu-bar a:active,.webfx-menu-bar a:focus {
-moz-outline: none;
/*
bright: rgb(234,242,255);
normal: rgb(120,172,255);
dark: rgb(0,66,174);
*/ /* import menu css */ /*
@import "dhtml/xmenu/xmenu.css";
*/
#webfx-about {
position: absolute;
background: white;
top: 102px;
right: 10px;
width: 20px;
writing-mode: tb-rl;
filter: flipH() flipV() alpha(opacity = 50);
}
/* headers css */
#webfx-title {
position: absolute;
left: 90px;
top: -5px;
color: black;
background: transparent;
border: 0;
padding: 0;
margin: 0;
font-family: Arial Black, Verdana, Helvetica, Sans-Serif;
font-weight: bold;
font-style: italic;
font-size: 45px;
letter-spacing: -5px;
}
#webfx-title-background {
width: 100%;
height: 67px;
background: white no-repeat; /*rgb(100,100,100) no-repeat;*/
background-image: url("images/title-background.png");
background-position: 0 0;
}
#webfx-sub-title {
position: absolute;
left: 96px;
top: 45px;
color: black;
background: transparent;
padding: 0;
margin: 0;
border: 0;
font-family: Verdana, Helvetica, Sans-Serif;
font-size: 11px;
}
#webfx-menu-bar-1,#webfx-menu-bar-2,#webfx-menu-bar-3,#webfx-menu-bar-4,#webfx-menu-bar-5
{
height: 2px;
font-size: 0;
overflow: hidden;
background: rgb(120, 172, 255); /*#ff8800;*/
padding: 0;
}
#webfx-menu-bar-1 {
background: rgb(0, 66, 174);
/*rgb(120,172,255);/*black;/*rgb(234,242,255);*/
height: 1px;
}
#webfx-menu-bar-2 {
background: rgb(120, 172, 255); /*#ff8800;*/
height: 1px;
}
#webfx-menu-bar-3 {
background: rgb(120, 172, 255); /*#ff8800;*/
height: 1px;
}
#webfx-menu-bar-4 {
background: rgb(0, 66, 174);
height: 1px;
}
#webfx-menu-bar-5 {
background: #dddddd;
height: 3px;
}
/* headers css end */
html,body {
height: 100%;
margin: 0;
padding: 0;
background: url("images/background-shadow.gif") repeat-y white;
color: black;
font-size: 13px;
font-family: "Verdana", "Tahoma", "Helvetica", "Sans-Serif";
}
.webfx-main-body {
margin-left: 100px;
width: 500px;
border-left: 1px solid rgb(120, 172, 255);
}
/* h1 only used in header */
h2,h3,h4,h5,h6 {
margin-top: 10px;
margin-left: 10px;
margin-right: 10px;
padding: 2px 10px 2px 10px;
background: rgb(234, 242, 255);
border-bottom: 1px solid rgb(120, 172, 255);
}
h1,h2 {
font-weight: normal;
}
h3,h4,h5,h6 {
font-weight: bold;
}
h1 {
font-size: 50px;
}
h2 {
font-size: 20px;
}
h3 {
font-size: 15px;
}
h4 {
font-size: 12px;
}
p {
margin: 10px;
font-size: 13px;
color: black;
text-align: justify;
}
td {
font-size: 13px;
font-family: "Verdana", "Tahoma", "Helvetica", "Sans-Serif";
}
pre {
margin: 20px;
margin-right: 10px;
background: #eeeeee;
padding: 10px;
border: 1px solid #dddddd;
color: black;
}
code {
background: #eeeeee;
border: 1px solid #dddddd;
color: black;
}
a {
text-decoration: underline;
color: rgb(0, 66, 174);
}
a:hover { /*rgb(0,66,174)*/
color: rgb(0, 66, 174);
background: rgb(234, 242, 255);
}
a:visited {
color: rgb(120, 172, 255);
}
a:visited:hover {
color: rgb(0, 66, 174);
}
hr {
margin-left: 10px;
margin-right: 10px;
padding: 0;
text-align: left;
height: 1px;
color: rgb(120, 172, 255);
background-color: rgb(120, 172, 255);
border-bottom: 1px solid rgb(120, 172, 255);
border: 0;
}
h2 a,h3 a {
display: block;
text-decoration: none;
width: expression("100%");
}
table {
margin: 10px;
font-size: 13px;
color: black;
}
thead td {
background: rgb(234, 242, 255);
border-bottom: 1px solid rgb(120, 172, 255);
font-weight: bold;
}
.author {
margin-top: 50px;
font-style: italic;
}
.date {
color: rgb(0, 66, 174);
}
.warning,.warning a {
color: red;
}
.warning a:visited,.warning a:hover {
color: red;
}
.warning a:hover {
background: rgb(255, 230, 230);
}
/* copied from xmenu.css */
.webfx-menu-bar {
background: rgb(120, 172, 255); /*rgb(255,128,0);*/
padding: 2px;
font-family: Verdana, Helvetica, Sans-Serif;
font-size: 11px;
}
.webfx-menu-bar a,.webfx-menu-bar a:visited {
color: black;
border: 1px solid rgb(120, 172, 255); /*rgb(255,128,0);*/
text-decoration: none;
padding: 1px;
padding-left: 5px;
padding-right: 5px;
}
.webfx-menu-bar a:hover {
color: black;
background: rgb(120, 172, 255);
border-left: 1px solid rgb(234, 242, 255); /*#ffcc88;*/
border-right: 1px solid rgb(0, 66, 174); /*#884400;*/
border-top: 1px solid rgb(234, 242, 255); /*#ffcc88;*/
border-bottom: 1px solid rgb(0, 66, 174); /*#884400;*/
}
.webfx-menu-bar a .arrow {
border: 0;
float: none;
/*
float: right;
width: 6px;
height: 16px;
margin-right: 2px;
background: red;
*/
}
.webfx-menu-bar a:active,.webfx-menu-bar a:focus {
-moz-outline: none;
outline: none;

View File

@@ -1,111 +1,111 @@
/* this is a dummy webfxlayout file to be used in download zip files */
/* Do includes */
if (window.pathToRoot == null)
pathToRoot = "./";
document.write('<link type="text/css" rel="stylesheet" href="local/webfxlayout.css">');
webfxMenuDefaultImagePath = pathToRoot + "images/";
/* end includes */
/* set up browser checks and add a simple emulation for IE4 */
// check browsers
var op = /opera 5|opera\/5/i.test(navigator.userAgent);
var ie = !op && /msie/i.test(navigator.userAgent); // preventing opera to be identified as ie
var mz = !op && /mozilla\/5/i.test(navigator.userAgent); // preventing opera to be identified as mz
if (ie && document.getElementById == null) { // ie4
document.getElementById = function(sId) {
return document.all[sId];
};
}
/* end browser checks */
webfxLayout = {
writeTitle : function (s, s2) {
document.write("<div id='webfx-title-background'></div>");
if (op) {
document.write("<h1 id='webfx-title' style='top:9px;'>" + s + "</h1>");
}
else {
document.write("<h1 id='webfx-title'>" + s + "</h1>");
}
if (s2 == null)
s2 = "WebFX - What you never thought possible!";
if (op) {
document.write("<span id='webfx-sub-title' style='top:46px;'>" + s2 + "</span>");
}
else {
document.write("<span id='webfx-sub-title'>" + s2 + "</span>");
}
},
writeMainTitle : function () {
this.writeTitle("WebFX", "What you never thought possible!");
},
writeTopMenuBar : function () {
document.write("<div id='webfx-menu-bar-1'></div>");
if (op) {
document.write("<style>.webfx-menu-bar a {padding-top:3px;}</style>");
document.write("<div id='webfx-menu-bar-2' style='height:2px;'></div>");
}
else
document.write("<div id='webfx-menu-bar-2'></div>");
document.write("<div id='webfx-menu-bar'>");// div is closed in writeBottomMenuBar
},
writeBottomMenuBar : function () {
document.write("</div>");
if (op)
document.write("<div id='webfx-menu-bar-3' style='height:0px;'></div>");
else
document.write("<div id='webfx-menu-bar-3'></div>");
document.write("<div id='webfx-menu-bar-4'></div>");
document.write("<div id='webfx-menu-bar-5'></div>");
},
writeMenu : function () {
this.writeTopMenuBar();
//document.write(webfxMenuBar);
document.write("<div class='webfx-menu-bar'><a href='http://webfx.eae.net'>WebFX Home</a></div>");
this.writeBottomMenuBar();
},
writeDesignedByEdger : function () {
if (ie && document.body.currentStyle.writingMode != null)
document.write("<div id='webfx-about'>Page designed and maintained by " +
"<a href='mailto:erik@eae.net'>Erik Arvidsson</a> &amp; " +
"<a href='mailto:eae@eae.net'>Emil A Eklund</a>.</div>");
}
};
if (ie && window.attachEvent) {
window.attachEvent("onload", function () {
var scrollBorderColor = "rgb(120,172,255)";
var scrollFaceColor = "rgb(234,242,255)";
with (document.body.style) {
scrollbarDarkShadowColor = scrollBorderColor;
scrollbar3dLightColor = scrollBorderColor;
scrollbarArrowColor = "black";
scrollbarBaseColor = scrollFaceColor;
scrollbarFaceColor = scrollFaceColor;
scrollbarHighlightColor = scrollFaceColor;
scrollbarShadowColor = scrollFaceColor;
scrollbarTrackColor = "white";
}
});
}
/* we also need some dummy constructors */
webfxMenuBar = {
add : function () {}
};
function WebFXMenu() {
this.add = function () {};
}
function WebFXMenuItem() {}
function WebFXMenuSeparator() {}
/* this is a dummy webfxlayout file to be used in download zip files */
/* Do includes */
if (window.pathToRoot == null)
pathToRoot = "./";
document.write('<link type="text/css" rel="stylesheet" href="local/webfxlayout.css">');
webfxMenuDefaultImagePath = pathToRoot + "images/";
/* end includes */
/* set up browser checks and add a simple emulation for IE4 */
// check browsers
var op = /opera 5|opera\/5/i.test(navigator.userAgent);
var ie = !op && /msie/i.test(navigator.userAgent); // preventing opera to be identified as ie
var mz = !op && /mozilla\/5/i.test(navigator.userAgent); // preventing opera to be identified as mz
if (ie && document.getElementById == null) { // ie4
document.getElementById = function(sId) {
return document.all[sId];
};
}
/* end browser checks */
webfxLayout = {
writeTitle : function (s, s2) {
document.write("<div id='webfx-title-background'></div>");
if (op) {
document.write("<h1 id='webfx-title' style='top:9px;'>" + s + "</h1>");
}
else {
document.write("<h1 id='webfx-title'>" + s + "</h1>");
}
if (s2 == null)
s2 = "WebFX - What you never thought possible!";
if (op) {
document.write("<span id='webfx-sub-title' style='top:46px;'>" + s2 + "</span>");
}
else {
document.write("<span id='webfx-sub-title'>" + s2 + "</span>");
}
},
writeMainTitle : function () {
this.writeTitle("WebFX", "What you never thought possible!");
},
writeTopMenuBar : function () {
document.write("<div id='webfx-menu-bar-1'></div>");
if (op) {
document.write("<style>.webfx-menu-bar a {padding-top:3px;}</style>");
document.write("<div id='webfx-menu-bar-2' style='height:2px;'></div>");
}
else
document.write("<div id='webfx-menu-bar-2'></div>");
document.write("<div id='webfx-menu-bar'>");// div is closed in writeBottomMenuBar
},
writeBottomMenuBar : function () {
document.write("</div>");
if (op)
document.write("<div id='webfx-menu-bar-3' style='height:0px;'></div>");
else
document.write("<div id='webfx-menu-bar-3'></div>");
document.write("<div id='webfx-menu-bar-4'></div>");
document.write("<div id='webfx-menu-bar-5'></div>");
},
writeMenu : function () {
this.writeTopMenuBar();
//document.write(webfxMenuBar);
document.write("<div class='webfx-menu-bar'><a href='http://webfx.eae.net'>WebFX Home</a></div>");
this.writeBottomMenuBar();
},
writeDesignedByEdger : function () {
if (ie && document.body.currentStyle.writingMode != null)
document.write("<div id='webfx-about'>Page designed and maintained by " +
"<a href='mailto:erik@eae.net'>Erik Arvidsson</a> &amp; " +
"<a href='mailto:eae@eae.net'>Emil A Eklund</a>.</div>");
}
};
if (ie && window.attachEvent) {
window.attachEvent("onload", function () {
var scrollBorderColor = "rgb(120,172,255)";
var scrollFaceColor = "rgb(234,242,255)";
with (document.body.style) {
scrollbarDarkShadowColor = scrollBorderColor;
scrollbar3dLightColor = scrollBorderColor;
scrollbarArrowColor = "black";
scrollbarBaseColor = scrollFaceColor;
scrollbarFaceColor = scrollFaceColor;
scrollbarHighlightColor = scrollFaceColor;
scrollbarShadowColor = scrollFaceColor;
scrollbarTrackColor = "white";
}
});
}
/* we also need some dummy constructors */
webfxMenuBar = {
add : function () {}
};
function WebFXMenu() {
this.add = function () {};
}
function WebFXMenuItem() {}
function WebFXMenuSeparator() {}
function WebFXMenuButton() {}