forked from leftypol/leftypol
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts: js/hide-threads.js
This commit is contained in:
commit
88c1205e42
4 changed files with 39 additions and 12 deletions
|
@ -887,7 +887,7 @@
|
|||
// Number of news entries to display per page
|
||||
$config['mod']['news_page'] = 40;
|
||||
|
||||
// Number of results to dispaly per page
|
||||
// Number of results to display per page
|
||||
$config['mod']['search_page'] = 200;
|
||||
|
||||
// How many entries to show per page in the moderator noticeboard
|
||||
|
@ -895,6 +895,8 @@
|
|||
// Number of entries to summarize and display on the dashboard
|
||||
$config['mod']['noticeboard_dashboard'] = 5;
|
||||
|
||||
// Check public ban message by default
|
||||
$config['mod']['check_ban_message'] = false;
|
||||
// Default public ban message
|
||||
$config['mod']['default_ban_message'] = 'USER WAS BANNED FOR THIS POST';
|
||||
// What to append to the post for public bans ("%s" is the message)
|
||||
|
@ -1136,6 +1138,18 @@
|
|||
// Connection timeout, in seconds
|
||||
$config['purge_timeout'] = 3;
|
||||
|
||||
// Additional mod.php?/ pages (for developers). Look in inc/mod/pages.php for help.
|
||||
//$config['mod']['custom_pages']['/something/(\d+)'] = function($id) {
|
||||
// global $config;
|
||||
// if (!hasPermission($config['mod']['something']))
|
||||
// error($config['error']['noaccess']);
|
||||
// // ...
|
||||
//};
|
||||
|
||||
// Add links to dashboard (will all be in "Other" category)
|
||||
$config['mod']['dashboard_links'] = array();
|
||||
// $config['mod']['dashboard_links']['Something'] = '?/something';
|
||||
|
||||
// Remote servers
|
||||
// http://tinyboard.org/wiki/index.php?title=Multiple_Servers
|
||||
//$config['remote']['static'] = array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue