add a format() method to articles for use in templates
[bse.git] / test.cfg-dist
CommitLineData
d2730773
TC
1# where to install the site
2base_url = http://bsetest.develop-help.com
6a8a205a 3securl = http://bsetestshop.develop-help.com
d2730773 4# where to install the site
5af99440 5base_dir = /home/httpd/bsetest
d2730773
TC
6# the database user/password/dsn
7dbuser = bsetest
8dbpass = bsetest
9dsn = dbi:mysql:bsetest
10dbclass = BSE::DB::Mysql
11sessionclass = Apache::Session::MySQL
12# the location of mysql
aefcabcb 13mysql = mysql
9615cff6 14basic.access_control=0
74b21f6d 15basic.staticajax=1
27aceccf 16basic.sign=0
3c8b9c2c 17basic.cookie_name=sess
55997054
TC
18basic.jit_dynamic_pregen=1
19debug.jit_dynamic_regen=1
87958c2f 20cookie names.userid=altuserid
4010d92e 21#basic.htusers = /home/httpd/bsetest/htdocs/images/.htusers
d09682dd 22#article uris.9 = /test
ebe779a5 23paths.htpasswd=/home/httpd/bsetest/data/htusers
d09682dd
TC
24datadump.to=tony@develop-help.com
25datadump.from=tony@develop-help.com
dbe0477f 26confirmations.from=tony@develop-help.com
d09682dd
TC
27subscriptions.from=tony@develop-help.com
28#subscriptions.testemail=tony@develop-help.com
29#subscriptions.testname=Tony Cook
30#subscriptions.testtextonly=1
31subscriptions.testing=1
27aceccf 32shop.noencrypt=0
d09682dd 33shop.from=sales@develop-help.com
27aceccf 34shop.to_name=
d09682dd
TC
35shop.to_email=tony@develop-help.com
36shop.email_order=1
27aceccf
TC
37shop.crypt_signing_id=
38shop.show_card_type=1
7aa0262a 39shop.crypt_content_type=1
cae48ae5 40shop.order_from_catalog=1
8786e0ca 41shop.sidebar_cart=0
2a295ea9
TC
42#site users.nopassword=1
43site users.info_on_register=1
cf9f9cbc
TC
44site users.notify_register=1
45site users.notify_register_email=tony@imager.perl.org
ac7ba5a8 46basic.ajax=1
8786e0ca
TC
47site users.require_name1=1
48site users.require_name2=1
2a295ea9
TC
49#site users.require_title=1
50#site users.require_organization=1
51#site users.require_address=1
52#site users.require_suburb=1
53#site users.require_city=1
54#site users.require_state=1
55#site users.require_postcode=1
56#site users.require_country=1
57#site users.require_telephone=1
58#site users.require_facsimile=1
59#site users.subscribe_all=1
1c3e5303 60#site users.subscribe_1=1
8786e0ca
TC
61site user validation.email_rules=nobademail
62validation rule nobademail.nomatch=blank@blank.com.au
63validation rule nobademail.error=Please enter a non-default email address
00dd8d82
TC
64debug.cookies=0
65debug.logon_cookies=0
954e856d 66debug.mail_encryption=0
9063386f 67site users.billing_on_main_opts=0
505456b1 68#site users.user_register=0
220c179a 69#paths.libraries=/home/tony/dev/bse/tandb_dealer/cvs/modules
74b21f6d
TC
70#paths.libraries=/home/tony/dev/bse/lib
71#paths.libraries=/home/tony/dev/bse/work2/modules
8b44b8ed 72paths.libraries=/home/tony/dev/bse/tryandbyte2/modules
74b21f6d
TC
73#basic.custom_class=BSE::Custom::Abberfield
74#basic.custom_class=BSE::CustomTest
8b44b8ed 75basic.custom_class=BSE::Custom
220c179a
TC
76#paths.siteuser_passwd=/home/httpd/bsetest/data/supasswd
77#custom.user_auth=1
f0543260 78# product fields.retailPrice=Dealer Price Inc GST
00dd8d82 79#paths.local_templates=/home/tony/dev/bse/tandb_dealer/cvs/templates
74b21f6d 80#paths.local_templates=/home/tony/dev/bse/work2/templates
24acb207 81#paths.local_templates=/home/tony/dev/bse/tryandbyte/templates
41e7c841 82#shop.payment_types=1,2,10,11,12
81f3292d
TC
83payment type names.10=DirectDeposit
84payment type names.11=FaxProForma
85payment type names.12=EmailProForma
86payment type required.11=facsimile
87
74b21f6d 88#paths.local_templates=/home/tony/dev/bse/work/templates/
ea646070 89
dfdeb4fe 90affiliate.prompt_name=1
3c32512d 91site users.require_affiliate_name=0
954e856d
TC
92affiliate.set_cookie=quux
93affiliate.other_cookies=alpha,beta
ea646070
TC
94affiliate.linkbaseurl=devbox.org
95affiliate.linkyourdesc=Your Home Page
96affiliate.linkdefurl=something.devbox.org
97affiliate.linkdefdesc=Our Home Page
dfdeb4fe 98
81f3292d
TC
99dealer.bsb=999999
100dealer.accountno=77777777
d49f56a6
TC
101shop.display_facsimile=Fax Number
102site user flags.a=Access to private pages
103tandb custom.siteuser_include_flag=a
f2bf0d11 104site user flags.d=Demo user
8786e0ca 105custom.saveopts=0
220c179a
TC
106
107#test.1=hello
108#test.2=alpha
109#test.10=beta
110#test.100=gamma
111#test.1000=delta
112
99b7cef0 113#perl=/opt/perl-5.8.1/bin/perl
f0543260 114downloads.must_be_filled=1
99b7cef0
TC
115subscriptions.text_link_inline="$1" [$3]
116subscriptions.text_link_list_prefix=X$nX$nXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
00dd8d82
TC
117subscriptions.text_link_list=[$3] '$1'$n => $2
118
119#paths.local_templates=/home/tony/dev/bse/base/altadmin/
41f10371 120
0ec4ac8a 121site.secureadmin=0
4175638b
TC
122
123debug.dump_session=0
3c32512d
TC
124
125bse siteuser images.logo=1
126bse siteuser image logo.description=Your Logo
ab2cd916
TC
127affiliate.subscription_required=affiliatepage
128
b95fc3a0
TC
129editor.allow_thumb=1
130editor.thumbs_class=BSE::Thumb::Imager
6a8a6ac5 131
a5e3fc4b
TC
132default formmail validation.subject_width=40
133
7aa0262a 134test form.fields=email,name,company,select,radio,check,multiselect,testfile
a5e3fc4b 135test form.subject=Foo
7aa0262a 136test form.encrypt=0
6866b8dd 137test form.secure=1
cc53c774
TC
138test form.crypt_signing_id=
139test form.crypt_content_type=1
d44b5da9
TC
140test form.crypt_passphrase=
141test form.email=tony@develop-help.com
cc53c774 142test form.field_config=notes,required_if
0f9b108b 143test form.submit=Send the message
57d988af 144test form.autofill=0
a319d280 145test form.require_logon=0
3b3b82d3 146test form.logon_message=Yo Dude! Logon to submit this form!
8f84f3f1 147test form.title=Some test title
7aa0262a 148;test form.sql=insert test_form_data values(null,?,?,?,?,?,?,?,?)
9c5943b6
TC
149test form.sql_params={userId},email,name,company,select,radio,check,multiselect
150test form.sql_dsn=dbi:mysql:bsetest
151test form.sql_user=bsetest
152test form.sql_password=bsetest
7aa0262a 153test form.send_email=1
a319d280 154#test form.field_config=default
a5e3fc4b 155test formmail validation.name_description=Your Name
cc53c774 156test formmail validation.name_required_if=company
a5e3fc4b 157test formmail validation.name_width=60
0f9b108b
TC
158test formmail validation.name_maxlength=80
159test formmail validation.name_notes=Put your name here
a5e3fc4b 160test formmail validation.company_description=Organization
cc53c774
TC
161test formmail validation.company_required_if=name
162;test formmail validation.select_values==default;1=Hello;2=Goodbye;3=Arivaderchi
163test formmail validation.select_values=test select values:prefix_
d44b5da9 164test formmail validation.select_htmltype=select
cc53c774 165test formmail validation.select_required=1
a319d280 166test formmail validation.select_default=php
d44b5da9
TC
167test formmail validation.radio_htmltype=radio
168test formmail validation.radio_values=Test Radio Values
a319d280 169test formmail validation.radio_default=second
d44b5da9
TC
170test formmail validation.check_htmltype=check
171test formmail validation.check_values=Test Check Values
a319d280 172test formmail validation.check_default=php;cobol
d44b5da9
TC
173test formmail validation.multiselect_htmltype=multiselect
174test formmail validation.multiselect_values=test check values
a319d280 175test formmail validation.multiselect_default=perl;php
7aa0262a 176test formmail validation.testfile_htmltype=file
cae48ae5
TC
177test formmail validation.testfile_maxfilesize=1000
178test formmail validation.testfile_filetoobigmsg=%s Too big dude
d44b5da9
TC
179
180test radio values.first=One
181test radio values.second=Two
182test radio values.third=Three
183
184test check values.perl=Perl
185test check values.php=PHP
186test check values.cobol=COBOL
a5e3fc4b 187
cc53c774
TC
188test select values.prefix_=Select a language
189test select values.prefix_perl=Perl
190test select values.prefix_php=PHP
191test select values.prefix_cobol=COBOL
192
85802bd5 193site.secureadmin=1
5d88571c
TC
194#article defaults.title=<set the article title>
195#article defaults.body=<set the body>
196#product defaults.title=<set the product title>
197#catalog defaults.title=<set the catalog title>
41e7c841 198
99607df0 199shop.cardprocessor=DevHelp::Payments::Test
5d88571c 200#shop.cardprocessor=DevHelp::Payments::Inpho
d44b5da9
TC
201#inpho.user=theowww
202#inpho.password=s1tz^^mD1
203#inpho.test=1
204#inpho.test_url=http://www.develop-help.com/cgi-bin/inphotest.pl
205#inpho.test_user=test
206#inpho.test_password=test
99607df0 207#shop.cardprocessor=DevHelp::Payments::SecurePayXML
d19b7b5c
TC
208securepay xml.testmerchantid=ABC0001
209securepay xml.testpassword=abc123
210securepay xml.test=1
211securepay xml.debug=1
212securepay xml.prefix=BSE
16ac5598
TC
213
214bse location validation.postcode_description=Funky Postcode
718a070d
TC
215
216seminar.locations=1
988d8721
TC
217
218#report total_sales.bse_rights=blah|edit_foo,blah
c2096d67
TC
219
220query groups.1=name starts with t
b27af108 221query group name starts with t.sql=select id from bse_siteusers where id = ? and name1 like "t%"
a319d280
TC
222
223shop.free_products=1
8f84f3f1
TC
224
225body class.link=
226
def1a923
TC
227#body class.p=bsep
228
229popimage.extrawidth = 20
230popimage.extraheight = 20
54c97cf6
TC
231popimage.popmiddle = 0
232
233debug.cache_stats = 1
e806c5d8
TC
234
235siteuser updates.custom1=Import custom1 by userId
236siteuser updates.custom12=Import custom1/2 by id
237siteuser updates.email=Import new email addresses
238
239siteuser update custom1.fields=userId;customStr1
240
241siteuser update custom12.fields=id;customStr1;customStr2
242siteuser update custom12.customStr1_description=MicroSim Status
243siteuser update custom12.customStr2_required=1
244siteuser update custom12.customStr2_description=Correlation code
245
246siteuser update email.fields=id;email
61693c75
TC
247
248search highlight.body_prefix=<i>
249search highlight.body_suffix=</i>
250search highlight.title_prefix=<i>
251search highlight.title_suffix=</i>
4d764c34 252;valid child types.Article=Article,Seminar
2076966c
TC
253
254shop product options.book_flight=Flight Booking;Book a flight;Don't book a flight
441990c0 255;seminars.popup_date_format=%H:%M %d/%m/%Y
4d764c34
TC
256seminars.free_bookings=1
257
258admin group template sets.test=Test Templates
f2bf0d11
TC
259
260html.msentify=1
74b21f6d
TC
261#html.ajaxcharset=1
262html.mbcs=1
5af99440 263html.redirect_links=1
f2bf0d11 264debug.convert_charset=1
74b21f6d 265html.charset=windows-1252
99607df0
TC
266
267popink.payment_email=tony@develop-help.com
268popink.errorsto=tony@develop-help.com
269popink.pop3host=localhost
270popink.pop3user=pop3test
271popink.pop3password=forts51t
272
273includes.99cfg=cfg/
274
275permission full_access.permissions=*
74b21f6d
TC
276
277search index scores.product_code=5
9615cff6
TC
278
279reports.articles=Article titles
280report articles.sql1=select id, title from article
281report articles.sort1=+id;by id;order by 1
282report articles.sort2=-id;by id desc;order by 1 desc
283report articles.sort3=+title;by title asc;order by 2
284report articles.sort4=-title;by title desc;order by 2 desc
285reports.articles2=Article titles2
286report articles2.sql1=select id as "Id", title as "Title", lastModified from article where id >= ? and id <= ?
287report articles2.sql1params=1,2
288
289report articles2.param1=article,Minimum Id
290report articles2.param2=article,Maximum Id
291report articles2.sort1=+id;by id;order by 1
292report articles2.sort2=-id;by id desc;order by 1 desc
293report articles2.sort3=+title;by title asc;order by 2
294report articles2.sort4=-title;by title desc;order by 2 desc
295report articles2.sort5=;by something;order by 1 asc
195977cd 296
173b7bc5
TC
297thumb geometries.tall=scale(120x200)
298thumb geometries.tallc=scale(120x200c)
299thumb geometries.tallf=scale(120x200,fill:FF8080)
1ccd952e
TC
300;thumb geometries.wide=scale(120x120),roundcorners(radius:20,bg:FF0000,bgalpha:0),mirror(height:50,horizon:20,bgalpha:0,opacity:40%)
301thumb geometries.wide=scale(120x120,fill:FFFFFF),roundcorners(radius:5,bg:333333,bgalpha:0),mirror(height:50,bg:FFFFFF,bgalpha:0,opacity:50%,horizon:20)
173b7bc5
TC
302thumb geometries.widec=scale(200x120c)
303thumb geometries.widef=scale(200x120,fill:8080ff)
304thumb geometries.gallery=scale(200x200,fill:#CCC)
305thumb geometries.search=scale(80x80,fill:#FFF)
2481fbf0
TC
306thumb geometries.rounded=roundcorners(radius:30,bg:FFFFFF)
307thumb geometries.perspective=scale(400x400),roundcorners(radius:30,bg:FFFFFF),mirror(height:60%,bg:FF0000,bgalpha:255,perspective:0.0004,perspectiveangle:7)
8d6ed42f
TC
308thumb geometries.perspectivec=scale(400x400),roundcorners(radius:30,bg:FFFFFF),mirror(height:60%,bg:FF0000,bgalpha:255,perspective:0.0004,perspectiveangle:7),conv(1,1,1)
309thumb geometries.perspectives=scale(400x400),roundcorners(radius:30,bg:FFFFFF),mirror(height:60%,bg:FF0000,bgalpha:255,perspective:0.0004,perspectiveangle:7),conv(-0.1,1,-0.1)
2481fbf0
TC
310thumb geometries.perspective2=scale(400x400),roundcorners(radius:30,bg:FFFFFF),mirror(height:60%,bg:FF0000,bgalpha:255,perspective:-0.0005)
311thumb geometries.mirrorx=scale(400x400),roundcorners(radius:30,bg:FFFFFF),mirror(height:60%,bg:FFFFFF,bgalpha:255)
8d6ed42f
TC
312thumb geometries.thumb=scale(150x150c)
313thumb geometries.thumbr=scale(150x150),roundcorners(radius:10,bg:FFFFFF)
3f8e6dd7 314thumb geometries.border=border(bg:E0E0E0,bgalpha:255,width:5),rotate(angle:10,bgalpha:0)
b6508900 315thumb geometries.test=border(width:20,bg:808080,bgalpha:255),rotate(angle:-4),format(gif,make_colors:mono,translate:errdiff,errdiff:stucki)
8885bf34 316;,scale(105x),conv(-0.1,1,-0.2),mirror(height:15,bg:f0f4ce,bgalpha:0,opacity:40%,horizon:5)
8c6f44b1
TC
317thumb geometries.test2=border(width:20,bg:ffffff,bgalpha:255),rotate(angle:-4),scale(105x)
318;,mirror(height:40,bg:f0f4ce,bgalpha:0,opacity:40%,horizon:5)
319;rotate(angle:-4),,mirror(height:15,bg:f0f4ce,bgalpha:0,opacity:40%,horizon:5)
c5be860a
TC
320
321thumb geometries.perspx=scale(400x400),roundcorners(radius:30,bg:FFFFFF),mirror(height:60%,bg:FF0000,bgalpha:255),perspective(0.0004,perspectiveangle:7,bg:FF0000,bgalpha:255),conv(-0.1,1,-0.1)
8885bf34
TC
322thumb geometries.canvas=canvas(500x500,bgfile:/home/tony/dev/imager/svn/Imager/testout/t101.jpg,bgtile:1)
323thumb geometries.canvas2=canvas(500x500,bggrad:/usr/share/gimp/2.0/gradients/Blue_Green.ggr)
324thumb geometries.canvas3=canvas(500x500,bggrad:/usr/share/gimp/2.0/gradients/Blue_Green.ggr,gradx1:50%,grady1:50%,gradtype:radial)
325thumb geometries.canvas3=canvas(500x500,bggrad:/usr/share/gimp/2.0/gradients/Blue_Green.ggr,gradx1:50%,grady1:50%,gradx2:70%,grady2:50%,gradtype:radial,gradrepeat:tri_both)
c5492f34
TC
326thumb geometries.canvas4=canvas(550x,ypos:100%,bgfile:/home/tony/dev/imager/svn/Imager/testout/t102.png,bgtile:1,bgxpos:0,bgypos:100%,bgrepeat:x)
327;,bggrad:/usr/share/gimp/2.0/gradients/Burning_Transparency.ggr,gradx1:50%,grady1:50%,gradx2:100%,grady2:50%,gradtype:linear,
b6508900
TC
328thumb geometries.canvas5=canvas(194x194,xpos:0,ypos:0,bg:a0d803,bgalpha:255,bgfile:/home/tony/dev/bse/billboard_bkg.gif,bgypos:100%,bgrepeat:x,bgtile:1)
329thumb geometries.canvas6=mirror(height:150,bg:a0d803,bgalpha:0,opacity:40%,horizon:0),perspective(0.000235,perspectiveangle:5,bg:a0d803,bgalpha:0),scale(194x),conv(-0.1,1,-0.2),canvas(194x10,xpos:0,ypos:100%,bg:a0d803,bgalpha:255,bgfile:/home/tony/dev/bse/billboard_bkg.gif,bgypos:100%,bgrepeat:x,bgtile:1)
d78d737e
TC
330thumb geometries.overlay=overlay(created_with_imager.png,alphascale:0.2,xpos:0,ypos:0)
331thumb geometries.overlay2=overlay(created_with_imager.png,alphascale:0.1,scale:1)
8edf39c1
TC
332thumb geometries.overlay3=overlay(created_with_imager.png,xpos:100%,ypos:100%)
333thumb geometries.overlay4=overlay(t101.jpg,scale:50%,alphascale:0.1)
a9f42672
TC
334
335thumb geometries.p1=perspective(0.00080,bg:a0d803,bgalpha:0),scale(194x)
336thumb geometries.p2=scale(194x),perspective(0.00080,bg:a0d803,bgalpha:0)
55a93f26
TC
337thumb geometries.s1=scale(200x),dropshadow()
338thumb geometries.s2=scale(200x),roundcorners(radius:20,bg:FFFFFF,bgalpha:0),dropshadow(bgalpha:0,bg:red)
339thumb geometries.s3=scale(200x),roundcorners(radius:20,bg:FFFFFF,bgalpha:0),mirror(bgalpha:0),dropshadow()
340
1a8dde91
TC
341thumb geometries.d1=scale(200x),rotate(angle:-4),dropshadow(xoffset:3%,yoffset:3%)
342thumb geometries.d2=scale(200x),rotate(angle:-8),dropshadow(xoffset:-3%,yoffset:3%)
343thumb geometries.d3=scale(200x),rotate(angle:-12),dropshadow(xoffset:3%,yoffset:-3%)
344thumb geometries.d4=scale(200x),rotate(angle:-16),dropshadow(xoffset:-3%,yoffset:-3%)
a9f42672 345
d78d737e 346thumb classes.search=searchresultimage1
44643f67 347basic.cache_thumbnails=1
195977cd 348
8d6ed42f
TC
349test2 form.fields=dummy,email1,email2
350test2 form.subject=Test Confirm
351test2 formmail validation.dummy_required=1
352test2 formmail validation.email2_rules=email1confirm
353validation rule email1confirm.newconfirm=email1
354validation rule email1confirm.error=Custom message
355
b6508900 356imager thumb driver.blib=/home/tony/dev/imager/svn/Imager
d78d737e 357imager thumb driver.include=/home/tony/dev/imager/svn/Imager/testout:/home/tony/dev/bse
6fd213e1
TC
358
359imager thumb driver.debug=1
c76e86ea
TC
360
361basic.alias_prefix=/test