Seite 1 von 1

Button

Verfasst: 05.11.2003 20:10
von shakur
ALso jeweils diese button da z.b. faq, portal, profil usw. die oben zu sehen sind, wie kann man die so seitlich postieren!
habe gehört irgendwie mit so ner header_tpl?? was aber da habe ich keine ahnung und da wollte ich euch mal fragen

Verfasst: 05.11.2003 20:19
von NicoH
in dieser Datei ist alles in html geschrieben musst wahrscheinlich nur statts center , left oder right schreiben ganz einfach...

Code:

Code: Alles auswählen

</script>
<!-- END switch_enable_pm_popup -->
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">

<a name="top"></a>

<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
	<tr>
		<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
			<tr>
				<td><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
				<td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br />&nbsp; </span>
				<table cellspacing="0" cellpadding="2" border="0">
					<tr>
						<td [u]align="center" [/u]valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span><span class="mainmenu">&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp;
						<!-- BEGIN switch_user_logged_out -->
						&nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>&nbsp;
						<!-- END switch_user_logged_out -->
						</td>
					</tr>
					<tr>
						<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
					</tr>
				</table></td>
			</tr>
		</table>

		<br />
was in [ u ] ...code... [/ u ] steht ,ändern

musst du mal suchen und dann überall wo center steht ändern oder mal probieren weiß es nicht genau.

Verfasst: 05.11.2003 20:20
von Dwing
in der Datei:
templates/subSilver/overall_header.tpl

(subSilver evtl. durch dein Template ersetzen)

Mit einem HTML Editor öffnen. (Bitte nicht MS Frontpage, da der für Templates nicht gerade geeignet ist)

Verfasst: 05.11.2003 20:27
von shakur
kann mir jemand mal sagen was ich machen muss?? ich will nichtz mit ersetzen! sondern ganz normal

das ist der CODE:

Code: Alles auswählen

<!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}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/bcBlack/bcBlack.css" type="text/css">
<!-- 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 -->
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">

<a name="top"></a>

<table width="99%" cellspacing="0" cellpadding="0" border="0" align="center"> 
<tr> 
<td class="bodyline">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left" width="100%" valign="top">
<span class="gensmall">
	<!-- BEGIN switch_user_logged_in -->
	{LAST_VISIT_DATE} |
	<!-- END switch_user_logged_in -->
	{CURRENT_TIME} | {PRIVATE_MESSAGE_INFO}<br />
			<!-- BEGIN switch_user_logged_in -->
		<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a> |
		<!-- END switch_user_logged_in -->
		<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a>
	</span>	
</td>
<td>
<a href="{U_INDEX}">
<img src="templates/bcBlack/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /><img src="templates/bcBlack/images/whosonline.gif" border="0" alt="{L_INDEX}" vspace="1" />
</a>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr> 
<td align="right" valign="bottom" nowrap="nowrap" height="15">
<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/bcBlack/images/lang_english/nav_memberlist.gif" width="80" height="14" border="0" alt="{L_MEMBERLIST}" hspace="3" /></a>
<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/bcBlack/images/lang_english/nav_usergroups.gif" width="80" height="14" border="0" alt="{L_USERGROUPS}" hspace="3" /></a>
<!-- BEGIN switch_user_logged_out -->
<a href="{U_REGISTER}" class="mainmenu"><img src="templates/bcBlack/images/lang_english/nav_register.gif" width="80" height="14" border="0" alt="{L_REGISTER}" hspace="3" /></a>
<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/bcBlack/images/lang_english/nav_login.gif" width="80" height="14" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" /></a>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/bcBlack/images/lang_english/nav_logout.gif" width="80" height="14" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" /></a>
<!-- END switch_user_logged_in -->
</td></tr>
<!-- BEGIN switch_user_logged_in -->
<tr><td align="right" valign="middle" nowrap="nowrap" height="18">
<a href="{U_PROFILE}" class="mainmenu"><img src="templates/bcBlack/images/lang_english/nav_editprofile.gif" width="81" height="5" border="0" alt="{L_PROFILE}" hspace="0" /></a><a href="{U_FAQ}" class="mainmenu"><img src="templates/bcBlack/images/lang_english/nav_faq.gif" width="27" height="5" border="0" alt="{L_FAQ}" hspace="0" /></a><a href="{U_SEARCH}" class="mainmenu"><img src="templates/bcBlack/images/lang_english/nav_search.gif" width="48" height="5" border="0" alt="{L_SEARCH}" hspace="0" /></a><a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/bcBlack/images/lang_english/nav_pms.gif" width="82" height="5" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="0" /></a></td></tr>
<!-- END switch_user_logged_in -->
</table><br />