1 (edited by FredrikK 2006-01-18 12:32)

Topic: "Not logged in"-text in header

How can I make the "not logged in"-text become two lines?

I would like the underlined text to move down one line as shown in the picture.

http://www.brunna.se/raderas.JPG

Any help would be appreciated.

Thanks.

hej!

Re: "Not logged in"-text in header

Go to the language files and find 'not logged in' and add a '<br />' to the end of it.

I don't HAVE a signature, ok?

Re: "Not logged in"-text in header

I don't understand what to do. tongue

I tried a lot but nothing I tried work, I only got a blank page. sad

hej!

Re: "Not logged in"-text in header

bump hmm

hej!

5

Re: "Not logged in"-text in header

common.php language file

'Not logged in'            =>  'You are not logged in.',

6 (edited by FredrikK 2006-01-20 13:24)

Re: "Not logged in"-text in header

I don't think you understood me, and I guess it's my fault, my English is terrible. But thanks anyway guys for trying to help! smile

What I wanted was it to look like this, with two (2) lines:

http://www.brunna.se/bilder/forklaring_punbbforum.bmp

But I managed it on my own now! This is how I did it:

Changed this line in header.php...

$tpl_temp = '<div id="brdwelcome" class="inbox">'."\n\t\t\t".'<p>'.$lang_common['Not logged in'].'</p>'."\n\t\t".'</div>';

...to this:

$tpl_temp = '<div id="brdwelcome" class="inbox">'."\n\t\t\t".'<p>'.$lang_common['Not logged in'].'</p>'.'<p>'.$lang_common['Not logged in2'].'</p>'."\n\t\t".'</div>';

And added this in /lang/*your_language*/common.php

'Not logged in2'             =>           'yada yada yada.',
hej!

7

Re: "Not logged in"-text in header

What they were suggesting is that you do this in the language file which would have saved editing header.php

'Not logged in'   => 'Welcome text etc <br />yada yada yada',

Re: "Not logged in"-text in header

http://www.mummila.net/kuvat/doh.png

hej!