admin: box

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
hokah
Posts: 20
Joined: Wed 23. Nov 2005, 22:11

admin: box

Post by hokah »

Hi,
I have done nice site for myself but on my pages appears orange box where is written admin:myname ???
how can i make it vanish ?
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

hi

this Box only is shown while you are logged in - and only on your Browser.
A Visitor of your Site will not see it.

The Code for this is in index.php

Code: Select all

if(VISIBLE_MODE == 1 || VISIBLE_MODE == 2) {
		$content['page_end']  = '<div id="VisualMODE" style="position:absolute;left:5px;bottom:5px;padding:5px;z-index:1;background-color:#FF3300;color:#FFFFFF;border:1px solid #000000;">';
		$content['page_end'] .= VISIBLE_MODE == 1 ? 'user: ' : 'admin: ';
		$content['page_end'] .= html_specialchars($_SESSION['wcs_user']);
		$content['page_end'] .= "</div>\n</body>\n</html>";
	} else {
		$content['page_end'] = "</body>\n</html>";
	}
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
rushclub
Posts: 915
Joined: Tue 17. Feb 2004, 18:52

Post by rushclub »

hi hokah,

where can we see your site? i am interested :)

cheers
rush
3 (!) Jahre warten reichen mir. Ich bin erst mal weg.
Yoenuts
Posts: 62
Joined: Mon 9. Feb 2004, 19:29
Location: Netherlands
Contact:

Post by Yoenuts »

Thx, I was looking for this as well.
Post Reply