adding the stuff so dynamic pdf generation works
[mir.git] / etc / config.properties-dist
index bc79d06..9115ba6 100755 (executable)
@@ -62,6 +62,13 @@ Mir.Localizer.Logfile=log/localizer.log
 # The location of the producer specifiations
 Mir.Localizer.ProducerConfigFile=etc/producer/producers.xml
 
+# Settings for the admin login:
+# If the default language is left empty, it will set the accept-language of
+# the client browser as the default.
+Mir.Login.DefaultLanguage=en
+Mir.Login.Languages=en;nl;de;qu;tr;ay;es;eu
+
+
 # the templates
 Mir.Localizer.Producer.GeneratorLibrary= default=freemarker(etc/producer/)
 Mir.Localizer.Admin.GeneratorLibrary= default=freemarker(templates/admin/)
@@ -81,6 +88,8 @@ Mir.Localizer.Producer.AllNewProducers= media.new;articles.changed;startpage.run
 
 
 #note that you can't make pdf's without making fo's
+#this is actually now set in producers.xml
+#but these summarize what is said in there for the benefit of OpenMir 
 GenerateFO=yes
 GeneratePDF=yes
 
@@ -97,6 +106,10 @@ MaxMediaUploadSize=20000
 # the maximum number of allowed media items to upload at once.
 ServletModule.OpenIndy.MaxMediaUploadItems=20
 
+# the default number of media items to upload at once
+ServletModule.OpenIndy.DefaultMediaUploadItems=1
+
+
 #
 #
 # STATIC SITE CONFIG
@@ -180,6 +193,8 @@ Producer.Icon.BigAudio=audio_big.gif
 Producer.Icon.BigVideo=video_big.gif
 Producer.Icon.BigText=text_big.gif
 
+#the style sheet used to turn html into xsl:fo
+Producer.HTML2FOStyleSheet=/some/dir/mir/etc/producer/html2fo.xsl 
 
 
 #
@@ -238,6 +253,11 @@ Entity.Logfile=log/dbentity.log
 # as the dynamic output html.
 # also used for the HTML charset meta tag.
 Mir.DefaultEncoding=ISO8859_1
+# this encoding is used for the HTML charset meta tag.
+# it must be the html charset equivalent of the Java encoding above
+# don't change this unless...
+Mir.DefaultHTMLCharset=ISO-8859-1
+
 Mir.Logfile=log/mir.log
 Mir.ErrorTemplate=templates/error.template
 Mir.UserErrorTemplate=templates/usererror.template
@@ -299,6 +319,9 @@ ServletModule.OpenIndy.PostingTemplate=etc/open/posting.template
 ServletModule.OpenIndy.PostingDoneTemplate=etc/open/posting_done.template
 ServletModule.OpenIndy.PostingDupeTemplate=etc/open/posting_dupe.template
 ServletModule.OpenIndy.SearchResultsTemplate=etc/open/search_results.template
+ServletModule.OpenIndy.PrepareMailTemplate=etc/open/prepare_mail.template
+ServletModule.OpenIndy.SentMailTemplate=etc/open/sent_mail.template
+ServletModule.OpenIndy.EmailIsFrom=mailer@somewhere.org
 
 #
 # config for ServletModuleComment - browsing/editing/deleting comments