Fix for bug 96916: Support easy way to add a few bookmarks via CCK

(r=smeredith)
This commit is contained in:
shrutiv%netscape.com 2002-06-22 01:07:18 +00:00
parent 6b9eb55e1c
commit 7ed625a966
2 changed files with 584 additions and 92 deletions

View File

@ -42,7 +42,6 @@ Start_y=0
Width=425
Height=56
[Widget 1]
Type=BoldGroup
Name=GroupBox11
@ -58,152 +57,286 @@ Name=Text80
Value=This page is displayed when users first start the %DefaultName% browser, or when they click the Home button.
Start_x=11
Start_y=43
Width=392
Height=17
Width=350
Height=10
[Widget 251]
[Widget 3]
Type=Text
Name=Text8023
Value=Home Page URL:
Start_x=11
Start_y=54
Width=392
Start_y=61
Width=70
Height=17
[Widget 3]
[Widget 4]
Type=EditBox
Attrib=Pref
Name=HomePageURL
Value=
Start_x=11
Start_y=64
Width=206
Height=13
Start_x=85
Start_y=58
Width=230
Height=14
[Widget 19]
[Widget 5]
Type=Button
Name=Button118
Value=Show Example
Start_x=339
Start_y=64
Start_y=58
Width=60
Height=14
onCommand=DisplayImage(home.ini)
[Widget 4]
Type=BoldGroup
Name=GroupBox12
Value=Bookmarks and Personal Toolbar Buttons
Start_x=0
Start_y=88
Width=407
Height=55
;[Widget 4]
;Type=BoldGroup
;Name=GroupBox12
;Value=Bookmarks and Personal Toolbar Buttons
;Start_x=0
;Start_y=88
;Width=407
;Height=55
[Widget 50]
Type=Text
Name=Text100
Value=The bookmarks file stores your custom bookmarks and personal toolbar buttons.
Start_x=11
Start_y=100
Width=299
Height=10
;[Widget 50]
;Type=Text
;Name=Text100
;Value=The bookmarks file stores your custom bookmarks and personal toolbar buttons.
;Start_x=11
;Start_y=100
;Width=299
;Height=10
[Widget 10]
Type=Text
Name=Text83
Value=Path to Bookmarks (bookmarks.html) File:
Start_x=11
Start_y=114
Width=150
Height=8
;[Widget 10]
;Type=Text
;Name=Text83
;Value=Path to Bookmarks (bookmarks.html) File:
;Start_x=11
;Start_y=114
;Width=150
;Height=8
;[Widget 11]
;Type=DynamicText
;Name=CustomBookmarkFile
;URLDisplayLength=47
;Value=
;Start_x=11
;Start_y=126
;Width=223
;Height=14
;[Widget 1285]
;Type=Button
;Name=Button1759
;Value=View File
;Start_x=240
;Start_y=123
;Width=40
;Height=14
;onCommand=command(%NCIFileEditor% "%CustomBookmarkFile%");
[Widget 11]
Type=DynamicText
Name=CustomBookmarkFile
URLDisplayLength=47
Value=
Start_x=11
Start_y=126
Width=223
Height=14
;[Widget 12]
;Type=Button
;Name=Button17
;Value=Choose File...
;Start_x=285
;Start_y=123
;Width=50
;Height=14
;onCommand=BrowseFile()
;Target=CustomBookmarkFile
[Widget 1285]
Type=Button
Name=Button1759
Value=View File
Start_x=240
Start_y=123
Width=40
Height=14
onCommand=command(%NCIFileEditor% "%CustomBookmarkFile%");
;[Widget 21]
;Type=Button
;Name=Button120
;Value=Show Example
;Start_x=340
;Start_y=123
;Width=60
;Height=14
;onCommand=DisplayImage(bkmk.ini)
[Widget 12]
Type=Button
Name=Button17
Value=Choose File...
Start_x=285
Start_y=123
Width=50
Height=14
onCommand=BrowseFile()
Target=CustomBookmarkFile
[Widget 21]
Type=Button
Name=Button120
Value=Show Example
Start_x=340
Start_y=123
Width=60
Height=14
onCommand=DisplayImage(bkmk.ini)
[Widget 4209]
[Widget 6]
Type=BoldGroup
Name=GroupBox7007
Value=Browser Window's Title Bar Text
Start_x=0
Start_y=148
Start_y=88
Width=407
Height=45
[Widget 578]
[Widget 7]
Type=GlobalText
Name=Text524
Value=The text you enter (for example, your company name) appears after the page title in the title bar.
Start_x=13
Start_y=159
Start_x=11
Start_y=99
Width=350
Height=10
[Widget 652]
[Widget 8]
Type=EditBox
Name=CompanyName
Value=
Start_x=95
Start_y=172
Start_x=85
Start_y=112
Width=230
Height=15
Height=14
[Widget 6521]
[Widget 9]
Type=Text
Name=Text934
Value=Custom Title Bar Text:
Start_x=13
Start_y=175
Start_x=11
Start_y=115
Width=70
Height=10
[Widget 1814]
[Widget 10]
Type=Button
Name=Button5263
Value=Show Example
Start_x=337
Start_y=172
Start_y=112
Width=60
Height=14
onCommand=DisplayImage(coname.ini)
[Widget 11]
Type=BoldGroup
Name=GroupBox41
Value=Custom Personal Toolbar
Start_x=0
Start_y=143
Width=407
Height=102
[Widget 12]
Type=Text
Name=Text212
Value=Enter the settings below to customize the Personal Toolbar.
Start_x=11
Start_y=156
Width=290
Height=10
[Widget 13]
Type=Text
Name=Text213
Value=Toolbar Title1:
Start_x=11
Start_y=171
Width=50
Height=10
[Widget 14]
Type=EditBox
Name=ToolbarTitle1
Value=
Start_x=61
Start_y=169
Width=115
Height=14
[Widget 15]
Type=Text
Name=Text215
Value=URL1:
Start_x=185
Start_y=171
Width=20
Height=10
[Widget 16]
Type=EditBox
Name=ToolbarURL1
Value=
Start_x=208
Start_y=169
Width=190
Height=14
[Widget 17]
Type=Text
Name=Text217
Value=Toolbar Title2:
Start_x=11
Start_y=191
Width=50
Height=10
[Widget 18]
Type=EditBox
Name=ToolbarTitle2
Value=
Start_x=61
Start_y=189
Width=115
Height=14
[Widget 19]
Type=Text
Name=Text219
Value=URL2:
Start_x=185
Start_y=191
Width=20
Height=10
[Widget 20]
Type=EditBox
Name=ToolbarURL2
Value=
Start_x=208
Start_y=189
Width=190
Height=14
[Widget 21]
Type=Text
Name=Text221
Value=Toolbar Title3:
Start_x=11
Start_y=211
Width=50
Height=10
[Widget 22]
Type=EditBox
Name=ToolbarTitle3
Value=
Start_x=61
Start_y=209
Width=115
Height=14
[Widget 23]
Type=Text
Name=Text223
Value=URL3:
Start_x=185
Start_y=211
Width=20
Height=10
[Widget 24]
Type=EditBox
Name=ToolbarURL3
Value=
Start_x=208
Start_y=209
Width=190
Height=14
[Widget 25]
Type=Button
Name=Button41
Value=Show Example
Start_x=339
Start_y=227
Width=60
Height=14
onCommand=DisplayImage(bkmk.ini)

