rwdruby 1.05 → 1.06

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. data/Readme.txt +20 -7
  2. data/code/superant.com.rwdshell/0uninstallapplet.rb +1 -1
  3. data/code/superant.com.rwdshell/helptexthashshell.rb +13 -1
  4. data/code/superant.com.rwdshell/openhelpwindowshell.rb +3 -1
  5. data/code/superant.com.rwdshell/rubyeval.rb +15 -20
  6. data/code/superant.com.rwdtinkerbackwindow/listzips.rb +8 -2
  7. data/configuration/rwdtinker.dist +2 -2
  8. data/configuration/{rwdwruby-1.05.dist → rwdwruby-1.06.dist} +2 -2
  9. data/gui/00coreguibegin/applicationguitop.rwd +1 -1
  10. data/gui/tinkerbackwindows/superant.com.ashellscripts/1rwdrubyeval.rwd +2 -1
  11. data/gui/tinkerbackwindows/{superant.com.rwdshellbackwindow → superant.com.ashellscripts}/44listplayscripts.rwd +0 -0
  12. data/gui/tinkerbackwindows/{superant.com.rwdshellbackwindow → superant.com.ashellscripts}/45listscripts.rwd +0 -0
  13. data/gui/tinkerbackwindows/{superant.com.rwdshellbackwindow → superant.com.ashellscripts}/46editscriptrecord.rwd +0 -0
  14. data/gui/tinkerbackwindows/{superant.com.ashellscripts → superant.com.rwdshellbackwindow}/2listplayscripts.rwd +0 -0
  15. data/gui/tinkerbackwindows/{superant.com.ashellscripts → superant.com.rwdshellbackwindow}/2listscripts.rwd +0 -0
  16. data/gui/tinkerbackwindows/{superant.com.ashellscripts → superant.com.rwdshellbackwindow}/3editscripts.rwd +0 -0
  17. data/gui/tinkerbackwindows/{superant.com.ashellscripts → superant.com.rwdshellbackwindow}/4scriptutilities.rwd +0 -0
  18. data/gui/tinkerbackwindows/{superant.com.ashellscripts → superant.com.rwdshellbackwindow}/6rwdshelleval.rwd +0 -0
  19. data/installed/{rwdwruby-1.05.inf → rwdwruby-1.06.inf} +2 -3
  20. data/lib/rwd/rwd.rb +21 -558
  21. data/lib/rwdthemes/default.rwd +317 -0
  22. data/lib/rwdthemes/pda.rwd +72 -0
  23. data/lib/rwdthemes/windowslike.rwd +171 -0
  24. data/rwd_files/HowTo_Ruby.txt +4 -0
  25. data/rwd_files/HowTo_Tinker.txt +4 -0
  26. data/scripts/date.sh +2 -0
  27. data/scripts/echo2.sh +2 -0
  28. data/scripts/lister.sh +2 -0
  29. data/scripts/test02.rb +2 -0
  30. data/scripts/uname.sh +2 -0
  31. data/tests/makedist-rwdwruby.rb +1 -1
  32. data/tests/makedist.rb +1 -1
  33. data/zips/rwdwfoldeditor-0.03.zip +0 -0
  34. data/zips/rwdwruby-1.06.zip +0 -0
  35. data/zips/wrubyslippers-1.06.zip +0 -0
  36. metadata +22 -15
  37. data/zips/rwdwfoldeditor-0.02.zip +0 -0
  38. data/zips/rwdwruby-1.05.zip +0 -0
  39. data/zips/rwdwschedule-1.04.zip +0 -0
data/Readme.txt CHANGED
@@ -19,13 +19,6 @@ ruby init.rb
19
19
  Then point your web browser to:
20
20
  http://localhost:7705/
21
21
 
22
- Change language at:
23
-
24
- configuration/language.dist
25
-
26
- Change to Windows XP directory structure at:
27
- configuration/tinkerwin2variables.dist
28
-
29
22
  == Viewing installed Applets:
30
23
 
31
24
  Go to "List Scripts" tab
@@ -234,6 +227,26 @@ http://www.erikveen.dds.nl/rubywebdialogs/index.html
234
227
  Thanks, Steven Gibson
