Tipo de phpBB: phpBB estandar, (tambien llamado Vanilla) phpBB2 o phpBB3
MODs Instalados: Si
Tu conocimiento: Conocimiento básico
Enlace del Foro: http://www.acienciasgalilei.com/public/forobb
¿Qué recuerdas haber hecho en el foro antes de aparecer este error?
Cambiar functions_content.php
¿Qué has realizado para intentar resolver el problema?
Ponerlo como estaba
Descripción y Mensaje
Hola de nuevo,
He intentado implementar la modificación 'Modifying auto-detected links' que viene en:
http://www.phpbb.com/kb/article/links-o ... w-windows/
Ahí dice que cambie en functions_content.php el código:
Código: Seleccionar todo
$html = "$whitespace<!-- $tag --><a$class href=\"$url\">$text</a><!-- $tag -->$append";
Código: Seleccionar todo
if ($type == MAGIC_URL_EMAIL)
{
$html = "$whitespace<!-- $tag --><a$class href=\"$url\">$text</a><!-- $tag -->$append";
}
else
{
$html = "$whitespace<!-- $tag --><a$class href=\"$url\" onclick=\"window.open(this.href);return false;\">$text</a><!-- $tag -->$append";
}
Ejemplo: Ponemos http://es.wikipedia.org/wiki/Isaac_Newton" onclick="window.open(this.href);return false; (o cualquier otro)
y al editar o previsualizar aparece algo así como:
http://es.wikipedia.org/wiki/Isaac_Newton" onclick="window.open(this.href);return false;" onclick=\"window.open(this.href);return
que resulta ser un trozo del código añadido.
He intentado copiarlo con varios editores y siempre pasa lo mismo. ¿Qué falla en ese código?
Gracias[/i]