Pagina 1 van 1

Report in header bij Morpheus

Geplaatst: 18 jul 2004, 09:09
door dieter
Ik voeg in de overall_header.tpl in het menu de report lijst.
En ik heb geen resultaat als het er ingevoegd is.

Re: Report in header bij Morpheus

Geplaatst: 18 jul 2004, 10:46
door Stef
dieter schreef:Ik voeg in de overall_header.tpl in het menu de report lijst.
En ik heb geen resultaat als het er ingevoegd is.
Even voor de duidelijkheid:
Je hebt hem erbij gezet, maar hij laat hem niet zien.

- Heb je overall_header.tpl wel geupload?
- Heb je hem goed neer gezet, en niet bij het REGISTER gedeelte.

Als dit allemaal goed is, wil je dan even je overall_header.tpl online zetten.

Geplaatst: 18 jul 2004, 14:26
door dieter

Code: Selecteer alles

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="Author" content="http://www.trushkin.net" />
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="{T_TEMPLATE_PATH}/style.css" type="text/css">
<style type="text/css">
<!--
@import url("{T_TEMPLATE_PATH}/formIE.css"); 
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
	if ( {PRIVATE_MESSAGE_NEW_FLAG} )
	{
		window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
	}
//-->
</script>
<!-- END switch_enable_pm_popup -->
<!-- BEGIN switch_report_popup -->
<script language="Javascript" type="text/javascript">
<!--    
	report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=yes,WIDTH={switch_report_popup.S_WIDTH}');;
	report.focus();
//-->
</script>
<!-- END switch_report_popup -->
<script language="javascript" type="text/javascript">
<!--

var PreloadFlag = false;
var expDays = 90;
var exp = new Date(); 
var tmp = '';
var tmp_counter = 0;
var tmp_open = 0;

exp.setTime(exp.getTime() + (expDays*24*60*60*1000));

function SetCookie(name, value) 
{
	var argv = SetCookie.arguments;
	var argc = SetCookie.arguments.length;
	var expires = (argc > 2) ? argv[2] : null;
	var path = (argc > 3) ? argv[3] : null;
	var domain = (argc > 4) ? argv[4] : null;
	var secure = (argc > 5) ? argv[5] : false;
	document.cookie = name + "=" + escape(value) +
		((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
		((path == null) ? "" : ("; path=" + path)) +
		((domain == null) ? "" : ("; domain=" + domain)) +
		((secure == true) ? "; secure" : "");
}

function getCookieVal(offset) 
{
	var endstr = document.cookie.indexOf(";",offset);
	if (endstr == -1)
	{
		endstr = document.cookie.length;
	}
	return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie(name) 
{
	var arg = name + "=";
	var alen = arg.length;
	var clen = document.cookie.length;
	var i = 0;
	while (i < clen) 
	{
		var j = i + alen;
		if (document.cookie.substring(i, j) == arg)
			return getCookieVal(j);
		i = document.cookie.indexOf(" ", i) + 1;
		if (i == 0)
			break;
	} 
	return null;
}

function ShowHide(id1, id2, id3) 
{
	var res = expMenu(id1);
	if (id2 != '') expMenu(id2);
	if (id3 != '') SetCookie(id3, res, exp);
}
	
function expMenu(id) 
{
	var itm = null;
	if (document.getElementById) 
	{
		itm = document.getElementById(id);
	}
	else if (document.all)
	{
		itm = document.all[id];
	} 
	else if (document.layers)
	{
		itm = document.layers[id];
	}
	if (!itm) 
	{
		// do nothing
	}
	else if (itm.style) 
	{
		if (itm.style.display == "none")
		{ 
			itm.style.display = ""; 
			return 1;
		}
		else
		{
			itm.style.display = "none"; 
			return 2;
		}
	}
	else 
	{
		itm.visibility = "show"; 
		return 1;
	}
}

//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#3B88C5" vlink="#3279B2" alink="#FF9C00">
<a name="top"></a>
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
<tr>
	<td rowspan="2" width="10" class="border_left"><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="10" height="1" alt="" /></td>
	<td width="100%" class="content" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="125" height="69" class="logo" align="left"><a href="{U_INDEX}"><img src="{T_TEMPLATE_PATH}/images/logo_left.gif" width="125" height="69" alt="phpBB Styles" /></a></td>
		<td width="100%" class="logo" align="center" valign="middle">
				
		<img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="468" height="60" border="0" alt="" /></td>
		<!-- BEGIN switch_user_logged_in -->
		<td width="125" height="69" class="logo" align="right"><img src="{T_TEMPLATE_PATH}/images/logo_right.gif" width="125" height="69" /></td>
		<!-- END switch_user_logged_in -->
		<!-- BEGIN switch_user_logged_out -->
		<td width="125" height="69" class="logo" align="right"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="125" height="69" id="login"><param name=movie value="{T_TEMPLATE_PATH}/images/login.swf?sid={S_SID}&action={S_LOGIN_ACTION3}"><param name=quality value=high><embed src="{T_TEMPLATE_PATH}/images/login.swf?sid={S_SID}&action={S_LOGIN_ACTION3}" quality="high" width="125" height="69" name="login" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object></td>
		<!-- END switch_user_logged_out -->
	</tr>
	<tr>
		<td colspan="3" align="center" valign="middle" class="buttons" height="25" nowrap="nowrap" style="padding-bottom: 2px;">
			<!-- BEGIN switch_user_logged_out -->
<!-- BEGIN switch_report_list -->
<a href="{switch_report_list.U_REPORT_LIST}" class="mainmenu">{switch_report_list.L_REPORT_LIST}</a>
<!-- END switch_report_list -->
			<a href="{U_REGISTER}">{L_REGISTER}</a> 
			<!-- END switch_user_logged_out -->
			 <a href="{U_STAFF}">{L_STAFF}</a>
			<a href="{U_FAQ}">{L_FAQ}</a> 
			 <a href="{U_SEARCH}">{L_SEARCH}</a> 
			 <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a> 
			<!-- BEGIN switch_user_admin -->
			 <a href="{U_GROUP_CP}">{L_USERGROUPS}</a> 
			<!-- END switch_user_admin -->
			<!-- BEGIN switch_user_logged_in -->
			 <a href="{U_PROFILE}">{L_PROFILE}</a> 
			 <a href="{U_PRIVATEMSGS}">{L_PRIVATEMSGS}</a> 
			<!-- END switch_user_logged_in -->
			 <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a> 
		</td>
	</tr>
	<tr>
		<td colspan="3" style="padding: 5px; ">

Geplaatst: 18 jul 2004, 14:36
door Stef
Haal dit eruit:

Code: Selecteer alles

<!-- BEGIN switch_report_list -->
<a href="{switch_report_list.U_REPORT_LIST}" class="mainmenu">{switch_report_list.L_REPORT_LIST}</a>
<!-- END switch_report_list -->
En zet het na:

Code: Selecteer alles

<!-- BEGIN switch_user_logged_out -->
<a href="{U_REGISTER}">{L_REGISTER}</a> 
<!-- END switch_user_logged_out -->
Succes :wink:

Geplaatst: 31 jul 2004, 19:52
door dieter
Mercie :thumb: :thumb: :thumb: