Welcome, Guest. Please login or register.
Friday, July 30, 2010 (15:52)
Home Help Search Login Register
News: mwCMS now uses Mantis (on SourceForge.net) as bugtracker.

+  mwCMS
|-+  English support
| |-+  Bugs, problems and questions
| | |-+  Strange things happen if you use PRE
« previous next »
Pages: [1] Print
Author Topic: Strange things happen if you use PRE  (Read 1311 times)
Buggy
Newbie
*
Posts: 7

View Profile
« on: Saturday, October 04, 2008 (21:37) »

hello!

I think I found the next bug. I'm using PRE (HTML) on my homepage and you are doing too, but it is not displayed right.

It should be displayed like that:
Code: [Select]
// MediaWiki in a subdomain, e.g. "http://mediawiki.your-domain.tld"
  $modifiedLine = str_replace('src="', 'src="http://' . SERVER, $modifiedLine);

  /**
   * MediaWiki in a subdirectory, e.g. "http://localhost/mediawiki", then
   * delete the line above or use "//".
  **/
but instead it looks:
Code: [Select]
// MediaWiki in a subdomain, e.g. "http://mediawiki.your-domain.tld"
$modifiedLine = str_replace('src="', 'src="http://' . SERVER, $modifiedLine);

/**
 * MediaWiki in a subdirectory, e.g. "http://localhost/mediawiki", then
 * delete the line above or use "//".
**/

Any ideas?

cu buggy
Logged
ClausVB
Administrator
mwCMS supporter
*****
Posts: 73


View Profile
« Reply #1 on: Sunday, October 05, 2008 (14:51) »

Thanks again.

I can reproduce the problem.

You have to change "templates/plugin_mediawiki.htm". Find
Code: [Select]
<tmpl_loop name='display_lines'>
  {tmpl_var name='topnav_content'}
</tmpl_loop>
and replace it with
Code: [Select]
<tmpl_loop name='display_lines'>
  {tmpl_var name='topnav_content'}
</tmpl_loop>
but it will be fixed in the next version, too.

Best regards,
Claus
Logged
Pages: [1] Print 
« previous next »
 


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC Valid XHTML 1.0! Valid CSS!