Seite 1 von 1

Error mit "Prillian-Mod"

Verfasst: 24.05.2006 20:23
von leopittoni
Hallo

Habe den Mod "Prillian" (Instant-Messenger) installiert, wenn ich nun die bearbeitete Dateien uploade, kommt diese Fehlermeldung:

Code: Alles auswählen

Parse error: syntax error, unexpected '}' in /home/www/web555/html/phpBB2/includes/template.php(127) : eval()'d code on line 334
Wenm ich die Datei "overall_header.tpl" wieder Rückgängig mache und uploade, gibts keinen Fehler mehr, es muss also an dieser Datei liegen.

Hier sind die Änderungen der overall_header.tpl:

Code: Alles auswählen

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl

#
#-----[ FIND ]------------------------------------------
#

</head>

#
#-----[ BEFORE, ADD ]------------------------------------------
#

<!-- Prillian - Begin Code Additions -->
<!-- BEGIN switch_user_logged_in -->
<script language="JavaScript" type="text/javascript">
<!--
	function prill_launch(url, w, h)
	{
		window.name = 'phpbbmain';
		prillian = window.open(url, 'prillian', 'height=' + h + ', width=' + w + ', innerWidth=' + w + ', innerHeight=' + h + ', resizable, scrollbars');
	}

	if ( {IM_AUTO_POPUP} ) 
	{ 
		prill_launch('{U_IM_LAUNCH}', '{IM_WIDTH}', '{IM_HEIGHT}');
	} 

//-->
</script>
<!-- END switch_user_logged_in -->
<!-- BEGIN buddy_alert -->
<script language="Javascript" type="text/javascript">
	if ( {buddy_alert.BUDDY_ALERT} )
	{
		window.open('{buddy_alert.U_BUDDY_ALERT}', '_buddyalert', 'HEIGHT=225,resizable=yes,WIDTH=400');
	}
</script>
<!-- END buddy_alert -->
<!-- Prillian - End Code Additions -->

#
#-----[ FIND ]------------------------------------------
#
# Author's Note: This part is one that gives a lot of people trouble with
# non-subSilver templates. You'll have to adapt the code to fit your individual
# templates - it doesn't have to be exactly like this.
#
						<!-- END switch_user_logged_out -->
						</td>
					</tr>
					<tr>
						<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;
						
#
#-----[ REPLACE WITH ]------------------------------------------
#

						</td>
					</tr>
					<tr>
						<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;
						<!-- END switch_user_logged_out -->
<!-- Prillian - Begin Code Additions -->
						<!-- BEGIN switch_user_logged_in -->
						&nbsp;<a href="{U_IM_LAUNCH}" target="prillian" onClick="javascript:prill_launch('{U_IM_LAUNCH}', '{IM_WIDTH}', '{IM_HEIGHT}'); return false" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_IM_LAUNCH}" hspace="3" />{L_IM_LAUNCH}</a>&nbsp;
						</td>
					</tr>
					<tr>
						<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;
						<a href="{U_CONTACT_MAN}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_CONTACT_MAN}" hspace="3" />{L_CONTACT_MAN}</a>&nbsp;
						<!-- END switch_user_logged_in -->
<!-- Prillian - End Code Additions -->
Wer kann mir helfen?

Danke, Léo