adding the stuff so dynamic pdf generation works
[mir.git] / etc / config.properties-dist
index d023d44..9115ba6 100755 (executable)
@@ -62,11 +62,23 @@ 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/)
 Mir.Localizer.OpenPosting.GeneratorLibrary= default=freemarker(etc/open/)
 
+# How should the custom operations (hide etc) in article and comment lists
+# be presented?
+# 0 = links, 1 = checkboxes, 2 = a listbox
+Mir.Localizer.Admin.ListOperationsFlavor=1
+
 # Which producers need to be called after an article (resp. a comment) is posted
 Mir.Localizer.OpenPosting.ContentProducers= media.new;articles.changed;startpage.generate;synchronization.run
 Mir.Localizer.OpenPosting.CommentProducers= articles.changed;synchronization.run
@@ -76,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
 
@@ -92,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
@@ -175,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 
 
 
 #
@@ -233,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
@@ -294,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
@@ -330,6 +358,18 @@ ServletModule.Language.ObjektTemplate=templates/admin/language.template
 ServletModule.Language.ListTemplate=templates/admin/languagelist.template
 
 #
+# config for article type
+ServletModule.ArticleType.ConfirmTemplate=templates/admin/confirm.template
+ServletModule.ArticleType.EditTemplate=templates/admin/articletype.template
+ServletModule.ArticleType.ListTemplate=templates/admin/articletypelist.template
+
+#
+# config for comment status
+ServletModule.CommentStatus.ConfirmTemplate=templates/admin/confirm.template
+ServletModule.CommentStatus.EditTemplate=templates/admin/commentstatus.template
+ServletModule.CommentStatus.ListTemplate=templates/admin/commentstatuslist.template
+
+#
 # producer-related configs below
 #