home *** CD-ROM | disk | FTP | other *** search
- // -----
- // VDL2004.txt
- // Copyright 1997 Claris
- // -----
-
- //---------------------------------
- // ConfirmPageUpload.txt
- //---------------------------------
-
-
- #include "StdVPref.txt"
-
-
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
-
- //This section contains all localizable string constants for this VDL program. Be sure to
- //include the backslash character at the end of each line of a multi-line string, except for the last line.
- //You may also flatten multiline constants into a single line, if you prefer
-
-
- #define kLit1 "Upload Page"
- #define kLit2 "Server Name:"
-
- #define kLit3 "Remote Folder:"
-
-
- #define kLit11 "Upload"
- #define kLit12 "Page:"
- #define kLit13 "&Include image files"
-
-
-
- #define kLit15 "Upload"
- #define kLit16 "Cancel"
- #define kLit17 "Set &FTP Options..."
- //#define kLit18 "Assistant..."
- #define kLit19 "Upload Location"
- #define kLit20 "Upload"
- #define kLit21 "Cancel"
-
-
- #define kHelpPublish "Help/PublishSite.htm"
- #define kHelpTitle "&Help"
-
-
- //Localized Fonts
- #if Platform_Mac
- #define DisplayFont { Geneva, 10, {Plain} }
- // Font for the small push buttons
- #define kSmallBoldFont Font = {Geneva, 10, {Bold}}
- #define kBoldLabelFont {Geneva, 10, {Bold}}
- #else
- #define DisplayFont SystemFont
-
- // Font for the small push buttons
- #define kSmallButtonFont Font = SystemFont
- #define kBoldLabelFont SystemFont
- #endif
-
-
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
-
-
-
-
-
-
-
-
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
-
- //This section contains integer constants that are used to format this VDL program.
- //These are localizable - they only need to be changed if the localized strings
- //are sufficiently longer than the US strings. Localize the strings first, then the constants.
-
- #if Platform_Mac
- //Width of the Dialog
- #define kDialogWidth 435
-
- //Width of the labels
- #define kLabelWidth 100
-
- //Width of the displayed values
- #define kValueWidth 100
-
- //Width of the OK Button
- #define kOKButtonWidth 80
- #else
- //Width of the Dialog
- #define kDialogWidth 435
-
- //Width of the labels
- #define kLabelWidth 100
-
- //Width of the displayed values
- #define kValueWidth 100
-
- //Width of the OK Button
- #define kOKButtonWidth 100
-
- #endif
-
-
-
-
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
-
-
-
- //No further localizable data past this point
-
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
-
- #define ccCancel 1070
- #define ccOK 1071
-
-
-
- //-------------------------------------------------------------------------------------
- // Debug / Try Me Defines: These are for testing only
- //-------------------------------------------------------------------------------------
-
- #ifdef TryMe
-
-
- #endif
-
-
-
-
-
-
-
- //-------------------------------------------------------------------------------------
- // VDL Code Below Here
- //-------------------------------------------------------------------------------------
-
-
- //--- Defines ---------
- #if Platform_Mac
- #define dlogBack stdBackColor
- #else
- #define dlogBack stdBackColor
- #endif
-
-
- #define kUploadBtnCmdID 1
- #define kCancelBtnCmdID 2
- #define kUnknown1BtnCmdID 3
- #define kUnknown2BtnCmdID 3
-
-
-
- Margin(10, 10, 10, 10, dlogBack)
- VList(Width = kDialogWidth)
- {
-
- VList(Width = UseParent)
- {
-
- // StaticText(kLit1);
-
- // 3D Horizontal Separator
- // Spacer(Height = 1, Width = UseParent, BackColor = Black);
- // Spacer(Height = 1, Width = UseParent, BackColor = White);
-
- Spacer(Height = 10, Width = 0);
-
- // Radio Group
- Label(kLit11, Single,Font = kBoldLabelFont)
- Margin(5,5,5,5)
- VList(Width = UseParent)
- {
- HList() // Page Name
- {
- StaticText(kLit12,Font = DisplayFont);
- Spacer(Width = 5);
- StaticText(ftpFile,Width = 350,Font = DisplayFont);
- }//HList
-
- Spacer(Height = 5);
-
- HList() // Upload Images Check Box
- {
- Spacer(Width = 50);
- WidowCheckBox(kLit13, uploadRelatedImages, kSmallBoldFont, Font = DisplayFont,Width = 150, Height = 18);
- }//HList
-
- }//VList
-
- Spacer(Height = 10, Width = 0);
-
- Label(kLit19, Single,Width = UseParent,Font = kBoldLabelFont)
- Margin(5,5,7,5)
- VList(Width = UseParent)
- {
- Spacer(Height = 3);
-
- HList(Width = UseParent) //Server
- {
- StaticText(kLit2,Width = kLabelWidth,Alignment = Right,Font = DisplayFont);
- Spacer(Width = 5);
- StaticText(ftpServer,Width = UseParent,Font = DisplayFont);
- }//HList
-
- Spacer(Height = 10, Width = 0);
-
- HList(Width = UseParent) //Remote Directory
- {
-
- StaticText(kLit3,Width = kLabelWidth,Alignment = Right,Font = DisplayFont);
- Spacer(Width = 5);
- StaticText(ftpDir,Width = UseParent,Font = DisplayFont);
- }//HList
-
- Spacer(Height = 10,ScaleV);
-
- HList(Width = UseParent) //Change Upload Options
- {
- Spacer(Width = UseParent);
- PushButton( kLit17, 0, "ChangePageUploadOptions",kSmallBoldFont);
- }//HList
-
- }//VList
-
- Spacer(Height = 20, Width = 0,ScaleV);
-
- HList()
- {
-
- // #if Platform_Mac
- // PictPushButton(4000, "ContextHelpProc", HelpFile = kHelpPublish)
- // {
- // Enabled(Draw, 'cicn',14055 );
- // Disabled(Draw, 'cicn',14057 );
- // Tracking(Draw, 'cicn',14056 );
- // };
- // #else
- // PushButton(kHelpTitle, 4000, "ContextHelpProc", HelpFile = kHelpPublish);
- // #endif
-
-
- //Use this for the ok and cancel
- // Spacer(Height = 0, Width = 240);
- // CancelButton(kLit16, kCancelBtnCmdID, "None", Width = kOKButtonWidth);
- // Spacer(Height = 0, Width = 5);
- // DefaultButton(kLit15,kUploadBtnCmdID, "None", Width = kOKButtonWidth);
-
- }//Hlist
-
- Spacer(Width = 240);
- // StandardDialogButtonsH;
- HList(Width = UseParent)
- {
- #if Platform_Mac
- Spacer(Height = 0,Width = UseParent);
- CancelButton( kLit21,ccCancel, "None");
- Spacer(Height = 0,Width = 5);
- DefaultButton( kLit20,ccOK, "None");
- Spacer(Height = 0, Width = 5);
- #else
- Spacer(Height = 0,Width = UseParent);
- DefaultButton( kLit20,ccOK, "None");
- Spacer(Height = 0,Width = 5);
- CancelButton( kLit21,ccCancel, "None");
- Spacer(Height = 0, Width = 5);
- #endif
- }//Hlist
- }//VList
-
-
-
-
-
-
-
-
-
-
-
- //-------------------------------------------------------------------------------------
- // Try Me Mode VDL Code Below Here: For Testing Only
- //-------------------------------------------------------------------------------------
-
- // This is just used during Try Me Mode (Debugging).
- // Use this area to set up and display controls
- // only during debug mode. This can be usefull to
- // set test how the UI will look and function under
- // differnt states set by controls in this ifdef area.
-
- #ifdef TryMe
- Spacer(Height = 200);
- StaticText("--------- Debugging Controls Below Here ---------");
- #endif
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-