2024-01-17 11:23:28 +01:00
|
|
|
<?php
|
2020-05-14 20:56:58 +02:00
|
|
|
|
|
|
|
/* 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
|
|
|
|
2020-05-14 20:56:58 +02: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
|
|
|
|
2023-03-17 12:29:40 +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;
|
|
|
|
|
2020-05-14 20:56:58 +02:00
|
|
|
|
|
|
|
/* **** SKINS **** */
|
|
|
|
|
|
|
|
|
2023-03-17 12:29:40 +01:00
|
|
|
// Some of those templates are using markitup, a convenient and advanced toolbar to edit the wiki.
|
2020-05-14 20:56:58 +02:00
|
|
|
|
2024-02-07 14:23:10 +01:00
|
|
|
//$TEMPLATE = 'templates/minimaxing/minimaxing.html'; // this one was once the default skin for lionwiki-t2t
|
2023-03-17 12:29:40 +01:00
|
|
|
//$TEMPLATE = 'templates/minimaxing/minimaxing_links.html'; // this one is for a basic landpage without menu
|
2020-05-14 20:56:58 +02:00
|
|
|
|
2024-01-17 11:23:28 +01:00
|
|
|
//$TEMPLATE = 'templates/red.html';
|
2024-02-07 14:23:10 +01:00
|
|
|
//$TEMPLATE = 'templates/txt2tags/txt2tags.html'; // used once on the old txt2tags wiki (now offline)
|
2020-05-14 20:56:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
//$TEMPLATE = 'templates/ElectricObsidian/ElectricObsidian.html'; // dark theme
|
|
|
|
//$TEMPLATE = 'templates/literature/literature.html'; // light theme
|
2023-03-17 12:29:40 +01:00
|
|
|
|
2024-01-17 11:23:28 +01:00
|
|
|
//$TEMPLATE = 'templates/bootstrap/bootstrap.html'; // bootstrap
|
2023-03-17 12:29:40 +01:00
|
|
|
|
|
|
|
|
2020-05-14 20:56:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
// Those templates are more minimalistic and use only a basic toolbar:
|
|
|
|
|
2024-01-17 11:23:28 +01:00
|
|
|
//$TEMPLATE = 'templates/ggp/ggp.html';
|
2023-03-17 12:29:40 +01:00
|
|
|
//$TEMPLATE = 'templates/newspaper/newspaper.html'; // light theme
|
|
|
|
//$TEMPLATE = 'templates/stellar/index.html'; // in development
|
|
|
|
//$TEMPLATE = 'templates/editorial/index0.html'; // in development
|
2024-02-07 14:23:10 +01:00
|
|
|
//$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';
|
2023-03-17 12:29:40 +01:00
|
|
|
//$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';
|
2023-03-17 12:29:40 +01:00
|
|
|
//$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';
|
2024-02-07 14:23:10 +01:00
|
|
|
$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';
|
2023-03-17 12:29:40 +01:00
|
|
|
//$TEMPLATE = 'templates/skeleton/skeleton.html'; // deprecated
|
2024-01-17 11:23:28 +01:00
|
|
|
//$TEMPLATE = 'templates/simple.html'; //
|
2020-05-14 20:56:58 +02:00
|
|
|
|
|
|
|
/* **** 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)?
|
|
|
|
|
2023-03-17 12:29:40 +01:00
|
|
|
$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-18 21:54:23 +01:00
|
|
|
$LANG = '__LANGUAGE__';
|
|
|
|
// (it looks like forcing another language crashes lionwiki so it's better to keep LANG='en' at the moment... autodetection seems to work anyway)
|
|
|
|
$LANG = 'en';
|
2020-05-14 20:56:58 +02:00
|
|
|
|
|
|
|
/* see the file config.t2t to tweak the syntax and even more! */
|
|
|
|
|
|
|
|
/* *********************************************** */
|