X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=source%2Fdefault.properties;h=6d40facc201db4cf29d8f4eb03f6dbaba15d1ab7;hb=b865b9333cb77f34a540a5ec102687af24f5cf24;hp=480ce82f0bc5f8f52d0e13e0179bc436393105c9;hpb=9729018fa407aac34388d24713e77a2fbd82f044;p=mir.git diff --git a/source/default.properties b/source/default.properties index 480ce82f..6d40facc 100755 --- a/source/default.properties +++ b/source/default.properties @@ -103,6 +103,19 @@ 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 + +# Article Preview Link URL (Link to produced articles from within admin) +ContentList.ArticleLink=http://production.indy.code-foo.org/en/${date.formatted.yyyy}/${date.formatted.MM}/${id}.shtml +CommentList.ArticleLink=http://production.indy.code-foo.org/en/${co_content.date.formatted.yyyy}/${to_content.date.formatted.MM}/${to_content.id}.shtml + +# 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 @@ -143,16 +156,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: +# :::<0|1 (recursion off or on)> [, ....] -# Settings allowing the admin interface to show what the public urls are: -Article.PublicUrl=/en/${date.formatted.yyyy}/${date.formatted.MM}/${id}.shtml -Comment.PublicUrl=/en/${to_content.date.formatted.yyyy}/${to_content.date.formatted.MM}/${to_content.id}.shtml +ServletModule.FileEdit.Configuration= \ + includes:/pub/Dokumente/Indymedia/de-tech/Mir/produced/inc:.*\\.inc:1 # # @@ -238,21 +248,71 @@ Producer.Icon.BigText=text_big.gif 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 +# 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 +# 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=INDYMEDIA SOMEWHERE +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 + -# about two lines of small text which will appear at the bottom of every page -PDF.Footer=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. # # the size paper your target audience will likely have in their printers. pick one of A4 or LETTER @@ -316,9 +376,17 @@ 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 = donecomment.template -Localizer.OpenSession.comment.DoneTemplate = dupecomment.template +Localizer.OpenSession.comment.DupeTemplate = dupecomment.template +Localizer.OpenSession.comment.DoneTemplate = donecomment.template +Localizer.OpenSession.comment.UnsupportedMediaTemplate = unsupportedmediatype.template +Localizer.OpenSession.ErrorTemplate = sessionerror.template + + #