##############################################################
## MOD Title: Math Question ACP Update Add-on (Spanish)...
## MOD Author: Nightrider < N/A > (N/A) http://4fxearth.net/phpBB2
## MOD Description: This will modify the Math Question MOD allowing 
## 	   				the admin to change the question and answer from 
##					the ACP
## MOD Version: 1.0.0b
##
## Installation Level: easy - Please Use EasyMOD to save us all a lot of unnecessary grief
## Installation Time: 1 Minute
## Files To Edit: 5
##				  admin/admin_board.php
## 		 		  includes/usercp_register.php
## 		 		  language/lang_english/lang_admin.php
##				  templates/subSilver/profile_add_body.tpl
##				  templates/subSilver/admin/board_config_body.tpl
##
## Included Files: 0
##
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ 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/ 
############################################################## 
## Author Notes:  
## 		  		  The Math Question MOD MUST BE installed before you
##				  can install this update, plus the Modify Math Question
##				  MOD  MUST BE installed too.  If you don't have the latter
##				  installed, please use the first version of this MOD...
##
##				  Please Use EasyMOD to save us all a lot of unnecessary grief
##
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 
## MOD History: 
## 
##    Jan 17, 2012 - Creation Date
## 
##############################################################
#
#-----[ SQL ]---------------------------------------------
#
INSERT INTO phpbb_config (config_name, config_value) VALUES ('security_question', 'Escriba la siguiente palabra utilizando minsculas: nospam *');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('security_answer', 'nospam');
#
#-----[ OPEN ]---------------------------------------------
#
admin/admin_board.php
#
#-----[ FIND ]---------------------------------------------
#
$new['sitename']
#
#-----[ AFTER, ADD ]---------------------------------------------
#

$new['security_question'] = str_replace('"', '&quot;', strip_tags($new['security_question']));
$new['security_answer'] = str_replace('"', '&quot;', strip_tags($new['security_answer']));
#
#-----[ FIND ]---------------------------------------------
#
"L_ACCT_ACTIVATION" =>
#
#-----[ AFTER, ADD ]---------------------------------------------
#

	"L_SECURITY_QUESTION" => $lang['security_question'], 
	"L_SECURITY_ANSWER" => $lang['security_answer'], 
	"L_SECURITY_QUESTION_EXPLAIN" => $lang['security_question_explain'],
	"L_SECURITY_ANSWER_EXPLAIN" => $lang['security_answer_explain'], 
#
#-----[ FIND ]---------------------------------------------
#
"SITENAME" =>
#
#-----[ AFTER, ADD ]---------------------------------------------
#

	"SECURITY_QUESTION" => $new['security_question'],
	"SECURITY_ANSWER" => $new['security_answer'],
#
#-----[ OPEN ]---------------------------------------------
#
includes/usercp_register.php
#
#-----[ FIND ]---------------------------------------------
#
isset($_POST['math_question'])
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
'nospam'
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
$board_config['security_answer']
#
#-----[ FIND ]---------------------------------------------
#
security field.  User lower case font when entering this word...
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
security field.  User lower case font when entering this word...
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
security field.  Use lower case font when entering this answer...
#
#-----[ FIND ]---------------------------------------------
#
'L_CONFIRM_CODE_EXPLAIN'
#
#-----[ AFTER, ADD ]---------------------------------------------
#

		'SECURITY_QUESTION'	=> $board_config['security_question'],
#
#-----[ OPEN ]---------------------------------------------
#
language/lang_english/lang_admin.php
#
#-----[ FIND ]---------------------------------------------
#
?>		
#
#-----[ BEFORE, ADD ]---------------------------------------------
#
$lang['security_question'] = 'Security Question';
$lang['security_answer'] = 'Security Answer'; 
$lang['security_question_explain'] = 'Enter a question that will be displayed during the Registration process';
$lang['security_answer_explain'] = 'Enter an answer that the new members MUST answer correctly during the Registration process'; 

#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/profile_add_body.tpl
#
#-----[ FIND ]---------------------------------------------
#
Escriba la siguiente palabra utilizando minsculas: nospam *
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
Escriba la siguiente palabra utilizando minsculas: nospam *
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
{SECURITY_QUESTION}
#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/admin/board_config_body.tpl
#
#-----[ FIND ]---------------------------------------------
#
{CONFIRM_ENABLE}
#
#-----[ FIND ]---------------------------------------------
#
</tr>
#
#-----[ AFTER, ADD ]---------------------------------------------
#
	<tr>
		<td class="row1">{L_SECURITY_QUESTION}<br /><span class="gensmall">{L_SECURITY_QUESTION_EXPLAIN}</span></td>
		<td class="row2"><input class="post" type="text" size="40" maxlength="255" name="security_question" value="{SECURITY_QUESTION}" /></td>
	</tr>
	<tr>
		<td class="row1">{L_SECURITY_ANSWER}<br /><span class="gensmall">{L_SECURITY_ANSWER_EXPLAIN}</span></td>
		<td class="row2"><input class="post" type="text" size="10" maxlength="30" name="security_answer" value="{SECURITY_ANSWER}" /></td>
	</tr>
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM