rwdhypernote 0.13 → 0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Readme.txt +20 -7
- data/code/01rwdcore/01rwdcore.rb +2 -2
- data/code/01rwdcore/02helptexthashbegin.rb +10 -0
- data/code/01rwdcore/03helptexthash.rb +18 -20
- data/code/01rwdcore/runopentinkerdocument.rb +1 -1
- data/code/superant.com.hypernote/0uninstallapplet.rb +1 -1
- data/code/superant.com.hypernote/listdirectories2.rb +32 -0
- data/code/superant.com.hypernote/listdirectories3.rb +3 -4
- data/code/superant.com.hypernote/listhypernotes.rb +0 -16
- data/code/superant.com.hypernote/listnotedirhttp4.rb +9 -8
- data/code/superant.com.hypernote/listnotedirshtml.rb +0 -16
- data/code/superant.com.hypernote/listnotedirshtml2.rb +10 -25
- data/code/superant.com.hypernote/listnotedirshtml3.rb +0 -16
- data/code/superant.com.hypernote/loadconfigurationrecord.rb +1 -1
- data/code/superant.com.hypernote/loadconfigurationvariables.rb +1 -1
- data/code/superant.com.hypernote/saveconfigurationrecord.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/initiateapplets.rb +89 -158
- data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +10 -8
- data/code/superant.com.rwdtinkerbackwindow/listzips.rb +8 -2
- data/code/superant.com.rwdtinkerbackwindow/removeappletvariables.rb +6 -6
- data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/viewlogfile.rb +13 -0
- data/configuration/rwdtinker.dist +5 -8
- data/configuration/{rwdwhypernote-0.13.dist → rwdwhypernote.dist} +9 -9
- data/configuration/tinkerwin2variables.dist +13 -7
- data/gui/00coreguibegin/applicationguitop.rwd +1 -1
- data/gui/frontwindow0/{viewlogo/cc0openphoto.rwd → cc0openphoto.rwd} +0 -0
- data/gui/{frontwindowselectionbegin/selectiontabbegin → frontwindowselections}/00selectiontabbegin.rwd +0 -0
- data/gui/frontwindowselections/{superant.com.rwdtinkerwin2selectiontab/jumplinkcommands.rwd → jumplinkcommands.rwd} +1 -1
- data/gui/{frontwindowselectionzend/viewselectionzend → frontwindowselections}/wwselectionend.rwd +0 -0
- data/gui/{frontwindowselectionzend/viewselectionzend/zzdocumentbegin.rwd → frontwindowtdocuments/00documentbegin.rwd} +0 -0
- data/gui/frontwindowtdocuments/{superant.com.documents/tinkerdocuments.rwd → tinkerdocuments.rwd} +0 -0
- data/gui/{helpaboutbegin/superant.com.helpaboutbegin → frontwindowtdocuments}/zzdocumentend.rwd +0 -0
- data/gui/helpaboutbegin/{superant.com.helpaboutbegin/zzzrwdlasttab.rwd → zzzrwdlasttab.rwd} +0 -0
- data/gui/helpaboutbegin/{superant.com.helpaboutbegin/zzzzhelpscreenstart.rwd → zzzzhelpscreenstart.rwd} +0 -0
- data/gui/{helpaboutinstalled/superant.com.tinkerhelpabout/helpabouttab.rwd → helpaboutbegin/zzzzzzhelpabouttab.rwd} +0 -0
- data/gui/helpaboutzend/{superant.com.helpaboutend/helpscreenend.rwd → helpscreenend.rwd} +0 -0
- data/gui/helpaboutzend/{superant.com.helpaboutend/zhelpscreenstart2.rwd → zhelpscreenstart2.rwd} +0 -0
- data/gui/helpaboutzend/{superant.com.helpaboutend/zzzzhelpabout2.rwd → zzzzhelpabout2.rwd} +0 -0
- data/gui/helpaboutzend/{superant.com.helpaboutend/zzzzhelpscreen2end.rwd → zzzzhelpscreen2end.rwd} +0 -0
- data/gui/tinkerbackwindows/superant.com.hypernote/10htmlnote.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.hypernote/15htmlview.rwd +5 -10
- data/gui/tinkerbackwindows/superant.com.hypernote/21editnote.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.hypernote/25html2note.rwd +7 -3
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdlogfile.rwd +20 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/81jumplinkcommands.rwd +1 -1
- data/gui/zzcoreguiend/{tinkerapplicationguiend/yy9rwdend.rwd → yy9rwdend.rwd} +0 -0
- data/init.rb +61 -165
- data/installed/hypernotedata2.inf +1 -11
- data/installed/{rwdwhypernote-0.13.inf → rwdwhypernote.inf} +2 -2
- data/lang/en/rwdcore/en.po +166 -0
- data/lang/es/rwdcore/es.po +172 -0
- data/lang/fr/rwdcore/fr.po +166 -0
- data/lang/hi/rwdcore/hi.po +170 -0
- data/lang/ja/rwdcore/ja.po +168 -0
- data/lang/nl/rwdcore/nl.po +166 -0
- data/{extras → lib}/rconftool.rb +13 -6
- data/{ev → lib/rwd}/browser.rb +2 -2
- data/{ev → lib/rwd}/ftools.rb +0 -0
- data/{ev → lib/rwd}/mime.rb +0 -0
- data/{ev → lib/rwd}/net.rb +18 -7
- data/{ev → lib/rwd}/ruby.rb +1 -1
- data/{ev → lib/rwd}/rwd.rb +112 -632
- data/{ev → lib/rwd}/sgml.rb +1 -1
- data/{ev → lib/rwd}/thread.rb +1 -1
- data/{ev → lib/rwd}/tree.rb +2 -2
- data/{ev → lib/rwd}/xml.rb +1 -1
- data/lib/rwdthemes/default.rwd +317 -0
- data/lib/rwdthemes/pda.rwd +72 -0
- data/lib/rwdthemes/windowslike.rwd +171 -0
- data/lib/rwdtinker/rwdcodedir.rb +56 -0
- data/lib/rwdtinker/rwdguidir.rb +57 -0
- data/lib/rwdtinker/rwdlangdir.rb +60 -0
- data/lib/rwdtinker/rwdtinkertools.rb +25 -0
- data/{extras → lib}/zip/ioextras.rb +0 -0
- data/{extras → lib}/zip/stdrubyext.rb +0 -0
- data/{extras → lib}/zip/tempfile_bugfixed.rb +0 -0
- data/{extras → lib}/zip/zip.rb +2 -2
- data/{extras → lib}/zip/zipfilesystem.rb +0 -0
- data/{extras → lib}/zip/ziprequire.rb +0 -0
- data/rwd_files/HowTo_HyperNote.txt +23 -0
- data/rwd_files/HowTo_Tinker.txt +49 -7
- data/{Notes → rwd_files/Notes}/changes.lnk +0 -0
- data/{Notes → rwd_files/Notes}/changes.txt +0 -0
- data/rwd_files/Notes/hypernote/hypernote02.html +169 -0
- data/rwd_files/Notes/hypernote/hypernote02.txt +28 -0
- data/{Notes → rwd_files/Notes}/rwdtinker/RwdtinkerProgrammingQuickStart.htm +0 -0
- data/{Notes → rwd_files/Notes}/rwdtinker/RwdtinkerProgrammingQuickStart.lnk +0 -0
- data/{Notes → rwd_files/Notes}/rwdtinker/newnote.txt +0 -0
- data/{Notes → rwd_files/Notes}/rwdtinker/rwdtinker.html +0 -0
- data/rwd_files/Tinkerhelptexthash.txt +81 -0
- data/rwd_files/log/rwdtinker.log +630 -0
- data/rwdconfig.dist +14 -13
- data/tests/makedist-rwdwhypernote.rb +2 -2
- data/tests/makedist.rb +12 -7
- data/zips/rwdwcalc-0.63.zip +0 -0
- data/zips/rwdwfoldeditor-0.05.zip +0 -0
- data/zips/rwdwhypernote-0.15.zip +0 -0
- data/zips/rwdwmovies-0.98.zip +0 -0
- data/zips/rwdwruby-1.08.zip +0 -0
- data/zips/tinkerbellw-0.03.zip +0 -0
- data/zips/wrubyslippers-1.08.zip +0 -0
- metadata +71 -66
- data/Notes/hypernote/hypernote01.html +0 -1
- data/Notes/hypernote/hypernote02.txt +0 -1
- data/code/01rwdcore/04helptextend.rb +0 -6
- data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +0 -61
- data/code/superant.com.rwdtinkerbackwindow/installapplet.rb +0 -27
- data/configuration/language.dist +0 -8
- data/configuration/rwdapplicationidentity.dist +0 -3
- data/lang/en/rwdcore/languagefile.rb +0 -58
- data/lang/es/rwdcore/languagefile-es.rb +0 -62
- data/lang/fr/rwdcore/languagefile.rb +0 -64
- data/lang/jp/rwdcore/languagefile.rb +0 -72
- data/lang/nl/rwdcore/languagefile.rb +0 -75
- data/lib/temp.rb +0 -1
- data/zips/rwdwcalc-0.61.zip +0 -0
- data/zips/rwdwgutenberg-0.09.zip +0 -0
- data/zips/rwdwhypernote-0.13.zip +0 -0
- data/zips/rwdwshell-1.04.zip +0 -0
- data/zips/wrubyslippers-1.06.zip +0 -0
data/{ev → lib/rwd}/rwd.rb
RENAMED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
require "
|
|
2
|
-
require "
|
|
3
|
-
require "
|
|
4
|
-
require "
|
|
5
|
-
require "
|
|
1
|
+
require "lib/rwd/ruby"
|
|
2
|
+
require "lib/rwd/xml"
|
|
3
|
+
require "lib/rwd/net"
|
|
4
|
+
require "lib/rwd/browser"
|
|
5
|
+
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,22 @@ 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
|
+
$rwdtinkerlog.info "rwd: loading theme DEFAULT"
|
|
61
|
+
|
|
62
|
+
load 'lib/rwdthemes/default.rwd'
|
|
63
|
+
end
|
|
64
|
+
if ENV["RWDTHEME"] = "WINDOWSLOOKALIKE"
|
|
65
|
+
load 'lib/rwdthemes/windowslike.rwd'
|
|
66
|
+
end
|
|
67
|
+
else
|
|
68
|
+
load 'lib/rwdthemes/default.rwd'
|
|
69
|
+
end
|
|
70
|
+
|
|
53
71
|
ENV["RWDBROWSER"] = (ENV["RWDBROWSER"] or defaultbrowser) or puts "No browser found."
|
|
54
72
|
ENV["RWDPORTS"] = (ENV["RWDPORTS"] or "7701-7709")
|
|
55
73
|
ENV["RWDTHEME"] = (ENV["RWDTHEME"] or "DEFAULT")
|
|
@@ -250,7 +268,7 @@ class EVTable
|
|
|
250
268
|
end
|
|
251
269
|
|
|
252
270
|
class OpenTag
|
|
253
|
-
def prechildren(res, before, after, varshtml, varsstring, switches, help, oneormorefields, firstaction, tabs, tab, pda)
|
|
271
|
+
def prechildren(res, before, after, varshtml, varsstring, switches, help, oneormorefields, firstaction, tabs, tab, pda=false)
|
|
254
272
|
bef = before[-1]
|
|
255
273
|
res << Format % ["Before", @subtype] if ($rwd_debug and not bef.nil?)
|
|
256
274
|
res << bef if not bef.nil?
|
|
@@ -282,10 +300,10 @@ class OpenTag
|
|
|
282
300
|
args["nohelpbutton"] = (not help)
|
|
283
301
|
|
|
284
302
|
template = $rwd_html_1
|
|
285
|
-
template = $rwd_html_PDA_1 if pda
|
|
303
|
+
# template = $rwd_html_PDA_1 if pda
|
|
286
304
|
|
|
287
305
|
res << (template(template, args))
|
|
288
|
-
|
|
306
|
+
when "p" then res << "<p #{align}>"
|
|
289
307
|
when "pre" then res << "<pre #{align}>"
|
|
290
308
|
when "big" then res << "<p #{align}><big>"
|
|
291
309
|
when "small" then res << "<p #{align}><small>"
|
|
@@ -314,9 +332,8 @@ class OpenTag
|
|
|
314
332
|
when "b" then res << "<b>"
|
|
315
333
|
when "i" then res << "<i>"
|
|
316
334
|
when "a"
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
335
|
+
if @args.include?("href")
|
|
336
|
+
res << "<a href='#{@args["href"]}' target='#{@args["target"] or "_blank"}'>"
|
|
320
337
|
else
|
|
321
338
|
res << "<a href='javascript:document.bodyform.rwd_action.value=\"#{@args["action"]}\";document.bodyform.submit();'>"
|
|
322
339
|
end
|
|
@@ -477,7 +494,7 @@ class OpenTag
|
|
|
477
494
|
after.push(aft)
|
|
478
495
|
end
|
|
479
496
|
|
|
480
|
-
def postchildren(res, before, after, varshtml, varsstring, switches, help, oneormorefields, firstaction, tabs, tab, pda)
|
|
497
|
+
def postchildren(res, before, after, varshtml, varsstring, switches, help, oneormorefields, firstaction, tabs, tab, pda=false)
|
|
481
498
|
case @subtype
|
|
482
499
|
when "vertical", "window", "helpwindow", "tab", "panel"
|
|
483
500
|
res << Format % ["BefPost", @subtype] if $rwd_debug
|
|
@@ -556,7 +573,7 @@ class OpenTag
|
|
|
556
573
|
puts "</#{@subtype}>"
|
|
557
574
|
res << "</#{@subtype}>"
|
|
558
575
|
end
|
|
559
|
-
|
|
576
|
+
|
|
560
577
|
before.pop
|
|
561
578
|
after.pop
|
|
562
579
|
|
|
@@ -619,7 +636,7 @@ class OpenTag
|
|
|
619
636
|
end
|
|
620
637
|
|
|
621
638
|
class Text
|
|
622
|
-
def prechildren(res, before, after, varshtml, varsstring, switches, help, oneormorefields, firstaction, tabs, tab, pda)
|
|
639
|
+
def prechildren(res, before, after, varshtml, varsstring, switches, help, oneormorefields, firstaction, tabs, tab, pda=false)
|
|
623
640
|
if not @text.scan(/[^ \t\r\n]/).empty?
|
|
624
641
|
res << Format % ["Text", ""] if $rwd_debug
|
|
625
642
|
res << "#{@text}"
|
|
@@ -667,70 +684,70 @@ class RWDWindow
|
|
|
667
684
|
|
|
668
685
|
vars = vars.deep_dup
|
|
669
686
|
|
|
670
|
-
begin # error wrap
|
|
687
|
+
begin # error wrap
|
|
671
688
|
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
689
|
+
vars.each do |key, value|
|
|
690
|
+
if not key.empty?
|
|
691
|
+
if value.respond_to? "to_s"
|
|
692
|
+
@rwd.gsub!(/%%#{key}%%/, value.to_s)
|
|
693
|
+
@rwd.gsub!(/%#{key}%/, value.to_s.to_html)
|
|
677
694
|
|
|
678
|
-
|
|
679
|
-
|
|
695
|
+
@helprwd.gsub!(/%%#{key}%%/, value.to_s)
|
|
696
|
+
@helprwd.gsub!(/%#{key}%/, value.to_s.to_html)
|
|
680
697
|
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
698
|
+
varshtml[key] = value.to_s.to_html
|
|
699
|
+
varsstring[key] = value.to_s
|
|
700
|
+
end
|
|
701
|
+
end
|
|
702
|
+
end
|
|
686
703
|
|
|
687
|
-
|
|
688
|
-
|
|
704
|
+
windowobject = RWDTree.new(@rwd).children.dup.delete_if{|obj| obj.subtype != "window"}[0]
|
|
705
|
+
helpobject = RWDTree.new(@helprwd).children.dup.delete_if{|obj| obj.subtype != "helpwindow"}[0]
|
|
689
706
|
|
|
690
|
-
|
|
707
|
+
tabsobj = windowobject.children.dup.delete_if{|obj| obj.subtype != "tabs"}[0]
|
|
691
708
|
|
|
692
|
-
|
|
693
|
-
|
|
709
|
+
if not tabsobj.nil?
|
|
710
|
+
tabs = tabsobj.children.dup.delete_if{|obj| (not obj.kind_of?(OpenTag)) or (obj.subtype != "tab")}
|
|
694
711
|
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
712
|
+
if tab.empty?
|
|
713
|
+
tab = tabs[0].args["name"]
|
|
714
|
+
end
|
|
698
715
|
|
|
699
|
-
|
|
700
|
-
|
|
716
|
+
tabsobj.children.delete_if{|obj| (obj.kind_of?(OpenTag)) and (obj.subtype == "tab") and obj.args["name"] != tab}
|
|
717
|
+
end
|
|
701
718
|
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
719
|
+
if help
|
|
720
|
+
helpobject.parsetree("prechildren", "postchildren", html, [""], [""], varshtml, varsstring, switches, false, oneormorefields, firstaction, tabs, tab, pda)
|
|
721
|
+
else
|
|
722
|
+
windowobject.parsetree("prechildren", "postchildren", html, [""], [""], varshtml, varsstring, switches, (not @helprwd.empty?), oneormorefields, firstaction, tabs, tab, pda)
|
|
723
|
+
end
|
|
707
724
|
|
|
708
|
-
|
|
725
|
+
html = html.join("") # ???
|
|
709
726
|
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
727
|
+
html.gsub!(/%%*[[:alnum:]_\-]+%%*/, "") if not $rwd_debug
|
|
728
|
+
html.gsub!(/%%/, "%")
|
|
729
|
+
html.gsub!(/\n\n*/, "\n")
|
|
713
730
|
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
731
|
+
if oneormorefields.empty?
|
|
732
|
+
focus = ""
|
|
733
|
+
else
|
|
734
|
+
focus = "document.bodyform.elements[0].focus();"
|
|
735
|
+
end
|
|
719
736
|
|
|
720
|
-
|
|
737
|
+
firstaction = action if windowobject.args.keys.include?("refresh") unless action.nil?
|
|
721
738
|
|
|
722
|
-
|
|
723
|
-
|
|
739
|
+
html.gsub!(/\$RWD_FIRSTACTION\$/ , firstaction)
|
|
740
|
+
html.gsub!(/\$RWD_FOCUS\$/ , focus)
|
|
724
741
|
|
|
725
|
-
|
|
726
|
-
|
|
742
|
+
html
|
|
743
|
+
end
|
|
727
744
|
|
|
728
745
|
rescue
|
|
729
|
-
|
|
730
|
-
|
|
746
|
+
$rwdtinkerlog.error "error in RWDWindow - render method"
|
|
747
|
+
|
|
731
748
|
end
|
|
732
749
|
end
|
|
733
|
-
|
|
750
|
+
|
|
734
751
|
|
|
735
752
|
class RWDMessage < RWDWindow
|
|
736
753
|
def initialize(msg)
|
|
@@ -814,7 +831,9 @@ class RWDialog
|
|
|
814
831
|
|
|
815
832
|
self
|
|
816
833
|
end
|
|
834
|
+
|
|
817
835
|
|
|
836
|
+
|
|
818
837
|
def render(res, path, post, download, downloadfile, pda, sessionid)
|
|
819
838
|
# Avoid a timeout.
|
|
820
839
|
|
|
@@ -846,8 +865,11 @@ class RWDialog
|
|
|
846
865
|
|
|
847
866
|
post.sort.each do |key, value|
|
|
848
867
|
puts "Post: #{key} -> #{value.from_html.inspect}" if $rwd_debug
|
|
868
|
+
$rwdtinkerlog.info "Post: #{key} -> #{value.from_html.inspect}\n"
|
|
849
869
|
|
|
850
870
|
vars[key] = value.from_html
|
|
871
|
+
$rwdtinkerlog.info "rwd: #{value.from_html}\n"
|
|
872
|
+
|
|
851
873
|
end
|
|
852
874
|
|
|
853
875
|
# Stack handling for rwd_action, rwd_window and rwd_tab.
|
|
@@ -915,14 +937,24 @@ class RWDialog
|
|
|
915
937
|
# Copy vars from window to instance.
|
|
916
938
|
|
|
917
939
|
vars.each do |k, v|
|
|
918
|
-
|
|
940
|
+
$rwdtinkerlog.info "rwd: Post: #{k} -> #{v}\n"
|
|
941
|
+
|
|
942
|
+
if ((not k.empty?) and k.scan(/^rwd_/).empty? and not @rwd_ignore_vars.include?("@#{k}"))
|
|
943
|
+
|
|
944
|
+
instance_eval "@#{k} = ''"
|
|
945
|
+
instance_variable_set("@#{k}", vars.fetch("#{k}"))
|
|
946
|
+
$rwdtinkerlog.info "rwd: Post: #{k} -> #{v}\n"
|
|
947
|
+
|
|
948
|
+
end
|
|
919
949
|
end
|
|
920
950
|
|
|
921
951
|
# Callback.
|
|
922
952
|
|
|
923
953
|
if (not back) or @rwd_call_after_back.include?(@rwd_action)
|
|
924
954
|
unless @rwd_action =~ /^rwd_/
|
|
925
|
-
|
|
955
|
+
|
|
956
|
+
$rwdtinkerlog.debug "Method: #{@rwd_action}(#{@rwd_args})"
|
|
957
|
+
|
|
926
958
|
if methods.include?(@rwd_action)
|
|
927
959
|
method(@rwd_action).call(*@rwd_args)
|
|
928
960
|
else
|
|
@@ -992,9 +1024,9 @@ begin # error block
|
|
|
992
1024
|
end
|
|
993
1025
|
res << RWDWindow.new($rwd_gui_tinker, @rwd_window).render(pda, @rwd_refresh_action, vars, @rwd_switches, help, @rwd_tab)
|
|
994
1026
|
rescue
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
1027
|
+
|
|
1028
|
+
$rwdtinkerlog.error "rwd: error in render"
|
|
1029
|
+
|
|
998
1030
|
end
|
|
999
1031
|
end
|
|
1000
1032
|
end
|
|
@@ -1022,8 +1054,6 @@ end
|
|
|
1022
1054
|
@rwd_msg = "<html><body><pre>#{msg}</pre></body></html>"
|
|
1023
1055
|
@rwd_msgtype = "text"
|
|
1024
1056
|
end
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
1057
|
|
|
1028
1058
|
def progressbar(refresh, *progress)
|
|
1029
1059
|
@rwd_progress_refresh = (refresh or 1)
|
|
@@ -1074,7 +1104,9 @@ end
|
|
|
1074
1104
|
Thread.new do
|
|
1075
1105
|
loop do
|
|
1076
1106
|
if Time.now - @rwd_time > @rwd_timeout
|
|
1077
|
-
|
|
1107
|
+
|
|
1108
|
+
$rwdtinkerlog.info "rwd: Exiting due to timeout (#{@rwd_timeout} seconds)."
|
|
1109
|
+
|
|
1078
1110
|
exit 1
|
|
1079
1111
|
end
|
|
1080
1112
|
sleep interval
|
|
@@ -1154,7 +1186,7 @@ class RWDSession < Hash
|
|
|
1154
1186
|
@lastaccess = Time.now
|
|
1155
1187
|
end
|
|
1156
1188
|
|
|
1157
|
-
def render(res, path, post, download, downloadfile, pda)
|
|
1189
|
+
def render(res, path, post, download, downloadfile, pda=false)
|
|
1158
1190
|
done = self["object"].render(res, path, post, download, downloadfile, pda, @sessionid)
|
|
1159
1191
|
|
|
1160
1192
|
res.gsub!(/\$RWD_SESSION\$/, done ? "" : "#{@sessionid}")
|
|
@@ -1181,7 +1213,8 @@ class RWDServer
|
|
|
1181
1213
|
|
|
1182
1214
|
@browserthread =
|
|
1183
1215
|
Thread.new do
|
|
1184
|
-
|
|
1216
|
+
$rwdtinkerlog.warn "rwd: Starting the browser..."
|
|
1217
|
+
|
|
1185
1218
|
|
|
1186
1219
|
#if ENV["RWDBROWSER"].downcase =~ /iexplore/ # ???
|
|
1187
1220
|
#@ie = IE.new("http://localhost:#{port}/")
|
|
@@ -1195,7 +1228,7 @@ class RWDServer
|
|
|
1195
1228
|
|
|
1196
1229
|
command.gsub!(/%port%/, port.to_s)
|
|
1197
1230
|
|
|
1198
|
-
system(command) or $
|
|
1231
|
+
system(command) or $rwdtinkerlog.error "Starting of the browser failed, or the browser terminated abnormally.\nCommand => #{command}"
|
|
1199
1232
|
#end
|
|
1200
1233
|
|
|
1201
1234
|
puts "The browser has terminated."
|
|
@@ -1306,8 +1339,8 @@ class RWDServer
|
|
|
1306
1339
|
resp << download
|
|
1307
1340
|
end
|
|
1308
1341
|
rescue
|
|
1309
|
-
|
|
1310
|
-
|
|
1342
|
+
|
|
1343
|
+
$rwdtinkerlog.error "rwd: Sending response to browser failed."
|
|
1311
1344
|
@sessions.delete(session.sessionid)
|
|
1312
1345
|
end
|
|
1313
1346
|
|
|
@@ -1321,8 +1354,9 @@ class RWDServer
|
|
|
1321
1354
|
|
|
1322
1355
|
if @browserstarted and not @browserthread.nil? and @browserthread.alive?
|
|
1323
1356
|
resp.stop do
|
|
1324
|
-
|
|
1325
|
-
|
|
1357
|
+
|
|
1358
|
+
$rwdtinkerlog.warn "rwd: Waiting for the browser to terminate..."
|
|
1359
|
+
|
|
1326
1360
|
@browserthread.join
|
|
1327
1361
|
end
|
|
1328
1362
|
end
|
|
@@ -1367,562 +1401,7 @@ class RWDServer
|
|
|
1367
1401
|
end
|
|
1368
1402
|
end
|
|
1369
1403
|
|
|
1370
|
-
|
|
1371
|
-
<!-- Generated by RubyWebDialog. -->
|
|
1372
|
-
<!-- For more information, please contact Erik Veenstra <rwd@erikveen.dds.nl>. -->
|
|
1373
|
-
<html>
|
|
1374
|
-
<head>
|
|
1375
|
-
<title>%TITLE%</title>
|
|
1376
|
-
|
|
1377
|
-
<meta http-equiv='Content-Type' content='text/html; charset=%CHARSET%'>
|
|
1378
|
-
<meta http-equiv='Content-Style-Type' content='text/css'>
|
|
1379
|
-
<meta http-equiv='Refresh' content='%REFRESH%, javascript:document.bodyform.submit();'>
|
|
1380
|
-
|
|
1381
|
-
<link rel='shortcut icon' href='%LOGO%'>
|
|
1382
|
-
|
|
1383
|
-
<style type='text/css'>
|
|
1384
|
-
<!--
|
|
1385
|
-
|
|
1386
|
-
body {
|
|
1387
|
-
background : url(%WATERMARK%) white center center no-repeat fixed;
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
|
-
a {
|
|
1391
|
-
text-decoration : none;
|
|
1392
|
-
}
|
|
1393
|
-
|
|
1394
|
-
a:hover {
|
|
1395
|
-
background : #AAAAAA;
|
|
1396
|
-
}
|
|
1397
|
-
|
|
1398
|
-
td.panel1 {
|
|
1399
|
-
border-color : #888888 #EEEEEE #EEEEEE #888888;
|
|
1400
|
-
border-width : 1pt;
|
|
1401
|
-
border-style : solid solid solid solid;
|
|
1402
|
-
}
|
|
1403
|
-
|
|
1404
|
-
td.panel2 {
|
|
1405
|
-
border-color : #EEEEEE #888888 #888888 #EEEEEE;
|
|
1406
|
-
border-width : 1pt;
|
|
1407
|
-
border-style : solid solid solid solid;
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
|
-
td.panel1high {
|
|
1411
|
-
border-color : #EEEEEE #888888 #888888 #EEEEEE;
|
|
1412
|
-
border-width : 1pt;
|
|
1413
|
-
border-style : solid solid solid solid;
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
td.panel2high {
|
|
1417
|
-
border-color : #EEEEEE #888888 #888888 #EEEEEE;
|
|
1418
|
-
border-width : 1pt;
|
|
1419
|
-
border-style : none none none none;
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
|
-
td.panel1low {
|
|
1423
|
-
border-color : #888888 #EEEEEE #EEEEEE #888888;
|
|
1424
|
-
border-width : 1pt;
|
|
1425
|
-
border-style : solid solid solid solid;
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
td.panel2low {
|
|
1429
|
-
border-color : #888888 #EEEEEE #EEEEEE #888888;
|
|
1430
|
-
border-width : 1pt;
|
|
1431
|
-
border-style : none none none none;
|
|
1432
|
-
}
|
|
1433
|
-
|
|
1434
|
-
td.tabblad {
|
|
1435
|
-
border-color : #EEEEEE #888888 #888888 #EEEEEE;
|
|
1436
|
-
border-width : 1pt;
|
|
1437
|
-
border-style : none solid solid solid;
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
|
-
td.passivetab {
|
|
1441
|
-
background-color : #BBBBBB;
|
|
1442
|
-
border-color : #DDDDDD #DDDDDD #EEEEEE #DDDDDD;
|
|
1443
|
-
border-width : 1pt;
|
|
1444
|
-
border-style : solid solid solid solid;
|
|
1445
|
-
}
|
|
1446
|
-
|
|
1447
|
-
td.activetab {
|
|
1448
|
-
border-color : #EEEEEE #888888 #888888 #EEEEEE;
|
|
1449
|
-
border-width : 1pt;
|
|
1450
|
-
border-style : solid solid none solid;
|
|
1451
|
-
}
|
|
1452
|
-
|
|
1453
|
-
td.notab {
|
|
1454
|
-
border-color : #EEEEEE #EEEEEE #EEEEEE #EEEEEE;
|
|
1455
|
-
border-width : 1pt;
|
|
1456
|
-
border-style : none none solid none;
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
|
-
//-->
|
|
1460
|
-
</style>
|
|
1461
|
-
|
|
1462
|
-
<script type='text/javascript'>
|
|
1463
|
-
<!--
|
|
1464
|
-
function BodyGo() {
|
|
1465
|
-
$RWD_FOCUS$
|
|
1466
|
-
}
|
|
1467
|
-
//-->
|
|
1468
|
-
</script>
|
|
1469
|
-
</head>
|
|
1470
|
-
|
|
1471
|
-
<body bgcolor='white' onload='BodyGo()' link='#000000' vlink='#000000' alink='#000000'>
|
|
1472
|
-
<form name='bodyform' action='/' method='post'>
|
|
1473
|
-
<table align='center' border='0' cellspacing='0' cellpadding='0' width='100%' height='100%'>
|
|
1474
|
-
<tr align='center' valign='middle'>
|
|
1475
|
-
<td align='center'>
|
|
1476
|
-
|
|
1477
|
-
<table align='center' border='0' cellspacing='0' cellpadding='0'>
|
|
1478
|
-
|
|
1479
|
-
<tr align='center'>
|
|
1480
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1481
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1482
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1483
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1484
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1485
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1486
|
-
<td align='center' bgcolor='black'><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
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1489
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1490
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1491
|
-
</tr>
|
|
1492
|
-
|
|
1493
|
-
<tr align='center'>
|
|
1494
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1495
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1496
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1497
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1498
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1499
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1500
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1501
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1502
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1503
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1504
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1505
|
-
</tr>
|
|
1506
|
-
|
|
1507
|
-
<tr align='center'>
|
|
1508
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1509
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1510
|
-
<td align='center' bgcolor='white'><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='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1514
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1515
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1516
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1517
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1518
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1519
|
-
</tr>
|
|
1520
|
-
|
|
1521
|
-
<tr align='center'>
|
|
1522
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1523
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1524
|
-
<td align='center' bgcolor='white'><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='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1528
|
-
<td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1529
|
-
<td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1530
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1531
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1532
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1533
|
-
</tr>
|
|
1534
|
-
|
|
1535
|
-
<tr align='center'>
|
|
1536
|
-
<td align='center' bgcolor='black'><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='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1540
|
-
<td align='center' bgcolor='white'><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='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1544
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1545
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1546
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1547
|
-
</tr>
|
|
1548
|
-
|
|
1549
|
-
<tr align='center'>
|
|
1550
|
-
<td align='center' bgcolor='black'><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
|
-
<td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1553
|
-
<td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1554
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1555
|
-
|
|
1556
|
-
<td align='center'>
|
|
1557
|
-
|
|
1558
|
-
<table align='center' border='0' cellspacing='0' cellpadding='0' %WIDTH1%>
|
|
1559
|
-
<tr align='center'>
|
|
1560
|
-
<td align='center' bgcolor='#444488'>
|
|
1561
|
-
|
|
1562
|
-
<table align='left' border='0' cellspacing='1' cellpadding='0'>
|
|
1563
|
-
<tr align='center'>
|
|
1564
|
-
<td align='border'><img src='%LOGO%' width='14' height='14'></td>
|
|
1565
|
-
<td align='center'><b><small><font color='#FFFFFF'> %TITLE% </font></small></b></td>
|
|
1566
|
-
</tr>
|
|
1567
|
-
</table>
|
|
1568
|
-
|
|
1569
|
-
<table align='right' border='0' cellspacing='1' cellpadding='0'>
|
|
1570
|
-
<tr align='center'>
|
|
1571
|
-
<!-- %HELPBUTTON% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_help\";document.bodyform.submit();'> ? </a></small></b></td>
|
|
1572
|
-
<!-- %BACKBUTTONS% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_main\";document.bodyform.submit();'> << </a></small></b></td>
|
|
1573
|
-
<!-- %BACKBUTTONS% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_back\";document.bodyform.submit();'> < </a></small></b></td>
|
|
1574
|
-
<!-- %CLOSEBUTTON% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_quit\";document.bodyform.submit();'> X </a></small></b></td>
|
|
1575
|
-
</tr>
|
|
1576
|
-
</table>
|
|
1577
|
-
|
|
1578
|
-
</td>
|
|
1579
|
-
</tr>
|
|
1580
|
-
|
|
1581
|
-
<tr align='center'>
|
|
1582
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='%WIDTH2%'></td>
|
|
1583
|
-
</tr>
|
|
1584
|
-
|
|
1585
|
-
<tr align='center'>
|
|
1586
|
-
<td align='center' bgcolor='#CCCCCC'>
|
|
1587
|
-
<table align='center' border='0' cellspacing='3' cellpadding='0'>
|
|
1588
|
-
%BODY%
|
|
1589
|
-
</table>
|
|
1590
|
-
|
|
1591
|
-
<input name='rwd_action' value='$RWD_FIRSTACTION$' type='hidden'>
|
|
1592
|
-
<input name='rwd_session' value='$RWD_SESSION$' type='hidden'>
|
|
1593
|
-
</td>
|
|
1594
|
-
</tr>
|
|
1595
|
-
</table>
|
|
1596
|
-
|
|
1597
|
-
</td>
|
|
1598
|
-
|
|
1599
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1600
|
-
<td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1601
|
-
<td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1602
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1603
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1604
|
-
</tr>
|
|
1605
|
-
|
|
1606
|
-
<tr align='center'>
|
|
1607
|
-
<td align='center' bgcolor='black'><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='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1611
|
-
<td align='center' bgcolor='white'><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='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1615
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1616
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1617
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1618
|
-
</tr>
|
|
1619
|
-
|
|
1620
|
-
<tr align='center'>
|
|
1621
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1622
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1623
|
-
<td align='center' bgcolor='white'><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='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1627
|
-
<td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1628
|
-
<td align='center' bgcolor='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1629
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1630
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1631
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1632
|
-
</tr>
|
|
1633
|
-
|
|
1634
|
-
<tr align='center'>
|
|
1635
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1636
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1637
|
-
<td align='center' bgcolor='white'><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='#EEEEEE'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1641
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1642
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1643
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1644
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1645
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1646
|
-
</tr>
|
|
1647
|
-
|
|
1648
|
-
<tr align='center'>
|
|
1649
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1650
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1651
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1652
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1653
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1654
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1655
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1656
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1657
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1658
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1659
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1660
|
-
</tr>
|
|
1661
|
-
|
|
1662
|
-
<tr align='center'>
|
|
1663
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1664
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1665
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1666
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1667
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1668
|
-
<td align='center' bgcolor='black'><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1669
|
-
<td align='center' bgcolor='black'><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
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1672
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1673
|
-
<td align='center' ><img src='rwd_pixel.gif' height='1' width='1'></td>
|
|
1674
|
-
</tr>
|
|
1675
|
-
|
|
1676
|
-
</table>
|
|
1677
|
-
|
|
1678
|
-
</td>
|
|
1679
|
-
</tr>
|
|
1680
|
-
</table>
|
|
1681
|
-
</form>
|
|
1682
|
-
</body>
|
|
1683
|
-
</html>
|
|
1684
|
-
"
|
|
1685
|
-
|
|
1686
|
-
$rwd_html["WINDOWSLOOKALIKE"] = "
|
|
1687
|
-
<!-- Generated by RubyWebDialog. -->
|
|
1688
|
-
<!-- For more information, please contact Erik Veenstra <rwd@erikveen.dds.nl>. -->
|
|
1689
|
-
<html>
|
|
1690
|
-
<head>
|
|
1691
|
-
<title>%TITLE%</title>
|
|
1692
|
-
|
|
1693
|
-
<meta http-equiv='Content-Type' content='text/html; charset=%CHARSET%'>
|
|
1694
|
-
<meta http-equiv='Content-Style-Type' content='text/css'>
|
|
1695
|
-
<meta http-equiv='Refresh' content='%REFRESH%, javascript:document.bodyform.submit();'>
|
|
1696
|
-
|
|
1697
|
-
<link rel='shortcut icon' href='%LOGO%'>
|
|
1698
|
-
|
|
1699
|
-
<style type='text/css'>
|
|
1700
|
-
<!--
|
|
1701
|
-
|
|
1702
|
-
body {
|
|
1703
|
-
background : url(%WATERMARK%) white center center no-repeat fixed;
|
|
1704
|
-
}
|
|
1705
|
-
|
|
1706
|
-
a {
|
|
1707
|
-
text-decoration : none;
|
|
1708
|
-
}
|
|
1709
|
-
|
|
1710
|
-
a:hover {
|
|
1711
|
-
background : #AAAAAA;
|
|
1712
|
-
}
|
|
1713
|
-
|
|
1714
|
-
td.window {
|
|
1715
|
-
border-color : #EEEEEE #888888 #888888 #EEEEEE;
|
|
1716
|
-
border-width : 3pt;
|
|
1717
|
-
border-style : solid solid solid solid;
|
|
1718
|
-
}
|
|
1719
|
-
|
|
1720
|
-
td.panel1 {
|
|
1721
|
-
border-color : #888888 #EEEEEE #EEEEEE #888888;
|
|
1722
|
-
border-width : 1pt;
|
|
1723
|
-
border-style : solid solid solid solid;
|
|
1724
|
-
}
|
|
1725
|
-
|
|
1726
|
-
td.panel2 {
|
|
1727
|
-
border-color : #EEEEEE #888888 #888888 #EEEEEE;
|
|
1728
|
-
border-width : 1pt;
|
|
1729
|
-
border-style : solid solid solid solid;
|
|
1730
|
-
}
|
|
1731
|
-
|
|
1732
|
-
td.panel1high {
|
|
1733
|
-
border-color : #EEEEEE #888888 #888888 #EEEEEE;
|
|
1734
|
-
border-width : 1pt;
|
|
1735
|
-
border-style : solid solid solid solid;
|
|
1736
|
-
}
|
|
1737
|
-
|
|
1738
|
-
td.panel2high {
|
|
1739
|
-
border-color : #EEEEEE #888888 #888888 #EEEEEE;
|
|
1740
|
-
border-width : 1pt;
|
|
1741
|
-
border-style : none none none none;
|
|
1742
|
-
}
|
|
1743
|
-
|
|
1744
|
-
td.panel1low {
|
|
1745
|
-
border-color : #888888 #EEEEEE #EEEEEE #888888;
|
|
1746
|
-
border-width : 1pt;
|
|
1747
|
-
border-style : solid solid solid solid;
|
|
1748
|
-
}
|
|
1749
|
-
|
|
1750
|
-
td.panel2low {
|
|
1751
|
-
border-color : #888888 #EEEEEE #EEEEEE #888888;
|
|
1752
|
-
border-width : 1pt;
|
|
1753
|
-
border-style : none none none none;
|
|
1754
|
-
}
|
|
1755
|
-
|
|
1756
|
-
td.tabblad {
|
|
1757
|
-
border-color : #EEEEEE #888888 #888888 #EEEEEE;
|
|
1758
|
-
border-width : 1pt;
|
|
1759
|
-
border-style : none solid solid solid;
|
|
1760
|
-
}
|
|
1761
|
-
|
|
1762
|
-
td.passivetab {
|
|
1763
|
-
background-color : #BBBBBB;
|
|
1764
|
-
border-color : #DDDDDD #DDDDDD #EEEEEE #DDDDDD;
|
|
1765
|
-
border-width : 1pt;
|
|
1766
|
-
border-style : solid solid solid solid;
|
|
1767
|
-
}
|
|
1768
|
-
|
|
1769
|
-
td.activetab {
|
|
1770
|
-
border-color : #EEEEEE #888888 #888888 #EEEEEE;
|
|
1771
|
-
border-width : 1pt;
|
|
1772
|
-
border-style : solid solid none solid;
|
|
1773
|
-
}
|
|
1774
|
-
|
|
1775
|
-
td.notab {
|
|
1776
|
-
border-color : #EEEEEE #EEEEEE #EEEEEE #EEEEEE;
|
|
1777
|
-
border-width : 1pt;
|
|
1778
|
-
border-style : none none solid none;
|
|
1779
|
-
}
|
|
1780
|
-
|
|
1781
|
-
//-->
|
|
1782
|
-
</style>
|
|
1783
|
-
|
|
1784
|
-
<script type='text/javascript'>
|
|
1785
|
-
<!--
|
|
1786
|
-
function BodyGo() {
|
|
1787
|
-
$RWD_FOCUS$
|
|
1788
|
-
}
|
|
1789
|
-
//-->
|
|
1790
|
-
</script>
|
|
1791
|
-
</head>
|
|
1792
|
-
|
|
1793
|
-
<body bgcolor='white' onload='BodyGo()' link='#000000' vlink='#000000' alink='#000000'>
|
|
1794
|
-
<form name='bodyform' action='/' method='post'>
|
|
1795
|
-
<table align='center' border='0' cellspacing='0' cellpadding='0' width='100%' height='100%'>
|
|
1796
|
-
<tr align='center' valign='middle'>
|
|
1797
|
-
<td align='center'>
|
|
1798
|
-
|
|
1799
|
-
<table align='center' border='0' cellspacing='0' cellpadding='0'>
|
|
1800
|
-
|
|
1801
|
-
<tr align='center'>
|
|
1802
|
-
<td align='center' class='window'>
|
|
1803
|
-
|
|
1804
|
-
<table align='center' border='0' cellspacing='0' cellpadding='0' %WIDTH1%>
|
|
1805
|
-
<tr align='center'>
|
|
1806
|
-
<td align='center' bgcolor='#444488'>
|
|
1807
|
-
|
|
1808
|
-
<table align='left' border='0' cellspacing='1' cellpadding='0'>
|
|
1809
|
-
<tr align='center'>
|
|
1810
|
-
<td align='border'><img src='%LOGO%' width='14' height='14'></td>
|
|
1811
|
-
<td align='center'><b><small><font color='#FFFFFF'> %TITLE% </font></small></b></td>
|
|
1812
|
-
</tr>
|
|
1813
|
-
</table>
|
|
1814
|
-
|
|
1815
|
-
<table align='right' border='0' cellspacing='1' cellpadding='0'>
|
|
1816
|
-
<tr align='center'>
|
|
1817
|
-
<!-- %HELPBUTTON% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_help\";document.bodyform.submit();'> ? </a></small></b></td>
|
|
1818
|
-
<!-- %BACKBUTTONS% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_main\";document.bodyform.submit();'> << </a></small></b></td>
|
|
1819
|
-
<!-- %BACKBUTTONS% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_back\";document.bodyform.submit();'> < </a></small></b></td>
|
|
1820
|
-
<!-- %CLOSEBUTTON% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_quit\";document.bodyform.submit();'> X </a></small></b></td>
|
|
1821
|
-
</tr>
|
|
1822
|
-
</table>
|
|
1823
|
-
|
|
1824
|
-
</td>
|
|
1825
|
-
</tr>
|
|
1826
|
-
|
|
1827
|
-
<tr align='center'>
|
|
1828
|
-
<td align='center' bgcolor='white'><img src='rwd_pixel.gif' height='1' width='%WIDTH2%'></td>
|
|
1829
|
-
</tr>
|
|
1830
|
-
|
|
1831
|
-
<tr align='center'>
|
|
1832
|
-
<td align='center' bgcolor='#CCCCCC'>
|
|
1833
|
-
<table align='center' border='0' cellspacing='3' cellpadding='0'>
|
|
1834
|
-
%BODY%
|
|
1835
|
-
</table>
|
|
1836
|
-
|
|
1837
|
-
<input name='rwd_action' value='$RWD_FIRSTACTION$' type='hidden'>
|
|
1838
|
-
<input name='rwd_session' value='$RWD_SESSION$' type='hidden'>
|
|
1839
|
-
</td>
|
|
1840
|
-
</tr>
|
|
1841
|
-
</table>
|
|
1842
|
-
|
|
1843
|
-
</td>
|
|
1844
|
-
</tr>
|
|
1845
|
-
|
|
1846
|
-
</table>
|
|
1847
|
-
|
|
1848
|
-
</td>
|
|
1849
|
-
</tr>
|
|
1850
|
-
</table>
|
|
1851
|
-
</form>
|
|
1852
|
-
</body>
|
|
1853
|
-
</html>
|
|
1854
|
-
"
|
|
1855
|
-
|
|
1856
|
-
$rwd_html["PDA"] = "
|
|
1857
|
-
<!-- Generated by RubyWebDialog. -->
|
|
1858
|
-
<!-- For more information, please contact Erik Veenstra <rwd@erikveen.dds.nl>. -->
|
|
1859
|
-
<html>
|
|
1860
|
-
<head>
|
|
1861
|
-
<title>%TITLE%</title>
|
|
1862
|
-
|
|
1863
|
-
<meta http-equiv='Content-Type' content='text/html; charset=%CHARSET%'>
|
|
1864
|
-
<meta http-equiv='Refresh' content='%REFRESH%, javascript:document.bodyform.submit();'>
|
|
1865
|
-
|
|
1866
|
-
<link rel='shortcut icon' href='%LOGO%'>
|
|
1867
|
-
|
|
1868
|
-
<script type='text/javascript'>
|
|
1869
|
-
<!--
|
|
1870
|
-
function BodyGo() {
|
|
1871
|
-
$RWD_FOCUS$
|
|
1872
|
-
}
|
|
1873
|
-
//-->
|
|
1874
|
-
</script>
|
|
1875
|
-
</head>
|
|
1876
|
-
|
|
1877
|
-
<body bgcolor='white' onload='BodyGo()' link='#000000' vlink='#000000' alink='#000000'>
|
|
1878
|
-
<form name='bodyform' action='/' method='post'>
|
|
1879
|
-
<table align='center' border='0' cellspacing='0' cellpadding='0' width='100%' height='100%'>
|
|
1880
|
-
|
|
1881
|
-
<tr align='center'>
|
|
1882
|
-
<td align='center' bgcolor='#444488'>
|
|
1883
|
-
|
|
1884
|
-
<table align='left' border='0' cellspacing='1' cellpadding='0'>
|
|
1885
|
-
<tr align='center'>
|
|
1886
|
-
<td align='border'><img src='%LOGO%' width='14' height='14'></td>
|
|
1887
|
-
<td align='center'><b><small><font color='#FFFFFF'> %TITLE% </font></small></b></td>
|
|
1888
|
-
</tr>
|
|
1889
|
-
</table>
|
|
1890
|
-
|
|
1891
|
-
<table align='right' border='0' cellspacing='1' cellpadding='0'>
|
|
1892
|
-
<tr align='center'>
|
|
1893
|
-
<!-- %HELPBUTTON% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_help\";document.bodyform.submit();'> ? </a></small></b></td>
|
|
1894
|
-
<!-- %BACKBUTTONS% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_main\";document.bodyform.submit();'> << </a></small></b></td>
|
|
1895
|
-
<!-- %BACKBUTTONS% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_back\";document.bodyform.submit();'> < </a></small></b></td>
|
|
1896
|
-
<!-- %CLOSEBUTTON% --><td align='center' bgcolor='#EEEEEE'><b><small><a href='javascript:document.bodyform.rwd_action.value=\"rwd_quit\";document.bodyform.submit();'> X </a></small></b></td>
|
|
1897
|
-
</tr>
|
|
1898
|
-
</table>
|
|
1899
|
-
|
|
1900
|
-
</td>
|
|
1901
|
-
</tr>
|
|
1902
|
-
|
|
1903
|
-
<!--
|
|
1904
|
-
<tr align='center'>
|
|
1905
|
-
<td align='center' bgcolor='#FFFFFF'> </td>
|
|
1906
|
-
</tr>
|
|
1907
|
-
-->
|
|
1908
|
-
|
|
1909
|
-
<tr align='center'>
|
|
1910
|
-
<td align='center' bgcolor='#FFFFFF'>
|
|
1911
|
-
|
|
1912
|
-
<table align='center' border='0' cellspacing='0' cellpadding='0'>
|
|
1913
|
-
%BODY%
|
|
1914
|
-
</table>
|
|
1915
|
-
|
|
1916
|
-
<input name='rwd_action' value='$RWD_FIRSTACTION$' type='hidden'>
|
|
1917
|
-
<input name='rwd_session' value='$RWD_SESSION$' type='hidden'>
|
|
1918
|
-
</td>
|
|
1919
|
-
</tr>
|
|
1920
|
-
|
|
1921
|
-
</table>
|
|
1922
|
-
</form>
|
|
1923
|
-
</body>
|
|
1924
|
-
</html>
|
|
1925
|
-
"
|
|
1404
|
+
|
|
1926
1405
|
|
|
1927
1406
|
$rwd_pixel = "
|
|
1928
1407
|
R0lGODlhAQABAMIAAAAAAP///+7u7kREiP///////////////yH5BAEKAAMA
|
|
@@ -1937,8 +1416,9 @@ jefB+oo6l6AxBAx7M2HRePQph5xga0RsJqfELPI2DSUAADs=
|
|
|
1937
1416
|
|
|
1938
1417
|
|
|
1939
1418
|
$rwd_html_1, $rwd_html_2 = $rwd_html[ENV["RWDTHEME"]].split(/^\s*%BODY%\s*\r*$/)
|
|
1940
|
-
|
|
1941
|
-
|
|
1419
|
+
#if ENV["RWDTHEME"] == "PDA"
|
|
1420
|
+
#$rwd_html_PDA_1, $rwd_html_PDA_2 = $rwd_html["PDA"].split(/^\s*%BODY%\s*\r*$/)
|
|
1421
|
+
#end
|
|
1942
1422
|
#end
|
|
1943
1423
|
#
|
|
1944
1424
|
#class RWDialog < RWD::RWDialog
|