1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lionwiki-t2t_ynh.git synced 2024-09-03 19:36:27 +02:00
lionwiki-t2t_ynh/conf/config.php

84 lines
3.2 KiB
PHP
Raw Normal View History

2024-01-17 11:23:28 +01:00
<?php
/* Configuration file for LionWiki-t2t. */
/* https://lionwiki-t2t.sourceforge.io/ */
/* **** MAIN TITLE **** */
2024-01-17 11:23:28 +01:00
$WIKI_TITLE = '__WIKI__'; // name of the site
2020-03-01 11:28:28 +01:00
/* **** PASSWORDS **** */
2020-03-01 11:28:28 +01:00
// SHA1 hash of password. If empty (or commented out), no password is required
2024-01-17 11:23:28 +01:00
$PASSWORD = sha1("__PASSWORD__");
$Admin["PASSWORD"] = sha1("__PASSWORD__");
2020-03-01 11:28:28 +01:00
// if true, you need to enter the password for entering the wiki and reading pages.
2020-03-01 11:28:28 +01:00
// before setting to true, read http://lionwiki.0o.cz/index.php?page=UserGuide%3A+How+to+use+PROTECTED_READ
$PROTECTED_READ = false;
/* **** SKINS **** */
// Some of those templates are using markitup, a convenient and advanced toolbar to edit the wiki.
//$TEMPLATE = 'templates/minimaxing/minimaxing.html'; // this one was once the default skin for lionwiki-t2t
//$TEMPLATE = 'templates/minimaxing/minimaxing_links.html'; // this one is for a basic landpage without menu
2024-01-17 11:23:28 +01:00
//$TEMPLATE = 'templates/red.html';
//$TEMPLATE = 'templates/txt2tags/txt2tags.html'; // used once on the old txt2tags wiki (now offline)
//$TEMPLATE = 'templates/ElectricObsidian/ElectricObsidian.html'; // dark theme
//$TEMPLATE = 'templates/literature/literature.html'; // light theme
2024-01-17 11:23:28 +01:00
//$TEMPLATE = 'templates/bootstrap/bootstrap.html'; // bootstrap
// Those templates are more minimalistic and use only a basic toolbar:
2024-01-17 11:23:28 +01:00
//$TEMPLATE = 'templates/ggp/ggp.html';
//$TEMPLATE = 'templates/newspaper/newspaper.html'; // light theme
//$TEMPLATE = 'templates/stellar/index.html'; // in development
//$TEMPLATE = 'templates/editorial/index0.html'; // in development
//$TEMPLATE = 'templates/blazekiss/blazekiss.html'; // deprecated
2024-01-17 11:23:28 +01:00
//$TEMPLATE = 'templates/sissou.html';
//$TEMPLATE = 'templates/fravashyo/fravashyo.html';
//$TEMPLATE = 'templates/dandelion.html';
//$TEMPLATE = 'templates/flexbox.html'; // in development
2024-01-17 11:23:28 +01:00
//$TEMPLATE = 'templates/minimal.html';
//$TEMPLATE = 'templates/terminal/terminal.html';
//$TEMPLATE = 'templates/terminal_green.html';
//$TEMPLATE = 'templates/terminal_white.html';
//$TEMPLATE = 'templates/geek/geek.html';
//$TEMPLATE = 'templates/brut/brut.html'; // ugly colors and brutism aesthetics
2024-01-17 11:23:28 +01:00
//$TEMPLATE = 'templates/lagrange/lagrange.html'; // looks like the gemini browser lagrange
//$TEMPLATE = 'templates/light.html';
//$TEMPLATE = 'templates/print.html';
//$TEMPLATE = 'templates/paper/paper.html';
$TEMPLATE = 'templates/mimoza/mimoza.html'; // current default template
//$TEMPLATE = 'templates/cafe.html';
// $TEMPLATE = 'templates/smallweb/smallweb.html'; // not finished and not very good
2024-01-17 11:23:28 +01:00
//$TEMPLATE = 'templates/wikiss.html';
//$TEMPLATE = 'templates/skeleton/skeleton.html'; // deprecated
2024-01-17 11:23:28 +01:00
//$TEMPLATE = 'templates/simple.html'; //
/* **** MORE OPTIONS **** */
2020-03-01 11:28:28 +01:00
$NO_HTML = true; // XSS protection
$START_PAGE = 'main'; // Which page should be default (start page)?
$RSS = '<a href="./var/rss.xml">RSS</a>';
2020-03-01 11:28:28 +01:00
2024-01-17 11:23:28 +01:00
// if needed (if autodetection doesn't work), force language
2024-02-17 15:17:08 +01:00
$LANG = __LANGUAGE__;
2024-02-17 01:14:43 +01:00
// (it looks like forcing another language crashes lionwiki so it's better to keep LANG=en at the moment... autodetection seems to work anyway)
2024-02-17 15:17:08 +01:00
$LANG = en;
/* see the file config.t2t to tweak the syntax and even more! */
/* *********************************************** */