install.txt hat geschrieben:##############################################################
## MOD Title: Einstellbare 'Board Disable' Message
## MOD Author: Dwing <
dwing@weingarten-net.de > (Dimitri Seitz)
http://www.dseitz.de
## MOD Description: Mit diesem Mod, könnt Ihr im Adminpanel die Standard 'Board deaktiviert' Nachricht anpassen
## MOD Version: 1.0.0
##
## Installation Level: leicht
## Installation Time: 2-3 Minuten
## Files To Edit:
2
## Included Files:
1 admin_install.php
##############################################################
## For Security Purposes, Please Check:
http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at:
http://www.phpbb.com/mods/downloads/
##############################################################
## Author Notes:
##
##
http://www.dseitz.de
## Bitte registriert den Mod
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
common.php
#
#-----[ FIND ]------------------------------------------
#
message_die(GENERAL_MESSAGE, 'Board_disable', 'Information');
#
#-----[ REPLACE WITH ]------------------------------------------
#
message_die(GENERAL_MESSAGE, $board_config['disable_msg'], 'Information');
#
#-----[ OPEN ]------------------------------------------
#
admin/admin_board.php
#
#-----[ FIND ]------------------------------------------
#
$html_tags = $new['allow_html_tags'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
$disable_msg = $new['disable_msg'];
#
#-----[ FIND ]------------------------------------------
#
"SERVER_NAME" => $new['server_name'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
"DISABLE_MSG" => $new['disable_msg'],
"L_DISABLE_MSG" => $lang['disable_msg'],
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_admin.php
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
$lang['disable_msg'] = 'This message will be displayed, if the board is disabled';
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/board_config.tpl
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td class="row1">{L_DISABLE_BOARD}<br /><span class="gensmall">{L_DISABLE_BOARD_EXPLAIN}</span></td>
<td class="row2"><input type="radio" name="board_disable" value="1" {S_DISABLE_BOARD_YES} /> {L_YES} <input type="radio" name="board_disable" value="0" {S_DISABLE_BOARD_NO} /> {L_NO}</td>
</tr>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<tr>
<th class="thHead" colspan="2">{L_DISABLE_BOARD}</th>
</tr>
<tr>
<td class="row1">{L_DISABLE_BOARD}<br /><span class="gensmall">{L_DISABLE_BOARD_EXPLAIN}</span></td>
<td class="row2"><input type="radio" name="board_disable" value="1" {S_DISABLE_BOARD_YES} /> {L_YES} <input type="radio" name="board_disable" value="0" {S_DISABLE_BOARD_NO} /> {L_NO}</td>
</tr>
<tr>
<td class="row1">{L_DISABLE_BOARD}<br /><span class="gensmall">{L_DISABLE_MSG}</span></td>
<td class="row2"><input type="text" value="{DISABLE_MSG}" name="disable_msg"></td>
</tr>
<tr>
<th class="thHead" colspan="2">{L_GENERAL_SETTINGS}</th>
</tr>
#
#-----[ SAFE & Close all files]------------------------------------------
#EoM