home *** CD-ROM | disk | FTP | other *** search
- G4C
- ; $VER: func.history Rev.003 © by Juan Manuel Wehrli 1999 - 2000
- WINBIG 0 0 640 20 "History Tool"
- WinType 11010000
- WinBackground IMAGE BG 0
- ;Winout "NIL:"
-
- xOnLoad
- SetGad #This 101 HIDE
- GuiOpen #This
-
- xOnOpen
- Update #This 1 "Aktuelle Suite: $*SUITENAME"
-
- xOnClose
- GuiQuit #This
-
- Text 0 0 350 20 "Keine Aktivität ..." 100 BOX
- GadFont "xHelvetica.font" "11" 000
- GadID 1
-
- xButton 350 1 70 18 "Überprüfen"
- GadFont "xHelvetica.font" "11" 000
- lvuse HTMLEXT 1
- EXTRACT %SuiteHistFile CLEAN hfile
- EXTRACT %SuiteFTPOL CLEAN ftpdir
- SetVar olhfile $hfile
- RepVar olhfile $*SUITEDIR $ftpdir CI
- INFO FILE $olhfile
- SetVar olsize $$FILE.LENGTH
- INFO FILE $hfile
- SetVar lsize $$FILE.LENGTH
- if $olsize == $lsize
- EZREQ "History wurde nicht geändert!" "Weiter" NIL
- elseif $olsize > $lsize
- EZREQ "Die online History wurde verändert soll sie runtergeladen werden?" "Ja|Nein" abfr1
- if $abfr1 = 1
- cli 'copy $olhfile TO $hfile NOREQ'
- endif
- elseif $olsize < $lsize
- EZREQ "Die lokale History wurde verändert soll sie runtergeladen werden?" "Ja|Nein" abfr2
- if $abfr2 = 1
- cli 'copy $hfile TO $olhfile NOREQ'
- endif
- endif
-
- xButton 420 1 70 18 "Bearbeiten"
- GadFont "xHelvetica.font" "11" 000
- lvuse HTMLEXT 1
- EXTRACT %SuiteHistFile CLEAN hfile
- cli 'rx $*EDITOR OPENNEW $hfile'
-
- xButton 490 1 70 18 "Versenden"
- GadFont "xHelvetica.font" "11" 000
- lvuse HTMLEXT 1
- EXTRACT %SuiteMail CLEAN .htmlext.emad
- EXTRACT %SuiteSubj CLEAN .htmlext.subj
- EXTRACT %SuiteHistFile CLEAN sfile
- cli 'rx $*MAILER WRITEFIRST $sfile'
-
- xButton 560 1 80 18 "[_X] Schliessen"
- GadFont "xHelvetica.font" "11" 000
- GadKey "x"
- GuiQuit #This
-
-