Pionier Posted December 18, 2011 Share Posted December 18, 2011 If I use the WYSIWYG editor to write an announcement, it is stored in the following format: <p><span style="font-family: 'book antiqua', palatino; font-size: small;"><span style="color: #ff0000;"><strong><span style="background-color: #888888; font-size: large;">Hallo,</span><span style="font-size: x-small;"> test. Ich bin eine Beispielnachricht.</span></strong></span></span></p> But since in clientareahome.tpl (default template), the following code is: {if $announcements} <div class="alert-message warning"> <p><strong>{$LANG.ourlatestnews}:</strong> <br />{$announcements.0.text|truncate:100:'...'} - <a href="announcements.php?id={$announcements.0.id}">{$LANG.more}...</a></p> </div> {/if} This code is now displayed: <div class="alert-message warning"> <p><strong>neusten Nachrichten:</strong><br></p><p><span style="font-family: 'book antiqua', palatino; font-size: small;"><span announcements.php?id="17"" style="color:... - <a href=">Mehr...</span></span></p> </div> This happens because the "<span style"-Tag is too long. That was the error in another post -> http://forum.whmcs.com/showthread.php?t=43872 I think here there is a bug. Excuse my bad English. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.