1
After applying this RC (2.2.5 to 2.2.6rc) language constants with html get displayed unformatted when using 'insertBreak' form.
The language constants:
define( "_AM_XTUBE_VIDEO_DLURL_NOTE1", "<small>(video id-code = http://www.youtube.com/watch?v=<font color=#FF0000>IsOtq-qCqZ4</font>)</small>" );
define( "_AM_XTUBE_VIDEO_DLURL_NOTE2", "<small>(video id-code = http://www.metacafe.com/watch/<font color=#FF0000>191543/sperm_whale_encounters_underwater_robot</font>/)</small>" );
define( "_AM_XTUBE_VIDEO_DLURL_NOTE3", "<small>(video id-code = http://www.ifilm.com/video/<font color=#FF0000>2718605</font>)</small>" );
define( "_AM_XTUBE_VIDEO_DLURL_NOTE4", "<small>(video id-code = http://i39.photobucket.com/albums/<font color=#FF0000>e168/vailtom/th_BigSquid</font>.jpg)</small>" );
PHP-code:
$sform -> addElement( new XoopsFormText( _AM_XTUBE_VIDEO_DLURL, 'url', 70, 512, $url ), true);
$note = _AM_XTUBE_VIDEO_DLURL_NOTE1 . "<br />" . _AM_XTUBE_VIDEO_DLURL_NOTE2 . "<br />" . _AM_XTUBE_VIDEO_DLURL_NOTE3 . "<br />" . _AM_XTUBE_VIDEO_DLURL_NOTE4;
$sform -> insertBreak( sprintf( $note ), "even");
Will submit this as a bug at SourceForge.