235
228
 
236
229
  == Changelog
230
+ Version 1.77
231
+ Fixed zips location to be relative or absolute
232
+ Made themes loadable
233
+
234
+ Version 1.76
235
+ Move rwd code files into lib directory - bug - 21886
236
+ change tab name list applets - bug - 21864
237
+ change extra folder to be lib folder - bug 21887
238
+ remove duplicate intall applet code - bug 21885
239
+ On Menu tab/Selection Tab - add help button - bug 21884
240
+ clean up directory structure in gui directory - bug 21882
241
+
242
+ Version 1.75
243
+ change rwd.rb to use UTF-8 for web pages
244
+ add language load for applets
245
+
246
+ Version 1.74
247
+ remove remote control from help
248
+ more dependable gui loading for applets
249
+
237
250
  Version 1.73
238
251
  more debug info in initiateapplet
239
252
  remove gutenberg lang translations
@@ -1,6 +1,6 @@
1
1
  # uninstall
2
2
 
3
- def rwdwruby_1_05()
3
+ def rwdwruby_1_06()
4
4
 
5
5
  $tinkerdocumentsarray.delete_if {|x| x == "HowTo_Ruby.txt"}
6
6
  $tinkerhelpaboutarray.delete_if {|x| x == "RwdRuby"}
@@ -27,5 +27,17 @@
27
27
  :shelledit_help => "You can edit scripts here
28
28
  'Fill Record' will load the file selected on the script run tab
29
29
  'Save Changes' will save the changes you have made -
30
- 'Clear' will clear the screen "
30
+ 'Clear' will clear the screen " ,
31
+ :RubyScript_help=> ' you can put in something like "Hello!"
32
+ <p>
33
+ "Howdy Steven".upcase
34
+ <p>
35
+ carray = ["one "] ; carray << " two" ; carray.each{|x| x.upcase}
36
+ <p>
37
+ 10.between?(7,12)
38
+ <p>
39
+ ["tivo","nokia", "ipaq"].length
40
+ <p>
41
+ xhash = { "altima" => "nissan", "camry" => "toyota", "rx7" => "mazda" } ; xhash.keys
42
+ '
31
43
  )
@@ -15,7 +15,9 @@ def runhelpwindowrwdshell
15
15
  if @rwd_tab == "editrubyrecordfile"
16
16
  $help_topic = "shelledit_help"
17
17
  end
18
-
18
+ if @rwd_tab == "rwdshellruby"
19
+ $help_topic = "RubyScript_help"
20
+ end
19
21
 
20
22
 
21
23
  $helptopicsarray = $helptopicsarray | ["rwdshell_help", "ShellEnvironment_help"]
@@ -1,28 +1,23 @@
1
- $buffer = ''
2
- def $buffer.write(str) # create a variable to use in rubyeval
3
- self << str
4
- end
1
+ #
2
+
5
3
  def rubyeval
6
4
 
7
5
  require 'English'
8
- # $tmpout = $stdout # save the original STDOUT
9
- # $stdout = $buffer
10
- begin # begin rescue monitored block
11
-
12
- commandtextruby = "%s " % [@a_rubyeval]
13
-
14
- # @rubydisplay = "hello"
15
-
16
- @rubydisplay = eval( commandtextruby ).to_s
17
6
 
7
+ commandtextruby = "%s " % [@a_rubyeval]
18
8
 
19
-
9
+
10
+ begin # begin rescue monitored block
11
+ if commandtextruby.include? '�'
12
+ @rubydisplay = "\n" + "problem in eval"
13
+ else
14
+ @rubydisplay = eval( commandtextruby ).to_s
15
+ end
20
16
 
21
- rescue # process exeption
22
- # $stdout = $tmpout # restore STDOUT to normal
23
- @rubydisplay = "\n" + "error in eval"
24
- end # end of rescue process # of rescure monitored block
25
-
17
+ rescue # process exeption
18
+
19
+ @rubydisplay = "\n" + "error in eval"
26
20
 
27
- end
21
+ end # end of rescue process # of rescure monitored block
22
+ end
28
23
 
