Fix available templates configuration and adding custom themes

This commit is contained in:
Michael Kuilboer 2025-03-06 02:27:31 +01:00
parent ebb9e231aa
commit 9221629d8d
4 changed files with 24 additions and 25 deletions

View file

@ -47,6 +47,16 @@ class Configuration
'sizelimit' => 10485760,
'templateselection' => false,
'template' => 'bootstrap',
'availabletemplates' => array(
'bootstrap5',
'bootstrap',
'bootstrap-page',
'bootstrap-dark',
'bootstrap-dark-page',
'bootstrap-compact',
'bootstrap-compact-page',
'page',
),
'info' => 'More information on the <a href=\'https://privatebin.info/\'>project page</a>.',
'notice' => '',
'languageselection' => false,
@ -78,16 +88,6 @@ class Configuration
'syntaxhighlighting' => 'Source Code',
'markdown' => 'Markdown',
),
'available_templates' => array(
'bootstrap5',
'bootstrap',
'bootstrap-page',
'bootstrap-dark',
'bootstrap-dark-page',
'bootstrap-compact',
'bootstrap-compact-page',
'page',
),
'traffic' => array(
'limit' => 10,
'header' => '',