home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 4.10 / 1999-04_Disc_4.10.bin / ELINK / CLARISHP / _SETUP.1 / HOMEPAGE.exe / 1009 / 177 < prev    next >
Text File  |  1997-02-20  |  4KB  |  94 lines

  1. // -----
  2. // VDL177.txt
  3. // Copyright 1996 Claris
  4. // -----
  5. // One button Site publishing
  6.  
  7. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  8. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  9. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  10. //This section contains all localizable string constants for this VDL program. Be sure to 
  11. //include the backslash character at the end of each line of a multi-line string, except for the last line.
  12. //You may also flatten multiline constants into a single line, if you prefer
  13.  
  14. #define kLit1 "Publishing Your Site"
  15. #define kLit2 "In order to publish your Claris Home Page site on a web server, you"\
  16.                   " must have a \"site definition file\" in the folder that contains all of the"\
  17.                   " HTML files and image files you wish to include in your site."
  18. #define kLit3 "Note: The entire contents of your web site folder will be copied"\
  19.                   " to your web server. You should create a new folder before saving your site"\
  20.                   " definition file. This folder should contain only the site definition file,"\
  21.                   " and the documents and images that you wish to publish."
  22. #define kLit4 "Click here if you already have a site definition file"
  23. #define kLit5 "Click here if you wish to create a new site definition file"
  24.  
  25. //Localized Fonts
  26. #if Platform_Mac
  27.     #define SmallFont  Font = {Geneva, 12, {Plain}}
  28.     #define BigFont  Font = {Geneva, 24, {Bold}}
  29. #else
  30.     #define SmallFont  Font = {Arial, 10, {Plain}}
  31.     #define BigFont  Font = {Arial, 24, {Bold}}
  32. #endif
  33.  
  34. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  35. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  36. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  37.  
  38.  
  39. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  40. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  41. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  42. //This section contains integer constants that are used to format this VDL program.
  43. //These are localizable - they only need to be changed if the localized strings 
  44. //are sufficiently longer than the US strings. Localize the strings first, then the constants.
  45. //Basic width of the dialog. Layout will follow this width. Dialog height is 
  46. //computed from wrapped heights of the static text, and other components.
  47.  
  48. #define kDialogWidth             500
  49. #define kChoicesWidth             480  // kDialogWidth - Margins
  50.  
  51. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  52. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  53. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  54. //No further localizable data past this point
  55.  
  56. /************************** END LOCALIZABLE DATA ***************************************************/
  57. /************************** END LOCALIZABLE DATA ***************************************************/
  58. /************************** END LOCALIZABLE DATA ***************************************************/
  59.  
  60. //Font used for the controls
  61. #define kControlFont    Font = SystemFont
  62.  
  63. Margin(10,10,10,10, BackColor =  Dialog, Width = kDialogWidth)
  64.     VList(Width = UseParent)
  65.         {
  66.         HList()
  67.             {// site icon
  68.             PICT(15030, DontMap);
  69.             //#if Platform_Mac
  70.             //icl8(133);
  71.             //#else
  72.             //ICON(1904);
  73.             //#endif
  74.             
  75.             Spacer(Width = 10);
  76.             StaticText(kLit1, BigFont);
  77.             }
  78.             
  79.         Spacer(Height = 16, Width = 0, ScaleV);
  80.         StaticText( kLit2, SmallFont, Width = UseParent, Alignment = Left );
  81.         Spacer(Height = 8, Width = 0, ScaleV);
  82.         StaticText( kLit3, SmallFont, Width = UseParent, Alignment = Left );        
  83.         
  84.         //Radio buttons
  85.         Spacer(Height = 16, Width = 0, ScaleV);
  86.         RadioButton(kLit4, createNewSite, 0, Width = kChoicesWidth, Height = 18, kControlFont);
  87.         Spacer(Height = 6, Width = 18, ScaleV);
  88.         RadioButton(kLit5, createNewSite, 1, Width = kChoicesWidth, Height = 18, kControlFont);
  89.         Spacer(Height = 16, Width = 0, ScaleV);
  90.  
  91.         StandardDialogButtonsH;        
  92.         } //VList
  93.  
  94.