@@ -5,8 +5,14 @@ def fillziptoinstallname(inffile)
5
5
 
6
6
  end
7
7
 
8
- def listzipfilestoinstall
9
- startlangdir = File.join($progdir, $zipslocation )
8
+ def listzipfilestoinstall
9
+
10
+ if $zipslocation.slice(0,1) == "/" || $zipslocation.include?(":")
11
+ startlangdir = $zipslocation
12
+ else
13
+ startlangdir = File.join($progdir, $zipslocation )
14
+ end
15
+
10
16
  #get a list of the files and subdirectories on the starting directory only
11
17
 
12
18
 
@@ -1,4 +1,4 @@
1
- ##VERSION:1.76
1
+ ##VERSION:1.77
2
2
  ConfigurationDir = "configuration" # for use in program - init.rb has this value without using this constant
3
3
  CodeName = "rwdtinker"
4
4
  CodeNameFile = CodeName + ".rb"
@@ -14,5 +14,5 @@ LangDir = "lang"
14
14
  $rwdjumplink = ["helpscreen","tinkerbackwindow","returntomain","opendocuments","editconfiguration"]
15
15
  Browser_Exe = 'mozilla '
16
16
  $tinkerdocumentsarray +=["HowTo_Tinker.txt","rwdapplications.html","RubyWebDialogs.html"]
17
- RwdTinkerVersion = "1.76"
17
+ RwdTinkerVersion = "1.77"
18
18
 
@@ -1,4 +1,4 @@
1
- ##VERSION:1.04
1
+ ##VERSION:1.06
2
2
  ##NAME:$shellscript_directory:0
3
3
  $shellscript_directory = "scripts"
4
4
  AcpiCommand = "acpi"
