Es cierto, lo modifiqué un poco a mi gusto.
El cambio fue este:
El archivo original
simple_hide_bbcode.php presentaba esta codificación:
Código: Seleccionar todo
<?php
/**
*
* simple_hide_bbcode [English]
*
* @package language
* @version $Id: simple_hide_bbcode.php,v 1.0 2007/08/04 ycl6 Exp $
* @copyright ycl6 < ycl6@users.sourceforge.net > (Y.C. LIN) http://macphpbbmod.sourceforge.net/
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* DO NOT CHANGE
*/
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
/**
* NOTE: Most of the language items are used in javascript
* If you want to use quotes or other chars that need escaped, be sure you escape them double
* (Especially for ', you must use \\\' instead of \'. For " you only need to use \".
*/
/**
* @TODO:Change this to uppercase things.
*/
$lang = array_merge($lang, array(
'HIDDEN_MESSAGE' => 'Este mensaje esta oculto',
'MESSAGE_UNHIDE' => 'Contenido Oculto: OFF',
'MESSAGE_HIDDEN' => 'Contenido Oculto: ON',
'MESSAGE_HIDDEN_DESCRIPTION' => '
Usted necesita responder en este tema para ver el contenido oculto.',
'CONVERT_TITLE' => 'BBcode Conversion',
'CONVERT_DONE' => 'Conversion Complete! Please delete <b>install/update_bbcode.php</b> now!',
));
?>
Yo la cambié por esta otra:
Código: Seleccionar todo
<?php
/**
*
* simple_hide_bbcode [Spanish]
*
* @package language
* @version $Id: simple_hide_bbcode.php,v 1.0 2007/08/04 ycl6 Exp $
* @copyright ycl6 < ycl6@users.sourceforge.net > (Y.C. LIN) http://macphpbbmod.sourceforge.net/
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* DO NOT CHANGE
*/
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
/**
* NOTE: Most of the language items are used in javascript
* If you want to use quotes or other chars that need escaped, be sure you escape them double
* (Especially for ', you must use ' instead of '. For " you only need to use ".
*/
/**
* @TODO:Change this to uppercase things.
*/
$lang = array_merge($lang, array(
'HIDDEN_MESSAGE' => 'This message has been hidden',
'MESSAGE_UNHIDE' => ' ',
'MESSAGE_HIDDEN' => ' ',
'MESSAGE_HIDDEN_DESCRIPTION' => '<div align="center">
<table width="483" bgcolor="#FFB062" height="100" border="1" cellpadding="1">
<tr>
<td width="483" height="100"><div align="center"><img src="http://microprocessor.webege.com/Foro/images/icons/hide4.png" width="482" height="100"></div></td>
</tr>
<tr>
<td height="10"> <div align="center"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><font color="#e12222"><a href="http://microprocessor.webege.com/Foro/ucp.php?mode=register" target="_blank">Registrate</a> </font><font color="#000000">, es rápido y tendrás acceso a todos los contenidos.</font></strong></div></td>
</tr>
</table></div>',
'CONVERT_TITLE' => 'BBcode Conversion',
'CONVERT_DONE' => 'Conversion Complete! Please delete <b>install/update_bbcode.php</b> now!',
));
?>
Básicamente lo cambié para tener un botón mas personalizado, pero todo lo demás es fiel al mod original.