thalassa/examples/Common/cgiconf.ini
2026-03-19 06:23:52 +05:00

81 lines
1.8 KiB
INI

[page thalcgi.ini]
chmod = 600
body =
+[general]
+userdata_dir = %[opt:cgi:userdbdir]
+
+[format]
+encoding = %[opt:site:enc]
+tags = em strong cite code pre ul ol li dl dt dd ins del
+ h1 h2 h3 h4 h5 p br blockquote table td tr %[opt:site:moretags]
+tag_attributes = title %[opt:site:moreattrs]
+
+[captcha]
+secret = %[opt:cgi:secret]
+expire = %[opt:cgi:captcha_to]
+
+[html]
+
+shorthead = %[collapsews:%[html:shortheader:%0%:%1%]]
+
+shorttail = %[collapsews:%[html:shortfooter]]
+
+time_to_edit = %[opt:cgi:to_edit_txt]
+
+accept_encs = %[opt:site:enc],ascii,us-ascii
+
+the_encoding = %[opt:site:enc]
+
+email_envfrom = %[opt:cgi:email_envfrom]
+
+site_briefname = %[opt:site:briefname]
+
+content_db_path = %[opt:cgi:sitesrc]/db
+
+the_site_title = %[opt:site:title]
+the_site_motto = %[opt:site:motto]
+main_menu = %[collapsews:%[menu:mainmenu:]]
+main_menu_feedback = %[collapsews:%[menu:mainmenu:feedback]]
+
+
+text_from = %[opt:text:from]
+text_unverified = %[opt:text:unverified]
+text_in_reply_to_cmt1 = %[opt:text:in_reply_to_cmt1]
+text_in_reply_to_cmt2 = %[opt:text:in_reply_to_cmt2]
+text_in_reply_to_cmt3 = %[opt:text:in_reply_to_cmt3]
+
+
+ # these are currently used by the Agenda template only
+text_nav_previous = %[opt:text:previous]
+text_nav_next = %[opt:text:next]
+text_nav_index = %[opt:text:nav_index]
+
+
+[comments]
+dir = %[opt:cgi:sitesrc]/db/comments/
+
+page_regen_command = %%[collapsews:
++ %[opt:cgi:thalassa_bin] -c %[opt:cgi:sitesrc] gen -g
++ %%[switch:%%[reqarg:realm]:pg:set=pages:gb:list=guestbook]=%%[reqarg:pgid]
++ -s ]
+
+recent_timeout = %[opt:cgi:to_edit_min]
+
+
+
+[feedback]
+envelope_from = %[opt:cgi:email_envfrom]
+
+
+
+
+
+%[readfile:cgitexts.ini]
+%[readfile:feedback.ini]
+%[readfile:base/cgi_base.ini]
+%[readfile:base/cgi_msg.ini]
+%[readfile:cgilocal.ini]
+