@@ -21,4 +21,4 @@ JumpLink.update(:RwdRubyBackWindow=>"runrwdrubybackwindow", :RunRuby=>"runrwdrub
21
21
  ##NAME:$rwdjumplink:0
22
22
  $rwdjumplink +=["RwdRubyBackWindow", "RunRuby", "RefreshAcpi"]
23
23
  ##NAME:RwdRubyVersion:0
24
- RwdRubyVersion = "1.05"
24
+ RwdRubyVersion = "1.06"
@@ -1,4 +1,4 @@
1
1
  $rwdguivar=
2
2
  "<application>
3
- <window name=\"main\" title=\"RwdRuby - Operating System tools for rwdtinker\">
3
+ <window name=\"main\" title=\"RwdRuby - Script Evals for RwdTinker\">
4
4
  <tabs>"
@@ -2,11 +2,12 @@ $rwdguivar=
2
2
  "
3
3
  <tab name=\"rwdshellruby\" caption=\"ruby\">
4
4
  <table>
5
- <row> <p align=\"right\">Ruby Command:</p> <text name=\"a_rubyeval\"/> </row>
5
+ <row> <p align=\"left\">Ruby Command:</p> <text size=70 name=\"a_rubyeval\"/> </row>
6
6
  </table>
7
7
  <horizontal>
8
8
  <button caption=\"Execute\" action=\"rubyeval\"/>
9
9
  <button caption=\"Cancel\" action=\"main\"/>
10
+ <button caption=\"Help\" action=\"runhelpwindowrwdshell\"/>
10
11
  </horizontal>
11
12
  <p>%rubydisplay%</p>
12
13
 
@@ -7,7 +7,6 @@ code/superant.com.rwdshell
7
7
  tests/gemspec-rwdwruby
8
8
  tests/makedist-rwdwruby.rb
9
9
  rwd_files/HowTo_Ruby.txt
10
- configuration/rwdwruby-1.05.dist
11
- configuration/rwdwruby-1.05.cnf
12
-
10
+ configuration/rwdwruby-1.06.dist
11
+ configuration/rwdwruby-1.06.cnf
13
12
 
@@ -6,6 +6,8 @@ require "lib/rwd/thread"
6
6
  require "md5"
7
7
  require "rbconfig"
8
8
 
9
+
10
+
9
11
  begin
10
12
  require "win32ole"
11
13
  require "win32/registry"
@@ -50,6 +52,21 @@ unless rcfile.nil?
50
52
  end
51
53
  end
52
54
 
55
+ if ENV["RWDTHEME"]
56
+ if ENV["RWDTHEME"] = "PDA"
57
+ load 'lib/rwdthemes/default.rwd'
58
+ end
59
+ if ENV["RWDTHEME"] = "DEFAULT"
60
+ $stderr.puts "loading theme DEFAULT"
61
+ load 'lib/rwdthemes/default.rwd'
62
+ end
63
+ if ENV["RWDTHEME"] = "WINDOWSLOOKALIKE"
64
+ load 'lib/rwdthemes/windowslike.rwd'
65
+ end
66
+ else
67
+ load 'lib/rwdthemes/default.rwd'
68
+ end
69
+
53
70
  ENV["RWDBROWSER"] = (ENV["RWDBROWSER"] or defaultbrowser) or puts "No browser found."
54
71
  ENV["RWDPORTS"] = (ENV["RWDPORTS"] or "7701-7709")
55
72
  ENV["RWDTHEME"] = (ENV["RWDTHEME"] or "DEFAULT")
@@ -1364,562 +1381,7 @@ class RWDServer
1364
1381
  end
1365
1382
  end
1366
1383
 
1367
- $rwd_html["DEFAULT"] = "
1368
- <!-- Generated by RubyWebDialog. -->
1369
- <!-- For more information, please contact Erik Veenstra <rwd@erikveen.dds.nl>. -->
1370
- <html>
1371
- <head>
1372
- <title>%TITLE%</title>
1373
-
1374
- <meta http-equiv='Content-Type' content='text/html; charset=%CHARSET%'>
1375
- <meta http-equiv='Content-Style-Type' content='text/html ; charset=UTF-8'>
1376
- <meta http-equiv='Refresh' content='%REFRESH%, javascript:document.bodyform.submit();'>
1377
-
1378
- <link rel='shortcut icon' href='%LOGO%'>
1379
-
1380
- <style type='text/css'>
1381
- <!--
1382
-
1383
- body {
1384
- background : url(%WATERMARK%) white center center no-repeat fixed;
1385
- }
1386
-
1387
- a {
1388
- text-decoration : none;
1389
- }
1390
-
1391
- a:hover {
1392
- background : #AAAAAA;
1393
- }
1394
-
1395
- td.panel1 {
1396
- border-color : #888888 #EEEEEE #EEEEEE #888888;
1397
- border-width : 1pt;
1398
- border-style : solid solid solid solid;
1399
- }
1400
-
1401
- td.panel2 {
1402
- border-color : #EEEEEE #888888 #888888 #EEEEEE;
1403
- border-width : 1pt;
1404
- border-style : solid solid solid solid;
1405
- }
1406
-
1407
- td.panel1high {
1408
- border-color : #EEEEEE #888888 #888888 #EEEEEE;
1409
- border-width : 1pt;
1410
- border-style : solid solid solid solid;
1411
- }
1412
-
1413
- td.panel2high {
1414
- border-color : #EEEEEE #888888 #888888 #EEEEEE;
1415
- border-width : 1pt;
1416
- border-style : none none none none;
1417
- }
1418
-
1419
- td.panel1low {
1420
- border-color : #888888 #EEEEEE #EEEEEE #888888;
1421
- border-width : 1pt;
1422
- border-style : solid solid solid solid;
1423
- }
1424
-
1425
- td.panel2low {
1426
- border-color : #888888 #EEEEEE #EEEEEE #888888;
1427
- border-width : 1pt;
1428
- border-style : none none none none;
1429
- }
1430
-
1431
- td.tabblad {
1432
- border-color : #EEEEEE #888888 #888888 #EEEEEE;
1433
- border-width : 1pt;
1434
- border-style : none solid solid solid;
1435
- }
1436
-
1437
- td.passivetab {
1438
- background-color : #BBBBBB;
1439
- border-color : #DDDDDD #DDDDDD #EEEEEE #DDDDDD;
1440
- border-width : 1pt;
1441
- border-style : solid solid solid solid;
1442
- }
1443
-
1444
- td.activetab {
1445
- border-color : #EEEEEE #888888 #888888 #EEEEEE;
1446
- border-width : 1pt;
1447
- border-style : solid solid none solid;
1448
- }
1449
-
1450
- td.notab {
1451
- border-color : #EEEEEE #EEEEEE #EEEEEE #EEEEEE;
1452
- border-width : 1pt;
1453
- border-style : none none solid none;
1454
- }
1455
-
1456
- //-->
1457
- </style>
1458
-
1459
- <script type='text/javascript'>
1460
- <!--
1461
- function BodyGo() {
1462
- $RWD_FOCUS$
1463
- }
1464
- //-->
1465
- </script>
1466
- </head>
1467
-
1468
- <body bgcolor='white' onload='BodyGo()' link='#000000' vlink='#000000' alink='#000000'>
1469
- <form name='bodyform' action='/' method='post'>
1470
- <table align='center' border='0' cellspacing='0' cellpadding='0' width='100%' height='100%'>
1471
- <tr align='center' valign='middle'>
1472
- <td align='center'>
1473
-
1474
- <table align='center' border='0' cellspacing='0' cellpadding='0'>
1475
-
1476
- <tr align='center'>
1477
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1478
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1479
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1480
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1481
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1482
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1483
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1484
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1485
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1486
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1487
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1488
- </tr>
1489
-
1490
- <tr align='center'>
1491
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1492
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1493
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1494
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1495
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1496
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1497
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1498
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1499
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1500
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1501
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1502
- </tr>
1503
-
1504
- <tr align='center'>
1505
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1506
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1507
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1508
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1509
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1510
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1511
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1512
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1513
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1514
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1515
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1516
- </tr>
1517
-
1518
- <tr align='center'>
1519
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1520
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1521
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1522
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1523
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1524
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1525
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1526
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1527
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1528
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1529
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1530
- </tr>
1531
-
1532
- <tr align='center'>
1533
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1534
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1535
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1536
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1537
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1538
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1539
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1540
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1541
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1542
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1543
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1544
- </tr>
1545
-
1546
- <tr align='center'>
1547
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1548
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1549
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1550
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1551
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1552
-
1553
- <td align='center'>
1554
-
1555
- <table align='center' border='0' cellspacing='0' cellpadding='0' %WIDTH1%>
1556
- <tr align='center'>
1557
- <td align='center' bgcolor='#444488'>
1558
-
1559
- <table align='left' border='0' cellspacing='1' cellpadding='0'>
1560
- <tr align='center'>
1561
- <td align='border'><img src='%LOGO%' width='14' height='14'></td>
1562
- <td align='center'><b><small><font color='#FFFFFF'>&nbsp;%TITLE%&nbsp;</font></small></b></td>
1563
- </tr>
1564
- </table>
1565
-
1566
- <table align='right' border='0' cellspacing='1' cellpadding='0'>
1567
- <tr align='center'>
1568
- <!-- %HELPBUTTON% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_help\";document.bodyform.submit();'>&nbsp;?&nbsp;</a></small></b></td>
1569
- <!-- %BACKBUTTONS% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_main\";document.bodyform.submit();'>&nbsp;&lt;&lt;&nbsp;</a></small></b></td>
1570
- <!-- %BACKBUTTONS% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_back\";document.bodyform.submit();'>&nbsp;&lt;&nbsp;</a></small></b></td>
1571
- <!-- %CLOSEBUTTON% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_quit\";document.bodyform.submit();'>&nbsp;X&nbsp;</a></small></b></td>
1572
- </tr>
1573
- </table>
1574
-
1575
- </td>
1576
- </tr>
1577
-
1578
- <tr align='center'>
1579
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='%WIDTH2%'></td>
1580
- </tr>
1581
-
1582
- <tr align='center'>
1583
- <td align='center' bgcolor='#CCCCCC'>
1584
- <table align='center' border='0' cellspacing='3' cellpadding='0'>
1585
- %BODY%
1586
- </table>
1587
-
1588
- <input name='rwd_action' value='$RWD_FIRSTACTION$' type='hidden'>
1589
- <input name='rwd_session' value='$RWD_SESSION$' type='hidden'>
1590
- </td>
1591
- </tr>
1592
- </table>
1593
-
1594
- </td>
1595
-
1596
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1597
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1598
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1599
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1600
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1601
- </tr>
1602
-
1603
- <tr align='center'>
1604
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1605
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1606
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1607
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1608
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1609
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1610
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1611
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1612
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1613
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1614
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1615
- </tr>
1616
-
1617
- <tr align='center'>
1618
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1619
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1620
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1621
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1622
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1623
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1624
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1625
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1626
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1627
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1628
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1629
- </tr>
1630
-
1631
- <tr align='center'>
1632
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1633
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1634
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1635
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1636
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1637
- <td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
1638
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1639
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1640
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1641
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1642
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1643
- </tr>
1644
-
1645
- <tr align='center'>
1646
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1647
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1648
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1649
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1650
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1651
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1652
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
1653
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1654
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1655
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1656
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1657
- </tr>
1658
-
1659
- <tr align='center'>
1660
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1661
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1662
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1663
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1664
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1665
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1666
- <td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
1667
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1668
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1669
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1670
- <td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
1671
- </tr>
1672
-
1673
- </table>
1674
-
1675
- </td>
1676
- </tr>
1677
- </table>
1678
- </form>
1679
- </body>
1680
- </html>
1681
- "
1682
-
1683
- $rwd_html["WINDOWSLOOKALIKE"] = "
1684
- <!-- Generated by RubyWebDialog. -->
1685
- <!-- For more information, please contact Erik Veenstra <rwd@erikveen.dds.nl>. -->
1686
- <html>
1687
- <head>
1688
- <title>%TITLE%</title>
1689
-
1690
- <meta http-equiv='Content-Type' content='text/html; charset=%CHARSET%'>
1691
- <meta http-equiv='Content-Style-Type' content='text/css; charset=UTF-8' >
1692
- <meta http-equiv='Refresh' content='%REFRESH%, javascript:document.bodyform.submit();'>
1693
-
1694
- <link rel='shortcut icon' href='%LOGO%'>
1695
-
1696
- <style type='text/css'>
1697
- <!--
1698
-
1699
- body {
1700
- background : url(%WATERMARK%) white center center no-repeat fixed;
1701
- }
1702
-
1703
- a {
1704
- text-decoration : none;
1705
- }
1706
-
1707
- a:hover {
1708
- background : #AAAAAA;
1709
- }
1710
-
1711
- td.window {
1712
- border-color : #EEEEEE #888888 #888888 #EEEEEE;
1713
- border-width : 3pt;
1714
- border-style : solid solid solid solid;
1715
- }
1716
-
1717
- td.panel1 {
1718
- border-color : #888888 #EEEEEE #EEEEEE #888888;
1719
- border-width : 1pt;
1720
- border-style : solid solid solid solid;
1721
- }
1722
-
1723
- td.panel2 {
1724
- border-color : #EEEEEE #888888 #888888 #EEEEEE;
1725
- border-width : 1pt;
1726
- border-style : solid solid solid solid;
1727
- }
1728
-
1729
- td.panel1high {
1730
- border-color : #EEEEEE #888888 #888888 #EEEEEE;
1731
- border-width : 1pt;
1732
- border-style : solid solid solid solid;
1733
- }
1734
-
1735
- td.panel2high {
1736
- border-color : #EEEEEE #888888 #888888 #EEEEEE;
1737
- border-width : 1pt;
1738
- border-style : none none none none;
1739
- }
1740
-
1741
- td.panel1low {
1742
- border-color : #888888 #EEEEEE #EEEEEE #888888;
1743
- border-width : 1pt;
1744
- border-style : solid solid solid solid;
1745
- }
1746
-
1747
- td.panel2low {
1748
- border-color : #888888 #EEEEEE #EEEEEE #888888;
1749
- border-width : 1pt;
1750
- border-style : none none none none;
1751
- }
1752
-
1753
- td.tabblad {
1754
- border-color : #EEEEEE #888888 #888888 #EEEEEE;
1755
- border-width : 1pt;
1756
- border-style : none solid solid solid;
1757
- }
1758
-
1759
- td.passivetab {
1760
- background-color : #BBBBBB;
1761
- border-color : #DDDDDD #DDDDDD #EEEEEE #DDDDDD;
1762
- border-width : 1pt;
1763
- border-style : solid solid solid solid;
1764
- }
1765
-
1766
- td.activetab {
1767
- border-color : #EEEEEE #888888 #888888 #EEEEEE;
1768
- border-width : 1pt;
1769
- border-style : solid solid none solid;
1770
- }
1771
-
1772
- td.notab {
1773
- border-color : #EEEEEE #EEEEEE #EEEEEE #EEEEEE;
1774
- border-width : 1pt;
1775
- border-style : none none solid none;
1776
- }
1777
-
1778
- //-->
1779
- </style>
1780
-
1781
- <script type='text/javascript'>
1782
- <!--
1783
- function BodyGo() {
1784
- $RWD_FOCUS$
1785
- }
1786
- //-->
1787
- </script>
1788
- </head>
1789
-
1790
- <body bgcolor='white' onload='BodyGo()' link='#000000' vlink='#000000' alink='#000000'>
1791
- <form name='bodyform' action='/' method='post'>
1792
- <table align='center' border='0' cellspacing='0' cellpadding='0' width='100%' height='100%'>
1793
- <tr align='center' valign='middle'>
1794
- <td align='center'>
1795
-
1796
- <table align='center' border='0' cellspacing='0' cellpadding='0'>
1797
-
1798
- <tr align='center'>
1799
- <td align='center' class='window'>
1800
-
1801
- <table align='center' border='0' cellspacing='0' cellpadding='0' %WIDTH1%>
1802
- <tr align='center'>
1803
- <td align='center' bgcolor='#444488'>
1804
-
1805
- <table align='left' border='0' cellspacing='1' cellpadding='0'>
1806
- <tr align='center'>
1807
- <td align='border'><img src='%LOGO%' width='14' height='14'></td>
1808
- <td align='center'><b><small><font color='#FFFFFF'>&nbsp;%TITLE%&nbsp;</font></small></b></td>
1809
- </tr>
1810
- </table>
1811
-
1812
- <table align='right' border='0' cellspacing='1' cellpadding='0'>
1813
- <tr align='center'>
1814
- <!-- %HELPBUTTON% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_help\";document.bodyform.submit();'>&nbsp;?&nbsp;</a></small></b></td>
1815
- <!-- %BACKBUTTONS% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_main\";document.bodyform.submit();'>&nbsp;&lt;&lt;&nbsp;</a></small></b></td>
1816
- <!-- %BACKBUTTONS% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_back\";document.bodyform.submit();'>&nbsp;&lt;&nbsp;</a></small></b></td>
1817
- <!-- %CLOSEBUTTON% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_quit\";document.bodyform.submit();'>&nbsp;X&nbsp;</a></small></b></td>
1818
- </tr>
1819
- </table>
1820
-
1821
- </td>
1822
- </tr>
1823
-
1824
- <tr align='center'>
1825
- <td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='%WIDTH2%'></td>
1826
- </tr>
1827
-
1828
- <tr align='center'>
1829
- <td align='center' bgcolor='#CCCCCC'>
1830
- <table align='center' border='0' cellspacing='3' cellpadding='0'>
1831
- %BODY%
1832
- </table>
1833
-
1834
- <input name='rwd_action' value='$RWD_FIRSTACTION$' type='hidden'>
1835
- <input name='rwd_session' value='$RWD_SESSION$' type='hidden'>
1836
- </td>
1837
- </tr>
1838
- </table>
1839
-
1840
- </td>
1841
- </tr>
1842
-
1843
- </table>
1844
-
1845
- </td>
1846
- </tr>
1847
- </table>
1848
- </form>
1849
- </body>
1850
- </html>
1851
- "
1852
-
1853
- $rwd_html["PDA"] = "
1854
- <!-- Generated by RubyWebDialog. -->
1855
- <!-- For more information, please contact Erik Veenstra <rwd@erikveen.dds.nl>. -->
1856
- <html>
1857
- <head>
1858
- <title>%TITLE%</title>
1859
-
1860
- <meta http-equiv='Content-Type' content='text/html; charset=%CHARSET%'>
1861
- <meta http-equiv='Refresh' content='%REFRESH%, javascript:document.bodyform.submit();'>
1862
-
1863
- <link rel='shortcut icon' href='%LOGO%'>
1864
-
1865
- <script type='text/javascript'>
1866
- <!--
1867
- function BodyGo() {
1868
- $RWD_FOCUS$
1869
- }
1870
- //-->
1871
- </script>
1872
- </head>
1873
-
1874
- <body bgcolor='white' onload='BodyGo()' link='#000000' vlink='#000000' alink='#000000'>
1875
- <form name='bodyform' action='/' method='post'>
1876
- <table align='center' border='0' cellspacing='0' cellpadding='0' width='100%' height='100%'>
1877
-
1878
- <tr align='center'>
1879
- <td align='center' bgcolor='#444488'>
1880
-
1881
- <table align='left' border='0' cellspacing='1' cellpadding='0'>
1882
- <tr align='center'>
1883
- <td align='border'><img src='%LOGO%' width='14' height='14'></td>
1884
- <td align='center'><b><small><font color='#FFFFFF'>&nbsp;%TITLE%&nbsp;</font></small></b></td>
1885
- </tr>
1886
- </table>
1887
-
1888
- <table align='right' border='0' cellspacing='1' cellpadding='0'>
1889
- <tr align='center'>
1890
- <!-- %HELPBUTTON% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_help\";document.bodyform.submit();'>&nbsp;?&nbsp;</a></small></b></td>
1891
- <!-- %BACKBUTTONS% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_main\";document.bodyform.submit();'>&nbsp;&lt;&lt;&nbsp;</a></small></b></td>
1892
- <!-- %BACKBUTTONS% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_back\";document.bodyform.submit();'>&nbsp;&lt;&nbsp;</a></small></b></td>
1893
- <!-- %CLOSEBUTTON% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_quit\";document.bodyform.submit();'>&nbsp;X&nbsp;</a></small></b></td>
1894
- </tr>
1895
- </table>
1896
-
1897
- </td>
1898
- </tr>
1899
-
1900
- <!--
1901
- <tr align='center'>
1902
- <td align='center' bgcolor='#FFFFFF'>&nbsp;</td>
1903
- </tr>
1904
- -->
1905
-
1906
- <tr align='center'>
1907
- <td align='center' bgcolor='#FFFFFF'>
1908
-
1909
- <table align='center' border='0' cellspacing='0' cellpadding='0'>
1910
- %BODY%
1911
- </table>
1912
-
1913
- <input name='rwd_action' value='$RWD_FIRSTACTION$' type='hidden'>
1914
- <input name='rwd_session' value='$RWD_SESSION$' type='hidden'>
1915
- </td>
1916
- </tr>
1917
-
1918
- </table>
1919
- </form>
1920
- </body>
1921
- </html>
1922
- "
1384
+
1923
1385
 
1924
1386
  $rwd_pixel = "
1925
1387
  R0lGODlhAQABAMIAAAAAAP///+7u7kREiP///////////////yH5BAEKAAMA
@@ -1934,8 +1396,9 @@ jefB+oo6l6AxBAx7M2HRePQph5xga0RsJqfELPI2DSUAADs=
1934
1396
 
1935
1397
 
1936
1398
  $rwd_html_1, $rwd_html_2 = $rwd_html[ENV["RWDTHEME"]].split(/^\s*%BODY%\s*\r*$/)
1937
- $rwd_html_PDA_1, $rwd_html_PDA_2 = $rwd_html["PDA"].split(/^\s*%BODY%\s*\r*$/)
1938
-
1399
+ #if ENV["RWDTHEME"] == "PDA"
1400
+ #$rwd_html_PDA_1, $rwd_html_PDA_2 = $rwd_html["PDA"].split(/^\s*%BODY%\s*\r*$/)
1401
+ #end
1939
1402
  #end
1940
1403
  #
1941
1404
  #class RWDialog < RWD::RWDialog