Update of /cvsroot/qooxdoo/qooxdoo/tools/script
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27655/tools/script
Modified Files:
Tag: renderer
demolayout.js.in
Log Message:
Restructured test examples
Index: demolayout.js.in
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/tools/script/Attic/demolayout.js.in,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- demolayout.js.in 26 Jan 2006 09:33:25 -0000 1.1.2.2
+++ demolayout.js.in 26 Jan 2006 14:21:42 -0000 1.1.2.3
@@ -32,10 +32,15 @@
document.write('[<a href="javascript:void(window.location.href=window.location.href.replace(/\\/public\\//, \'\\/source\\/\'))">Go to: Source</a>]  ');
};
- if( /\/developer\//.test(window.location.href) ) {
- document.write('[<a href="../user/Index.html">Go to: User Examples</a>]  ');
+ if( /\/showcase\//.test(window.location.href) ) {
+ document.write('[<a href="../example/Index.html">Go to: Example</a>]  ');
+ document.write('[<a href="../test/Index.html">Go to: Test</a>]  ');
+ } else if( /\/example\//.test(window.location.href) ) {
+ document.write('[<a href="../showcase/Index.html">Go to: Showcase</a>]  ');
+ document.write('[<a href="../test/Index.html">Go to: Test</a>]  ');
} else {
- document.write('[<a href="../developer/Index.html">Go to: Developer Examples</a>]  ');
+ document.write('[<a href="../showcase/Index.html">Go to: Showcase</a>]  ');
+ document.write('[<a href="../example/Index.html">Go to: Example</a>]  ');
};
};
@@ -49,9 +54,14 @@
function showTestFiles()
{
- var str = usrstr;;
- if( window.location.href.search(/\/developer\//)+1 ) {
- str = devstr;
+ if( window.location.href.search(/\/showcase\//)+1 ) {
+ str = showstr;
+ }
+ else if( window.location.href.search(/\/example\//)+1 ) {
+ str = exastr;
+ }
+ else if( window.location.href.search(/\/test\//)+1 ) {
+ str = teststr;
}
var arr = str.split(" ");
|