View File

@ -0,0 +1,359 @@
[Local Variables]
Name=Bookmarks
Title=<%CustomizationList%> - Customize Bookmarks
Caption=2nd level node
Help=Online;%Root%CCKHelp\bookmarks.html
[Navigation Controls]
onNext=
Help=Bookmarks_help.ini
[Image 1]
Type=Image
Name=
Value=
Start_x=0
Start_y=0
Width=425
Height=56
[Widget 2]
Type=BoldGroup
Name=GroupBox16
Value=Custom Bookmarks
Start_x=0
Start_y=32
Width=407
Height=213
[Widget 3]
Type=Text
Name=Text73
Value=Custom Bookmark Location:
Start_x=11
Start_y=46
Width=90
Height=10
[Widget 4]
Type=DropBox
Name=BookmarkLocation
Value=
Start_x=107
Start_y=43
Width=55
height=40
subsection=Options for DropBox1
[Options for DropBox1]
opt1=First
opt2=Last
[Widget 5]
Type=RadioButton
Name=Single
Title=Single Custom Bookmark
Group=radioGroup3
Start_x=11
Start_y=65
Width=120
Height=12
onCommand=DisableFields(Text713,FolderTitle,Text715,BookmarkTitle1,Text717,BookmarkURL1,Text719,BookmarkTitle2,Text721,BookmarkURL2,Text723,BookmarkTitle3,Text725,BookmarkURL3,Text727,BookmarkTitle4,Text729,BookmarkURL4,Text731,BookmarkTitle5,Text733,BookmarkURL5,Button735);EnableFields(Text78,BookmarkTitle,Text710,BookmarkURL,Button712)
[Widget 6]
Type=RadioButton
Name=Multiple
Title=Custom Bookmark Folder
Group=radioGroup3
Start_x=11
Start_y=107
Width=120
Height=12
onCommand=EnableFields(Text713,FolderTitle,Text715,BookmarkTitle1,Text717,BookmarkURL1,Text719,BookmarkTitle2,Text721,BookmarkURL2,Text723,BookmarkTitle3,Text725,BookmarkURL3,Text727,BookmarkTitle4,Text729,BookmarkURL4,Text731,BookmarkTitle5,Text733,BookmarkURL5,Button735);DisableFields(Text78,BookmarkTitle,Text710,BookmarkURL,Button712)
[Widget 7]
Type=RadioGroup
Name=radioGroup3
Value=1
Options=Single,Multiple
[Widget 8]
Type=Text
Name=Text78
Value=Bookmark Title
Start_x=21
Start_y=84
Width=50
Height=10
onInit=DisableWidget(%radioGroup3%,2)
[Widget 9]
Type=EditBox
Name=BookmarkTitle
Value=
Start_x=74
Start_y=82
Width=115
Height=14
onInit=DisableWidget(%radioGroup3%,2)
[Widget 10]
Type=Text
Name=Text710
Value=URL
Start_x=197
Start_y=84
Width=20
Height=10
onInit=DisableWidget(%radioGroup3%,2)
[Widget 11]
Type=EditBox
Name=BookmarkURL
Value=
Start_x=218
Start_y=82
Width=175
Height=14
onInit=DisableWidget(%radioGroup3%,2)
[Widget 12]
Type=Button
Name=Button712
Value=Show Example
Start_x=330
Start_y=65
Width=60
Height=14
onInit=DisableWidget(%radioGroup3%,2)
;onCommand=DisplayImage(bkmk.ini)
[Widget 13]
Type=Text
Name=Text713
Value=Folder Title:
Start_x=21
Start_y=125
Width=52
Height=10
onInit=DisableWidget(%radioGroup3%,1)
[Widget 14]
Type=EditBox
Name=FolderTitle
Value=
Start_x=75
Start_y=123
Width=115
Height=14
onInit=DisableWidget(%radioGroup3%,1)
[Widget 15]
Type=Text
Name=Text715
Value=Bookmark Title1
Start_x=21
Start_y=144
Width=52
Height=10
onInit=DisableWidget(%radioGroup3%,1)
[Widget 16]
Type=EditBox
Name=BookmarkTitle1
Value=
Start_x=75
Start_y=142
Width=115
Height=14
onInit=DisableWidget(%radioGroup3%,1)
[Widget 17]
Type=Text
Name=Text717
Value=URL1
Start_x=195
Start_y=144
Width=20
Height=10
onInit=DisableWidget(%radioGroup3%,1)
[Widget 18]
Type=EditBox
Name=BookmarkURL1
Value=
Start_x=218
Start_y=142
Width=175
Height=14
onInit=DisableWidget(%radioGroup3%,1)
[Widget 19]
Type=Text
Name=Text719
Value=Bookmark Title2
Start_x=21
Start_y=163
Width=52
Height=10
onInit=DisableWidget(%radioGroup3%,1)
[Widget 20]
Type=EditBox
Name=BookmarkTitle2
Value=
Start_x=75
Start_y=161
Width=115
Height=14
onInit=DisableWidget(%radioGroup3%,1)
[Widget 21]
Type=Text
Name=Text721
Value=URL2
Start_x=195
Start_y=163
Width=20
Height=10
onInit=DisableWidget(%radioGroup3%,1)
[Widget 22]
Type=EditBox
Name=BookmarkURL2
Value=
Start_x=218
Start_y=161
Width=175
Height=14
onInit=DisableWidget(%radioGroup3%,1)
[Widget 23]
Type=Text
Name=Text723
Value=Bookmark Title3
Start_x=21
Start_y=182
Width=52
Height=10
onInit=DisableWidget(%radioGroup3%,1)
[Widget 24]
Type=EditBox
Name=BookmarkTitle3
Value=
Start_x=75
Start_y=180
Width=115
Height=14
onInit=DisableWidget(%radioGroup3%,1)
[Widget 25]
Type=Text
Name=Text725
Value=URL3
Start_x=195
Start_y=182
Width=20
Height=10
onInit=DisableWidget(%radioGroup3%,1)
[Widget 26]
Type=EditBox
Name=BookmarkURL3
Value=
Start_x=218
Start_y=180
Width=175
Height=14
onInit=DisableWidget(%radioGroup3%,1)
[Widget 27]
Type=Text
Name=Text727
Value=Bookmark Title4
Start_x=21
Start_y=201
Width=52
Height=10
onInit=DisableWidget(%radioGroup3%,1)
[Widget 28]
Type=EditBox
Name=BookmarkTitle4
Value=
Start_x=75
Start_y=199
Width=115
Height=14
onInit=DisableWidget(%radioGroup3%,1)
[Widget 29]
Type=Text
Name=Text729
Value=URL4
Start_x=195
Start_y=201
Width=20
Height=10
onInit=DisableWidget(%radioGroup3%,1)
[Widget 30]
Type=EditBox
Name=BookmarkURL4
Value=
Start_x=218
Start_y=199
Width=175
Height=14
onInit=DisableWidget(%radioGroup3%,1)
[Widget 31]
Type=Text
Name=Text731
Value=Bookmark Title5
Start_x=21
Start_y=220
Width=52
Height=10
onInit=DisableWidget(%radioGroup3%,1)
[Widget 32]
Type=EditBox
Name=BookmarkTitle5
Value=
Start_x=75
Start_y=218
Width=115
Height=14
onInit=DisableWidget(%radioGroup3%,1)
[Widget 33]
Type=Text
Name=Text733
Value=URL5
Start_x=195
Start_y=220
Width=20
Height=10
onInit=DisableWidget(%radioGroup3%,1)
[Widget 34]
Type=EditBox
Name=BookmarkURL5
Value=
Start_x=218
Start_y=218
Width=175
Height=14
onInit=DisableWidget(%radioGroup3%,1)
[Widget 35]
Type=Button
Name=Button735
Value=Show Example
Start_x=330
Start_y=108
Width=60
Height=14
onInit=DisableWidget(%radioGroup3%,1)
;onCommand=DisplayImage(bkmk.ini)