customizable administer links
[mir.git] / source / default.properties
index 39aa89f..57833f9 100755 (executable)
@@ -44,7 +44,6 @@ Mir.Public-email.address=mir-coders@lists.indymedia.org
 Mir.Public-email.name=mir-coders mailinglist
 
 Mir.Version=1.1beta
-StandardLanguage=de
 DirectOpenposting=yes
 
 # The name of the abuse config file (relative to the WEB-INF dir)
@@ -76,7 +75,12 @@ Mir.Localizer.ProducerConfigFile=etc/producer/producers.xml
 # 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 available languages in the login form:
+Mir.Login.Languages=en;de;fr;nl;es;pt;eu;sv;tr;zh
+
+# For missing values, the FallbackLanguage is used as default
+Mir.Admin.FallbackLanguage=en
 
 
 # the templates
@@ -99,6 +103,15 @@ Mir.Localizer.Admin.TopicListColumns=3
 # In which order should the topic appear?
 Mir.Localizer.Admin.TopicListOrder=title
 
+# enable deletion of comments/articles?
+Mir.Localizer.Admin.AllowDeleteComment=1
+Mir.Localizer.Admin.AllowDeleteArticle=1
+
+# enable deletion of comments/articles?
+Mir.Localizer.Admin.AdministerOperations= \
+   comments:module=Comment&do=list
+
+
 # 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
@@ -109,7 +122,7 @@ 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 
+#but these summarize what is said in there for the benefit of OpenMir
 GenerateFO=yes
 GeneratePDF=yes
 
@@ -139,12 +152,13 @@ Producer.ProductionHost=http://indy.code-fu.de
 # the generated HTML pages will be stored
 Producer.StorageRoot=/pub/Dokumente/Indymedia/de-tech/Mir/produced
 
-# for FileEdit module
-#
-# where do we find the files? absolute path
-ServletModule.FileEdit.FileDirectory=/pub/Dokumente/Indymedia/de-tech/Mir/produced
-ServletModule.FileEdit.ExtFilter=.*\.inc$
-ServletModule.FileEdit.Recursive=0
+# FileEdit module
+#   a list of directories to edit
+#   format: 
+#      <name>:<path>:<file filter>:<0|1 (recursion off or on)> [, ....]
+
+ServletModule.FileEdit.Configuration= \
+  includes:/pub/Dokumente/Indymedia/de-tech/Mir/produced:.*\\.inc:1
 
 #
 #
@@ -192,6 +206,14 @@ Producer.Image.MaxSize = 640
 # icons will be generated so that the size (both width and height) are below:
 Producer.Image.MaxIconSize = 120
 
+# descaling will only occur if at least the following percentage of either
+#  the width or the height needs to be removed:
+Producer.Image.MinDescalePercentage=10
+
+# descaling will only occur if at least the following number of pixels needs
+#  to be removed from either the width or the height:
+Producer.Image.MinDescaleReduction=10
+
 
 # media specific storage directories
 # absolute directory, where the media files are saved
@@ -219,8 +241,84 @@ 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 
+Producer.HTML2FOStyleSheet=/some/dir/mir/etc/producer/html2fo.xsl
+
+# the following lines are used to construct PDFs on the fly from one or more articles
+# for the moment, if you want to change anything else about your pdfs, you 
+# will have to learn some java!
+#
+# keep in mind that there may not be enough room for all the text you enter as the 
+# value of one these options, if text doesn't appear, the only easy thing to do is 
+# use less text!
+#
+# also, be sure to adjust the corresponding line height if you change a font size...
+# this may require some trial and error to get right
+#
+# Available font families are helvetica, courier, and times
+#
+
+
+# a single line of big text which will appear at the top of the first page of all generated pdfs
+
+PDF.Title.String=INDYMEDIA SOMEWHERE
+PDF.Title.FontSize=24
+PDF.Title.LineHeight=28
+PDF.Title.FontFamily=courier
+
+# footer is about two lines of small text which will appear at the bottom of every page 
+
+PDF.Footer.String=Indymedia does blah.  Content is good, and free to use for non-commercial purposes under the Open Content license. if you have questions, email someone.
+PDF.Footer.Height=54
+PDF.Footer.FontSize=12
+PDF.Footer.FontFamily=helvetica 
+
+# how to format the index, i.e. the newsletter table of contents
+
+PDF.Index.FontSize=12
+PDF.Index.LineHeight=16
+PDF.Index.FontFamily=helvetica
+
+# how to format the meta-data, i.e. title, author, date
+
+PDF.Meta.Height=36
+PDF.Meta.FontSize=14
+PDF.Meta.FontFamily=helvetica 
 
+# how to format the article description
+
+PDF.Description.FontSize=12
+PDF.Description.LineHeight=16
+PDF.Description.FontFamily=helvetica
+
+# how to format the article content
+
+PDF.Content.FontSize=10
+PDF.Content.LineHeight=16
+PDF.Content.FontFamily=helvetica
+
+# the formatting for images in gallery mode
+
+PDF.BigImageCaption.FontSize=16
+PDF.BigImageCaption.FontFamily=helvetica
+
+# the formatting for the article source
+
+PDF.Source.FontSize=12
+PDF.Source.LineHeight=16
+PDF.Source.FontFamily=courier
+
+
+
+
+#
+# the size paper your target audience will likely have in their printers.  pick one of A4 or LETTER
+#
+
+PDF.PageSize=A4
+
+# the number of Objects which can fit in your MRUCache
+
+Global.Cache.Items=15
 
 #
 # edit with caution below this line
@@ -266,12 +364,30 @@ Adaptor.PostgreSQL.Driver=org.postgresql.Driver
 # also used for the HTML charset meta tag.
 Mir.DefaultEncoding=UTF8
 
+# 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=UTF-8
+
+
+
+
+Localizer.OpenSession.article.EditTemplate = editarticle.template
+Localizer.OpenSession.article.DupeTemplate = dupearticle.template
+Localizer.OpenSession.article.DoneTemplate = donearticle.template
+Localizer.OpenSession.article.UnsupportedMediaTemplate = unsupportedmediatype.template
+Localizer.OpenSession.comment.EditTemplate = editcomment.template
+Localizer.OpenSession.comment.DupeTemplate = dupecomment.template
+Localizer.OpenSession.comment.DoneTemplate = donecomment.template
+Localizer.OpenSession.comment.UnsupportedMediaTemplate = unsupportedmediatype.template
+Localizer.OpenSession.ErrorTemplate = sessionerror.template
+
+
 
 
 #
 # config used for OpenIndy
 
-OpenMir.TemplateDir=etc/open/
 ServletModule.OpenIndy.CommentTemplate=comment.template
 ServletModule.OpenIndy.CommentDoneTemplate=comment_done.template
 ServletModule.OpenIndy.CommentDupeTemplate=comment_dupe.template
@@ -292,6 +408,7 @@ ServletModule.OpenIndy.UserErrorTemplate=usererror.template
 Mir.TemplateDir=templates/admin/
 
 Mir.LoginTemplate=login.template
+Mir.StartTemplate=start_admin.template
 
 Mir.ErrorTemplate=error.template
 Mir.UserErrorTemplate=usererror.template