diff options
Diffstat (limited to 'TWiki')
26 files changed, 1117 insertions, 0 deletions
diff --git a/TWiki/GnuSkin/GnuSkin-2002_06_04_094442_shot.jpg b/TWiki/GnuSkin/GnuSkin-2002_06_04_094442_shot.jpg Binary files differnew file mode 100644 index 00000000..19f4d4e9 --- /dev/null +++ b/TWiki/GnuSkin/GnuSkin-2002_06_04_094442_shot.jpg diff --git a/TWiki/GnuSkin/RCS/menuscript.js b/TWiki/GnuSkin/RCS/menuscript.js new file mode 100644 index 00000000..6b30f176 --- /dev/null +++ b/TWiki/GnuSkin/RCS/menuscript.js @@ -0,0 +1,289 @@ +// Determine browser type (Netscape 6 or IE 5.5).
+
+
+var isIE5 = (navigator.userAgent.indexOf("MSIE 5.5") > 0) ? 1 : 0;
+var isIE5 = (navigator.userAgent.indexOf("MSIE 5") > 0) ? 1 : 0;
+var isNS6 = (navigator.userAgent.indexOf("Gecko") > 0) ? 1 : 0;
+var isNS4 = ((navigator.appName.indexOf("Netscape")==0)
+ &&(navigator.userAgent.indexOf("Mozilla/4") == 0)) ? 1 : 0;
+
+//if (isNS4==0)
+// alert("This skin has been designed for Netscape 4.x.");
+
+// For IE, adjust menu bar styling.
+
+if (isIE5) {
+ document.styleSheets[document.styleSheets.length - 1].addRule("#menuBar", "padding-top:3px");
+ document.styleSheets[document.styleSheets.length - 1].addRule("#menuBar", "padding-bottom:3px");
+}
+
+// Global variable for tracking the currently active button.
+
+var activeButton = null;
+
+if (isIE5)
+ document.onmousedown = pageMousedown;
+if (isNS6)
+ document.addEventListener("mousedown", pageMousedown, true);
+
+function pageMousedown(event) {
+
+ var className;
+
+ // If the object clicked on was not a menu button or item, close any active
+ // menu.
+
+ if (isIE5)
+ className = window.event.srcElement.className;
+ if (isNS6)
+ className = (event.target.className ?
+ event.target.className : event.target.parentNode.className);
+
+ //Top menu mouseover
+ if (className != "menuButton" && className != "menuItem" && className != "menuItemDiff" && activeButton)
+ resetButton(activeButton);
+
+
+ //Left menu show hide
+ var eSrc = window.event.srcElement;
+ window.event.cancelBubble = true;
+ if ("clsShowHide" == eSrc.className) return contentsHeading_click(eSrc);
+
+ //Original version of this (with frames support)
+ //while ("BODY" != eSrc.tagName) {
+ // if ("clsItem" == eSrc.className || "clsItemSelect" == eSrc.className) return contentsItem_click(eSrc);
+ // else if ("clsShowHide" == eSrc.className || "clsHeading" == eSrc.className) return contentsHeading_click(eSrc);
+ // eSrc = eSrc.parentElement;
+ //}
+}
+
+function buttonClick(button, menuName) {
+
+ // Blur focus from the link to remove that annoying outline.
+
+ if (!isNS4)
+ button.blur();
+
+ // Associate the named menu to this button if not already done.
+
+ if (!button.menu)
+ {
+ if (isNS4)
+ button.menu = document.layers[menuName];
+ else
+ button.menu = document.getElementById(menuName);
+ }
+
+
+ // Reset the currently active button, if any.
+
+ if (activeButton && activeButton != button)
+ resetButton(activeButton);
+
+ // Toggle the button's state.
+
+ if (button.isDepressed)
+ resetButton(button);
+ else
+ depressButton(button);
+
+ return false;
+}
+
+function buttonMouseover(button, menuName) {
+
+ // If any other button menu is active, deactivate it and activate this one.
+ // Note: if this button has no menu, leave the active menu alone.
+
+ if (activeButton) {
+ if (activeButton != button) {
+ resetButton(activeButton);
+ if (menuName)
+ buttonClick(button, menuName);
+ }
+ else {
+ }
+ }
+ else {
+ if (menuName)
+ buttonClick(button, menuName);
+ }
+}
+
+function depressButton(button) {
+
+ // Save current style values so they can be restored later.
+ // Only needs to be done once.
+
+ if (!button.oldBackgroundColor) {
+ button.oldBackgroundColor = button.style.backgroundColor;
+ button.oldBorderBottomColor = button.style.borderBottomColor;
+ button.oldBorderRightColor = button.style.borderRightColor;
+ button.oldBorderTopColor = button.style.borderTopColor;
+ button.oldBorderLeftColor = button.style.borderLeftColor;
+ button.oldColor = button.style.color;
+ button.oldLeft = button.style.left;
+ button.oldPosition = button.style.position;
+ button.oldTop = button.style.top;
+ }
+
+ // Change style value to make the button looks like it's
+ // depressed.
+
+ button.style.backgroundColor = "#99CC99";
+ button.style.borderBottomColor = "#99CC99";
+ button.style.borderRightColor = "#99CC99";
+ button.style.borderTopColor = "#99CC99";
+ button.style.borderLeftColor = "#99CC99";
+ button.style.color = "#E9E9E9";
+ button.style.left = "0px";
+ button.style.position = "relative";
+ button.style.top = "0px";
+
+ // For IE, force first menu item to the width of the parent menu,
+ // this causes mouseovers work for all items even when cursor is
+ // not over the link text.
+
+ if (isIE5 && !button.menu.firstChild.style.width)
+ button.menu.firstChild.style.width =
+ button.menu.offsetWidth + "px";
+
+if (isNS4)
+{
+ button.menu.left = (window.innerWidth-100);
+ button.menu.top = 0;
+ button.menu.visibility = "show";
+}
+else
+{
+
+
+ // Position the associated drop down menu under the button and
+ // show it. Note that the position must be adjusted according to
+ // browser, styling and positioning.
+
+ //x = getPageOffsetLeft(button);
+ x = getPageOffsetLeft(button);
+ y = getPageOffsetTop(button) + button.offsetHeight;
+ if (isIE5)
+ y += 2;
+ if (isNS6) {
+ x--;
+ y--;
+ }
+ x -= 20;
+ y -= 10;
+ button.menu.style.left = x + "px";
+ button.menu.style.top = y + "px";
+ button.menu.style.visibility = "visible";
+}
+
+ // Set button state and let the world know which button is
+ // active.
+
+ button.isDepressed = true;
+ activeButton = button;
+}
+
+function resetButton(button) {
+
+ // Restore the button's style settings.
+
+ button.style.backgroundColor = button.oldBackgroundColor;
+ button.style.borderBottomColor = button.oldBorderBottomColor;
+ button.style.borderRightColor = button.oldBorderRightColor;
+ button.style.borderTopColor = button.oldBorderTopColor;
+ button.style.borderLeftColor = button.oldBorderLeftColor;
+ button.style.color = button.oldColor;
+ button.style.left = button.oldLeft;
+ button.style.position = button.oldPosition;
+ button.style.top = button.oldTop;
+
+ // Hide the button's menu.
+
+ if (button.menu)
+ {
+ if (isNS4)
+ button.menu.visibility = "hide";
+ else
+ button.menu.style.visibility = "hidden";
+
+ }
+
+
+ // Set button state and clear active menu global.
+
+ button.isDepressed = false;
+ activeButton = null;
+}
+
+function getPageOffsetLeft(el) {
+
+ // Return the true x coordinate of an element relative to the page.
+
+ return el.offsetLeft + (el.offsetParent ? getPageOffsetLeft(el.offsetParent) : 0);
+}
+
+
+function getPageOffsetTop(el) {
+
+ // Return the true y coordinate of an element relative to the page.
+
+ return el.offsetTop + (el.offsetParent ? getPageOffsetTop(el.offsetParent) : 0);
+}
+
+
+// Swap background colour
+function bgcolour(obj, Colour) {
+ obj.style.backgroundColor=Colour
+}
+
+//Pop up window
+function MM_openBrWindow(theURL,winName,features) { //v2.0
+ window.open(theURL,winName,features);
+}
+
+function MM_findObj(n, d) { //v3.0
+ var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
+ d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
+ if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
+ for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
+}
+/* Functions that swaps %PUBURLPATH%/skins/tiger. */
+function MM_swapImage() { //v3.0
+ var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
+ if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
+}
+
+//Left menu folders
+var eSelected = null;
+function contentsHeading_click(eSrc) {
+ if ("clsShowHide" == eSrc.className) eSrc = document.all[eSrc.sourceIndex + 1];
+ var iNumElements = document.all.length;
+ for (var i=eSrc.sourceIndex+1;i<iNumElements;i++) {
+ var eTemp = document.all[i];
+ if ("clsHeading" == eTemp.className) return;
+ else if ("clsItemsHide" == eTemp.className) {
+ eTemp.className = "clsItemsShow";
+ //No image url in .js - not subject to wiki vars
+ //eSrc.style.listStyleImage = "url('images/blueminus.gif')";
+ return eSrc.blur();
+ }
+ else if("clsItemsShow" == eTemp.className) {
+ eTemp.className = "clsItemsHide";
+ //No image url in .js - not subject to wiki vars
+ //eSrc.style.listStyleImage = "url('images/blueplus.gif')";
+ return eSrc.blur();
+ }
+ }
+}
+function contentsItem_click(eSrc) {
+ if (document.all["styleView"]) eSrc.target = document.all["styleView"].checked ? "_blank" : "TEXT";
+ else if ("" == eSrc.target) eSrc.target = "TEXT"
+ if(null != eSelected) eSelected.className = "clsItem";
+ eSrc.className = "clsItemSelect";
+ eSelected = eSrc;
+}
+
+
+
diff --git a/TWiki/GnuSkinTodo/gnuskin-comment-bug.diff b/TWiki/GnuSkinTodo/gnuskin-comment-bug.diff new file mode 100644 index 00000000..a1afb5e2 --- /dev/null +++ b/TWiki/GnuSkinTodo/gnuskin-comment-bug.diff @@ -0,0 +1,4 @@ +34c34 +< %TMPL:P{"parents"}%<!-- %WEBTOPICLIST% --> </td> +--- +> %TMPL:P{"parents"}%<!--%WEBTOPICLIST%--></td> diff --git a/TWiki/GnuSkinTodo/gnuskin-i18n-diffs b/TWiki/GnuSkinTodo/gnuskin-i18n-diffs new file mode 100644 index 00000000..c0b26cbb --- /dev/null +++ b/TWiki/GnuSkinTodo/gnuskin-i18n-diffs @@ -0,0 +1,66 @@ +========= changeform.gnu.tmpl +5c5 +< <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" /> +--- +> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> +11c11 +< <form name="main" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%" method="post"> +--- +> <form name="main" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/%TOPIC%" method="post"> +========= edit.gnu.tmpl +6c6 +< <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" /> +--- +> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> +12c12 +< <form name="main" action="%SCRIPTURLPATH%/save%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%" method="post"> +--- +> <form name="main" action="%SCRIPTURLPATH%/save%SCRIPTSUFFIX%/%WEB%/%TOPIC%" method="post"> +========= preview.gnu.tmpl +6c6 +< <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" /> +--- +> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> +26c26 +< <form name="main" action="%SCRIPTURLPATH%/save%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%" method="post"> +--- +> <form name="main" action="%SCRIPTURLPATH%/save%SCRIPTSUFFIX%/%WEB%/%TOPIC%" method="post"> +========= rdiff.gnu.tmpl +6c6 +< <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" /> +--- +> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> +========= search.gnu.tmpl +6c6 +< <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" /> +--- +> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> +========= searchbookview.gnu.tmpl +6c6 +< <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" /> +--- +> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> +========= searchformat.gnu.tmpl +6c6 +< <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" /> +--- +> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> +========= searchrenameview.gnu.tmpl +6c6 +< <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" /> +--- +> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> +========= twiki.gnu.tmpl +23c23 +< ); ;( +--- +> ): :( +226c226 +< <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" /> +--- +> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> +========= view.gnu.tmpl +6c6 +< <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
+--- +> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
diff --git a/TWiki/GnuSkinTodo/gnuskin-icon-problem.png b/TWiki/GnuSkinTodo/gnuskin-icon-problem.png Binary files differnew file mode 100644 index 00000000..971192a5 --- /dev/null +++ b/TWiki/GnuSkinTodo/gnuskin-icon-problem.png diff --git a/TWiki/SmiliesPlugin/biggrin.gif b/TWiki/SmiliesPlugin/biggrin.gif Binary files differnew file mode 100644 index 00000000..c1509e17 --- /dev/null +++ b/TWiki/SmiliesPlugin/biggrin.gif diff --git a/TWiki/SmiliesPlugin/confused.gif b/TWiki/SmiliesPlugin/confused.gif Binary files differnew file mode 100644 index 00000000..684b51c9 --- /dev/null +++ b/TWiki/SmiliesPlugin/confused.gif diff --git a/TWiki/SmiliesPlugin/cool.gif b/TWiki/SmiliesPlugin/cool.gif Binary files differnew file mode 100644 index 00000000..b2c0b8c6 --- /dev/null +++ b/TWiki/SmiliesPlugin/cool.gif diff --git a/TWiki/SmiliesPlugin/eek.gif b/TWiki/SmiliesPlugin/eek.gif Binary files differnew file mode 100644 index 00000000..43cf2125 --- /dev/null +++ b/TWiki/SmiliesPlugin/eek.gif diff --git a/TWiki/SmiliesPlugin/frown.gif b/TWiki/SmiliesPlugin/frown.gif Binary files differnew file mode 100644 index 00000000..e3086d11 --- /dev/null +++ b/TWiki/SmiliesPlugin/frown.gif diff --git a/TWiki/SmiliesPlugin/mad.gif b/TWiki/SmiliesPlugin/mad.gif Binary files differnew file mode 100644 index 00000000..a38492bf --- /dev/null +++ b/TWiki/SmiliesPlugin/mad.gif diff --git a/TWiki/SmiliesPlugin/redface.gif b/TWiki/SmiliesPlugin/redface.gif Binary files differnew file mode 100644 index 00000000..44cd75a8 --- /dev/null +++ b/TWiki/SmiliesPlugin/redface.gif diff --git a/TWiki/SmiliesPlugin/rolleyes.gif b/TWiki/SmiliesPlugin/rolleyes.gif Binary files differnew file mode 100644 index 00000000..d5e29f52 --- /dev/null +++ b/TWiki/SmiliesPlugin/rolleyes.gif diff --git a/TWiki/SmiliesPlugin/smile.gif b/TWiki/SmiliesPlugin/smile.gif Binary files differnew file mode 100644 index 00000000..603ddddb --- /dev/null +++ b/TWiki/SmiliesPlugin/smile.gif diff --git a/TWiki/SmiliesPlugin/tongue.gif b/TWiki/SmiliesPlugin/tongue.gif Binary files differnew file mode 100644 index 00000000..1b36c3d0 --- /dev/null +++ b/TWiki/SmiliesPlugin/tongue.gif diff --git a/TWiki/SmiliesPlugin/wink.gif b/TWiki/SmiliesPlugin/wink.gif Binary files differnew file mode 100644 index 00000000..077383e1 --- /dev/null +++ b/TWiki/SmiliesPlugin/wink.gif diff --git a/TWiki/TWikiDocGraphics/8831.gif b/TWiki/TWikiDocGraphics/8831.gif Binary files differnew file mode 100644 index 00000000..08d0b23e --- /dev/null +++ b/TWiki/TWikiDocGraphics/8831.gif diff --git a/TWiki/TWikiDocGraphics/help.gif b/TWiki/TWikiDocGraphics/help.gif Binary files differnew file mode 100644 index 00000000..be8659e1 --- /dev/null +++ b/TWiki/TWikiDocGraphics/help.gif diff --git a/TWiki/TWikiDocGraphics/tip.gif b/TWiki/TWikiDocGraphics/tip.gif Binary files differnew file mode 100644 index 00000000..0705fe35 --- /dev/null +++ b/TWiki/TWikiDocGraphics/tip.gif diff --git a/TWiki/TWikiDocGraphics/warning.gif b/TWiki/TWikiDocGraphics/warning.gif Binary files differnew file mode 100644 index 00000000..dad469ac --- /dev/null +++ b/TWiki/TWikiDocGraphics/warning.gif diff --git a/TWiki/TWikiTemplates/testscreen.gif b/TWiki/TWikiTemplates/testscreen.gif Binary files differnew file mode 100644 index 00000000..179b083d --- /dev/null +++ b/TWiki/TWikiTemplates/testscreen.gif diff --git a/TWiki/TigerSkin/RCS/menuscript.js b/TWiki/TigerSkin/RCS/menuscript.js new file mode 100644 index 00000000..6b30f176 --- /dev/null +++ b/TWiki/TigerSkin/RCS/menuscript.js @@ -0,0 +1,289 @@ +// Determine browser type (Netscape 6 or IE 5.5).
+
+
+var isIE5 = (navigator.userAgent.indexOf("MSIE 5.5") > 0) ? 1 : 0;
+var isIE5 = (navigator.userAgent.indexOf("MSIE 5") > 0) ? 1 : 0;
+var isNS6 = (navigator.userAgent.indexOf("Gecko") > 0) ? 1 : 0;
+var isNS4 = ((navigator.appName.indexOf("Netscape")==0)
+ &&(navigator.userAgent.indexOf("Mozilla/4") == 0)) ? 1 : 0;
+
+//if (isNS4==0)
+// alert("This skin has been designed for Netscape 4.x.");
+
+// For IE, adjust menu bar styling.
+
+if (isIE5) {
+ document.styleSheets[document.styleSheets.length - 1].addRule("#menuBar", "padding-top:3px");
+ document.styleSheets[document.styleSheets.length - 1].addRule("#menuBar", "padding-bottom:3px");
+}
+
+// Global variable for tracking the currently active button.
+
+var activeButton = null;
+
+if (isIE5)
+ document.onmousedown = pageMousedown;
+if (isNS6)
+ document.addEventListener("mousedown", pageMousedown, true);
+
+function pageMousedown(event) {
+
+ var className;
+
+ // If the object clicked on was not a menu button or item, close any active
+ // menu.
+
+ if (isIE5)
+ className = window.event.srcElement.className;
+ if (isNS6)
+ className = (event.target.className ?
+ event.target.className : event.target.parentNode.className);
+
+ //Top menu mouseover
+ if (className != "menuButton" && className != "menuItem" && className != "menuItemDiff" && activeButton)
+ resetButton(activeButton);
+
+
+ //Left menu show hide
+ var eSrc = window.event.srcElement;
+ window.event.cancelBubble = true;
+ if ("clsShowHide" == eSrc.className) return contentsHeading_click(eSrc);
+
+ //Original version of this (with frames support)
+ //while ("BODY" != eSrc.tagName) {
+ // if ("clsItem" == eSrc.className || "clsItemSelect" == eSrc.className) return contentsItem_click(eSrc);
+ // else if ("clsShowHide" == eSrc.className || "clsHeading" == eSrc.className) return contentsHeading_click(eSrc);
+ // eSrc = eSrc.parentElement;
+ //}
+}
+
+function buttonClick(button, menuName) {
+
+ // Blur focus from the link to remove that annoying outline.
+
+ if (!isNS4)
+ button.blur();
+
+ // Associate the named menu to this button if not already done.
+
+ if (!button.menu)
+ {
+ if (isNS4)
+ button.menu = document.layers[menuName];
+ else
+ button.menu = document.getElementById(menuName);
+ }
+
+
+ // Reset the currently active button, if any.
+
+ if (activeButton && activeButton != button)
+ resetButton(activeButton);
+
+ // Toggle the button's state.
+
+ if (button.isDepressed)
+ resetButton(button);
+ else
+ depressButton(button);
+
+ return false;
+}
+
+function buttonMouseover(button, menuName) {
+
+ // If any other button menu is active, deactivate it and activate this one.
+ // Note: if this button has no menu, leave the active menu alone.
+
+ if (activeButton) {
+ if (activeButton != button) {
+ resetButton(activeButton);
+ if (menuName)
+ buttonClick(button, menuName);
+ }
+ else {
+ }
+ }
+ else {
+ if (menuName)
+ buttonClick(button, menuName);
+ }
+}
+
+function depressButton(button) {
+
+ // Save current style values so they can be restored later.
+ // Only needs to be done once.
+
+ if (!button.oldBackgroundColor) {
+ button.oldBackgroundColor = button.style.backgroundColor;
+ button.oldBorderBottomColor = button.style.borderBottomColor;
+ button.oldBorderRightColor = button.style.borderRightColor;
+ button.oldBorderTopColor = button.style.borderTopColor;
+ button.oldBorderLeftColor = button.style.borderLeftColor;
+ button.oldColor = button.style.color;
+ button.oldLeft = button.style.left;
+ button.oldPosition = button.style.position;
+ button.oldTop = button.style.top;
+ }
+
+ // Change style value to make the button looks like it's
+ // depressed.
+
+ button.style.backgroundColor = "#99CC99";
+ button.style.borderBottomColor = "#99CC99";
+ button.style.borderRightColor = "#99CC99";
+ button.style.borderTopColor = "#99CC99";
+ button.style.borderLeftColor = "#99CC99";
+ button.style.color = "#E9E9E9";
+ button.style.left = "0px";
+ button.style.position = "relative";
+ button.style.top = "0px";
+
+ // For IE, force first menu item to the width of the parent menu,
+ // this causes mouseovers work for all items even when cursor is
+ // not over the link text.
+
+ if (isIE5 && !button.menu.firstChild.style.width)
+ button.menu.firstChild.style.width =
+ button.menu.offsetWidth + "px";
+
+if (isNS4)
+{
+ button.menu.left = (window.innerWidth-100);
+ button.menu.top = 0;
+ button.menu.visibility = "show";
+}
+else
+{
+
+
+ // Position the associated drop down menu under the button and
+ // show it. Note that the position must be adjusted according to
+ // browser, styling and positioning.
+
+ //x = getPageOffsetLeft(button);
+ x = getPageOffsetLeft(button);
+ y = getPageOffsetTop(button) + button.offsetHeight;
+ if (isIE5)
+ y += 2;
+ if (isNS6) {
+ x--;
+ y--;
+ }
+ x -= 20;
+ y -= 10;
+ button.menu.style.left = x + "px";
+ button.menu.style.top = y + "px";
+ button.menu.style.visibility = "visible";
+}
+
+ // Set button state and let the world know which button is
+ // active.
+
+ button.isDepressed = true;
+ activeButton = button;
+}
+
+function resetButton(button) {
+
+ // Restore the button's style settings.
+
+ button.style.backgroundColor = button.oldBackgroundColor;
+ button.style.borderBottomColor = button.oldBorderBottomColor;
+ button.style.borderRightColor = button.oldBorderRightColor;
+ button.style.borderTopColor = button.oldBorderTopColor;
+ button.style.borderLeftColor = button.oldBorderLeftColor;
+ button.style.color = button.oldColor;
+ button.style.left = button.oldLeft;
+ button.style.position = button.oldPosition;
+ button.style.top = button.oldTop;
+
+ // Hide the button's menu.
+
+ if (button.menu)
+ {
+ if (isNS4)
+ button.menu.visibility = "hide";
+ else
+ button.menu.style.visibility = "hidden";
+
+ }
+
+
+ // Set button state and clear active menu global.
+
+ button.isDepressed = false;
+ activeButton = null;
+}
+
+function getPageOffsetLeft(el) {
+
+ // Return the true x coordinate of an element relative to the page.
+
+ return el.offsetLeft + (el.offsetParent ? getPageOffsetLeft(el.offsetParent) : 0);
+}
+
+
+function getPageOffsetTop(el) {
+
+ // Return the true y coordinate of an element relative to the page.
+
+ return el.offsetTop + (el.offsetParent ? getPageOffsetTop(el.offsetParent) : 0);
+}
+
+
+// Swap background colour
+function bgcolour(obj, Colour) {
+ obj.style.backgroundColor=Colour
+}
+
+//Pop up window
+function MM_openBrWindow(theURL,winName,features) { //v2.0
+ window.open(theURL,winName,features);
+}
+
+function MM_findObj(n, d) { //v3.0
+ var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
+ d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
+ if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
+ for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
+}
+/* Functions that swaps %PUBURLPATH%/skins/tiger. */
+function MM_swapImage() { //v3.0
+ var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
+ if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
+}
+
+//Left menu folders
+var eSelected = null;
+function contentsHeading_click(eSrc) {
+ if ("clsShowHide" == eSrc.className) eSrc = document.all[eSrc.sourceIndex + 1];
+ var iNumElements = document.all.length;
+ for (var i=eSrc.sourceIndex+1;i<iNumElements;i++) {
+ var eTemp = document.all[i];
+ if ("clsHeading" == eTemp.className) return;
+ else if ("clsItemsHide" == eTemp.className) {
+ eTemp.className = "clsItemsShow";
+ //No image url in .js - not subject to wiki vars
+ //eSrc.style.listStyleImage = "url('images/blueminus.gif')";
+ return eSrc.blur();
+ }
+ else if("clsItemsShow" == eTemp.className) {
+ eTemp.className = "clsItemsHide";
+ //No image url in .js - not subject to wiki vars
+ //eSrc.style.listStyleImage = "url('images/blueplus.gif')";
+ return eSrc.blur();
+ }
+ }
+}
+function contentsItem_click(eSrc) {
+ if (document.all["styleView"]) eSrc.target = document.all["styleView"].checked ? "_blank" : "TEXT";
+ else if ("" == eSrc.target) eSrc.target = "TEXT"
+ if(null != eSelected) eSelected.className = "clsItem";
+ eSrc.className = "clsItemSelect";
+ eSelected = eSrc;
+}
+
+
+
diff --git a/TWiki/TigerSkin/new_logo.gif b/TWiki/TigerSkin/new_logo.gif Binary files differnew file mode 100644 index 00000000..6f149e1f --- /dev/null +++ b/TWiki/TigerSkin/new_logo.gif diff --git a/TWiki/WebHome/new_logo.gif b/TWiki/WebHome/new_logo.gif Binary files differnew file mode 100644 index 00000000..6f149e1f --- /dev/null +++ b/TWiki/WebHome/new_logo.gif diff --git a/TWiki/WebPreferences/logo.gif b/TWiki/WebPreferences/logo.gif Binary files differnew file mode 100644 index 00000000..6f149e1f --- /dev/null +++ b/TWiki/WebPreferences/logo.gif diff --git a/TWiki/WikiNotation/XF86Config b/TWiki/WikiNotation/XF86Config new file mode 100644 index 00000000..08a241df --- /dev/null +++ b/TWiki/WikiNotation/XF86Config @@ -0,0 +1,469 @@ +# File generated by xf86config. + +# +# Copyright (c) 1999 by The XFree86 Project, Inc. +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# +# Except as contained in this notice, the name of the XFree86 Project shall +# not be used in advertising or otherwise to promote the sale, use or other +# dealings in this Software without prior written authorization from the +# XFree86 Project. +# + +# ********************************************************************** +# Refer to the XF86Config(4/5) man page for details about the format of +# this file. +# ********************************************************************** + +# ********************************************************************** +# Module section -- this section is used to specify +# which dynamically loadable modules to load. +# ********************************************************************** +# +Section "Module" + +# This loads the DBE extension module. + + Load "dbe" # Double buffer extension + +# This loads the miscellaneous extensions module, and disables +# initialisation of the XFree86-DGA extension within that module. + SubSection "extmod" + Option "omit xfree86-dga" # don't initialise the DGA extension + EndSubSection + +# This loads the Type1 and FreeType font modules + Load "type1" + Load "speedo" +# Load "freetype" +# Load "xtt" + +# This loads the GLX module + Load "glx" +# This loads the DRI module +# Load "dri" + +EndSection + +# ********************************************************************** +# Files section. This allows default font and rgb paths to be set +# ********************************************************************** + +Section "Files" + +# The location of the RGB database. Note, this is the name of the +# file minus the extension (like ".txt" or ".db"). There is normally +# no need to change the default. + + RgbPath "/usr/X11R6/lib/X11/rgb" + +# Multiple FontPath entries are allowed (which are concatenated together), +# as well as specifying multiple comma-separated entries in one FontPath +# command (or a combination of both methods) +# +# If you don't have a floating point coprocessor and emacs, Mosaic or other +# programs take long to start up, try moving the Type1 and Speedo directory +# to the end of this list (or comment them out). +# + +# FontPath "/usr/X11R6/lib/X11/fonts/TTF/" + FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/" + FontPath "/usr/X11R6/lib/X11/fonts/local/" + FontPath "/usr/X11R6/lib/X11/fonts/misc/" + FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" + FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" + FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" + FontPath "/usr/X11R6/lib/X11/fonts/Type1/" +# FontPath "/usr/X11R6/lib/X11/fonts/TrueType/" +# FontPath "/usr/X11R6/lib/X11/fonts/freefont/" + FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" + FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" + +# The module search path. The default path is shown here. + +# ModulePath "/usr/X11R6/lib/modules" + +EndSection + +# ********************************************************************** +# Server flags section. +# ********************************************************************** + +Section "ServerFlags" + +# Uncomment this to cause a core dump at the spot where a signal is +# received. This may leave the console in an unusable state, but may +# provide a better stack trace in the core dump to aid in debugging + +# Option "NoTrapSignals" + +# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence +# (where n is 1 through 12). This allows clients to receive these key +# events. + +# Option "DontVTSwitch" + +# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence +# This allows clients to receive this key event. + +# Option "DontZap" + +# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching +# sequences. This allows clients to receive these key events. + +# Option "Dont Zoom" + +# Uncomment this to disable tuning with the xvidtune client. With +# it the client can still run and fetch card and monitor attributes, +# but it will not be allowed to change them. If it tries it will +# receive a protocol error. + +# Option "DisableVidModeExtension" + +# Uncomment this to enable the use of a non-local xvidtune client. + +# Option "AllowNonLocalXvidtune" + +# Uncomment this to disable dynamically modifying the input device +# (mouse and keyboard) settings. + +# Option "DisableModInDev" + +# Uncomment this to enable the use of a non-local client to +# change the keyboard or mouse settings (currently only xset). + +# Option "AllowNonLocalModInDev" + +EndSection + +# ********************************************************************** +# Input devices +# ********************************************************************** + +# ********************************************************************** +# Core keyboard's InputDevice section +# ********************************************************************** + +Section "InputDevice" + + Identifier "Keyboard1" + Driver "Keyboard" + Option "AutoRepeat" "500 30" + Option "XkbRules" "xfree86" + Option "XkbModel" "pc105" + Option "XkbLayout" "us,ru(winkeys)" + Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll" + +# For most OSs the protocol can be omitted (it defaults to "Standard"). +# When using XQUEUE (only for SVR3 and SVR4, but not Solaris), +# uncomment the following line. + +# Option "Protocol" "Xqueue" + +# Option "AutoRepeat" "500 30" + +# Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) +# Option "Xleds" "1 2 3" + +# Option "LeftAlt" "Meta" +# Option "RightAlt" "ModeShift" + +# To customise the XKB settings to suit your keyboard, modify the +# lines below (which are the defaults). For example, for a non-U.S. +# keyboard, you will probably want to use: +# Option "XkbModel" "pc102" +# If you have a US Microsoft Natural keyboard, you can use: +# Option "XkbModel" "microsoft" +# +# Then to change the language, change the Layout setting. +# For example, a german layout can be obtained with: +# Option "XkbLayout" "de" +# or: +# Option "XkbLayout" "de" +# Option "XkbVariant" "nodeadkeys" +# +# If you'd like to switch the positions of your capslock and +# control keys, use: +# Option "XkbOptions" "ctrl:swapcaps" + +# These are the default XKB settings for XFree86 +# Option "XkbRules" "xfree86" +# Option "XkbModel" "pc101" +# Option "XkbLayout" "us" +# Option "XkbVariant" "" +# Option "XkbOptions" "" + +# Option "XkbDisable" + +# Option "XkbRules" "xfree86" +# Option "XkbModel" "pc101" +# Option "XkbLayout" "us" + +EndSection + + +# ********************************************************************** +# Core Pointer's InputDevice section +# ********************************************************************** + +Section "InputDevice" + +# Identifier and driver + + Identifier "Mouse1" + Driver "mouse" + Option "ZAxisMapping" "4 5" + Option "Protocol" "IMPS/2" + Option "Device" "/dev/psaux" + +# Mouse-speed setting for PS/2 mouse. + +# Option "Resolution" "256" + +# When using XQUEUE, comment out the above two lines, and uncomment +# the following line. + +# Option "Protocol" "Xqueue" + +# Baudrate and SampleRate are only for some Logitech mice. In +# almost every case these lines should be omitted. + +# Option "BaudRate" "9600" +# Option "SampleRate" "150" + +# Emulate3Buttons is an option for 2-button Microsoft mice +# Emulate3Timeout is the timeout in milliseconds (default is 50ms) + +# Option "Emulate3Buttons" +# Option "Emulate3Timeout" "50" + +# ChordMiddle is an option for some 3-button Logitech mice + +# Option "ChordMiddle" + +EndSection + + +# ********************************************************************** +# Other input device sections +# this is optional and is required only if you +# are using extended input devices. This is for example only. Refer +# to the XF86Config man page for a description of the options. +# ********************************************************************** +# +# Section "InputDevice" +# Identifier "Mouse2" +# Driver "mouse" +# Option "Protocol" "MouseMan" +# Option "Device" "/dev/mouse2" +# EndSection +# +# Section "InputDevice" +# Identifier "spaceball" +# Driver "magellan" +# Option "Device" "/dev/cua0" +# EndSection +# +# Section "InputDevice" +# Identifier "spaceball2" +# Driver "spaceorb" +# Option "Device" "/dev/cua0" +# EndSection +# +# Section "InputDevice" +# Identifier "touchscreen0" +# Driver "microtouch" +# Option "Device" "/dev/ttyS0" +# Option "MinX" "1412" +# Option "MaxX" "15184" +# Option "MinY" "15372" +# Option "MaxY" "1230" +# Option "ScreenNumber" "0" +# Option "ReportingMode" "Scaled" +# Option "ButtonNumber" "1" +# Option "SendCoreEvents" +# EndSection +# +# Section "InputDevice" +# Identifier "touchscreen1" +# Driver "elo2300" +# Option "Device" "/dev/ttyS0" +# Option "MinX" "231" +# Option "MaxX" "3868" +# Option "MinY" "3858" +# Option "MaxY" "272" +# Option "ScreenNumber" "0" +# Option "ReportingMode" "Scaled" +# Option "ButtonThreshold" "17" +# Option "ButtonNumber" "1" +# Option "SendCoreEvents" +# EndSection + +# ********************************************************************** +# Monitor section +# ********************************************************************** + +# Any number of monitor sections may be present + +Section "Monitor" + + Identifier "My Monitor" + +# HorizSync is in kHz unless units are specified. +# HorizSync may be a comma separated list of discrete values, or a +# comma separated list of ranges of values. +# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S +# USER MANUAL FOR THE CORRECT NUMBERS. + +# HorizSync 31.5, 35.15, 35.5 + + HorizSync 30-64 # multisync +# HorizSync 31.5, 35.2 # multiple fixed sync frequencies +# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies + +# VertRefresh is in Hz unless units are specified. +# VertRefresh may be a comma separated list of discrete values, or a +# comma separated list of ranges of values. +# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S +# USER MANUAL FOR THE CORRECT NUMBERS. + + VertRefresh 50-70 + +EndSection + + +# ********************************************************************** +# Graphics device section +# ********************************************************************** + +# Any number of graphics device sections may be present + +# Standard VGA Device: + +Section "Device" + Identifier "Standard VGA" + VendorName "Unknown" + BoardName "Unknown" + +# The chipset line is optional in most cases. It can be used to override +# the driver's chipset detection, and should not normally be specified. + +# Chipset "generic" + +# The Driver line must be present. When using run-time loadable driver +# modules, this line instructs the server to load the specified driver +# module. Even when not using loadable driver modules, this line +# indicates which driver should interpret the information in this section. + + Driver "vga" +# The BusID line is used to specify which of possibly multiple devices +# this section is intended for. When this line isn't present, a device +# section can only match up with the primary video device. For PCI +# devices a line like the following could be used. This line should not +# normally be included unless there is more than one video device +# intalled. + +# BusID "PCI:0:10:0" + +# VideoRam 256 + +# Clocks 25.2 28.3 + +EndSection + +# Device configured by xf86config: + +Section "Device" + Identifier "RIVA TNT" + Driver "nvidia" + #VideoRam 131072 + # Insert Clocks lines here if appropriate +EndSection + + +# ********************************************************************** +# Screen sections +# ********************************************************************** + +# Any number of screen sections may be present. Each describes +# the configuration of a single screen. A single specific screen section +# may be specified from the X server command line with the "-screen" +# option. +Section "Screen" + Identifier "Screen 1" + Device "RIVA TNT" + Monitor "My Monitor" + DefaultDepth 24 + + Subsection "Display" + Depth 8 + Modes "1280x1024" "1024x768" "800x600" "640x480" + ViewPort 0 0 + EndSubsection + Subsection "Display" + Depth 16 + Modes "1280x1024" "1024x768" "800x600" "640x480" + ViewPort 0 0 + EndSubsection + Subsection "Display" + Depth 24 + Modes "1024x768" + ViewPort 0 0 + EndSubsection +EndSection + +# ********************************************************************** +# ServerLayout sections. +# ********************************************************************** + +# Any number of ServerLayout sections may be present. Each describes +# the way multiple screens are organised. A specific ServerLayout +# section may be specified from the X server command line with the +# "-layout" option. In the absence of this, the first section is used. +# When now ServerLayout section is present, the first Screen section +# is used alone. + +Section "ServerLayout" + +# The Identifier line must be present + Identifier "Simple Layout" + +# Each Screen line specifies a Screen section name, and optionally +# the relative position of other screens. The four names after +# primary screen name are the screens to the top, bottom, left and right +# of the primary screen. In this example, screen 2 is located to the +# right of screen 1. + + Screen "Screen 1" + +# Each InputDevice line specifies an InputDevice section name and +# optionally some options to specify the way the device is to be +# used. Those options include "CorePointer", "CoreKeyboard" and +# "SendCoreEvents". + + InputDevice "Mouse1" "CorePointer" + InputDevice "Keyboard1" "CoreKeyboard" + +EndSection + +# Section "DRI" +# Mode 0666 +# EndSection + |