Seite 3 von 3

Verfasst: 04.07.2006 14:40
von faster
So ich bin es mal wieder.

ich habe noch e tpl Datein gefunden, die nicht richtig angepasst sind.
Meine versuche das hinzubekommen, sind leider gescheitert.

Hier einmal die faq_body und die login_body

Danke schonmal im Vorraus

Verfasst: 05.07.2006 22:24
von faster
Schieb

Verfasst: 06.07.2006 09:29
von Markus67
Hi ...

hier die faq_body.tpl

Code: Alles auswählen

<table width="95%" cellspacing="2" cellpadding="2" border="0" align="center">
	<tr>
		<td align="left" class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></td>
	</tr>
</table>
<table width="95%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="3%" align="left"><img src="templates/Macinscott2/images/buttons.gif" width="66" height="23"></td>
    <td width="94%" align="center" background="templates/Macinscott2/images/buttons_bkgd.gif"><span class="thCornerL">&nbsp;{L_FAQ_TITLE}&nbsp;</span></td>
    <td width="3%" align="right"><img src="templates/Macinscott2/images/buttons_right.gif" width="66" height="23"></td>
  </tr>
</table>

<table class="forumline" width="95%" cellspacing="1" cellpadding="3" border="0" align="center">
	<tr>
		<td class="row1">
			<!-- BEGIN faq_block_link -->
			<span class="gen"><b>{faq_block_link.BLOCK_TITLE}</b></span><br />
			<!-- BEGIN faq_row_link -->
			<span class="gen"><a href="{faq_block_link.faq_row_link.U_FAQ_LINK}" class="postlink">{faq_block_link.faq_row_link.FAQ_LINK}</a></span><br />
			<!-- END faq_row_link -->
			<br />
			<!-- END faq_block_link -->
		</td>
	</tr>
</table>
<table width="95%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="35" align="left" valign="top" background="templates/Macinscott2/images/shadow_bottom.jpg"><img src="templates/Macinscott2/images/shadow_bttm_left_corner.jpg" width="19" height="35"></td>
    <td align="left" valign="top" background="templates/Macinscott2/images/shadow_bottom.jpg"><img src="templates/Macinscott2/images/shadow_bottom.jpg" width="19" height="35"></td>
    <td align="right" valign="top" background="templates/Macinscott2/images/shadow_bottom.jpg"><img src="templates/Macinscott2/images/shadow_bttm_right_corner.jpg" width="19" height="35"></td>
  </tr>
</table>

<br clear="all" />

<!-- BEGIN faq_block -->
<table width="95%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="3%" align="left"><img src="templates/Macinscott2/images/buttons.gif" width="66" height="23"></td>
    <td width="94%" align="center" background="templates/Macinscott2/images/buttons_bkgd.gif"><span class="cattitle">&nbsp;{faq_block.BLOCK_TITLE}&nbsp;</span></td>
    <td width="3%" align="right"><img src="templates/Macinscott2/images/buttons_right.gif" width="66" height="23"></td>
  </tr>
</table>
<table class="forumline" width="95%" cellspacing="1" cellpadding="3" border="0" align="center">
	<!-- BEGIN faq_row -->  
	<tr> 
		<td class="{faq_block.faq_row.ROW_CLASS}" align="left" valign="top"><span class="postbody"><a name="{faq_block.faq_row.U_FAQ_ID}"></a><b>{faq_block.faq_row.FAQ_QUESTION}</b></span><br /><span class="postbody">{faq_block.faq_row.FAQ_ANSWER}<br /><a class="postlink" href="#Top">{L_BACK_TO_TOP}</a></span></td>
	</tr>
	<tr>
		<td class="row4" height="1"><img src="templates/Macinscott2/images/spacer.gif" alt="" width="1" height="1" /></td>
	</tr>
	<!-- END faq_row -->
</table>
<table width="95%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="35" align="left" valign="top" background="templates/Macinscott2/images/shadow_bottom.jpg"><img src="templates/Macinscott2/images/shadow_bttm_left_corner.jpg" width="19" height="35"></td>
    <td align="left" valign="top" background="templates/Macinscott2/images/shadow_bottom.jpg"><img src="templates/Macinscott2/images/shadow_bottom.jpg" width="19" height="35"></td>
    <td align="right" valign="top" background="templates/Macinscott2/images/shadow_bottom.jpg"><img src="templates/Macinscott2/images/shadow_bttm_right_corner.jpg" width="19" height="35"></td>
  </tr>
</table>

<br clear="all" />
<!-- END faq_block -->

<table width="95%" cellspacing="2" border="0" align="center">
	<tr>
		<td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><br />{JUMPBOX}</td> 
	</tr>
</table>
und hier die login_body.tpl

Code: Alles auswählen

 
<form action="{S_LOGIN_ACTION}" method="post" target="_top">

<table width="95%" cellspacing="2" cellpadding="2" border="0" align="center">
  <tr> 
	<td align="left" class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></td>
  </tr>
</table>
<table width="95%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="3%" align="left"><img src="templates/Macinscott2/images/buttons.gif" width="66" height="23"></td>
    <td width="94%" align="center" background="templates/Macinscott2/images/buttons_bkgd.gif"><span class="thCornerL">&nbsp;{L_LOGIN_LOGOUT}&nbsp;</span></td>
    <td width="3%" align="right"><img src="templates/Macinscott2/images/buttons_right.gif" width="66" height="23"></td>
  </tr>
</table>
<table width="95%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
  <tr> 
	<th height="25" class="thHead" nowrap="nowrap">{L_ENTER_PASSWORD}</th>
  </tr>
  <tr> 
	<td class="row1"><table border="0" cellpadding="3" cellspacing="1" width="100%">
		  <tr> 
			<td colspan="2" align="center">&nbsp;</td>
		  </tr>
		  <tr> 
			<td width="45%" align="right"><span class="gen">{L_USERNAME}:</span></td>
			<td> 
			  <input type="text" name="username" size="25" maxlength="40" value="{USERNAME}" />
			</td>
		  </tr>
		  <tr> 
			<td align="right"><span class="gen">{L_PASSWORD}:</span></td>
			<td> 
			  <input type="password" name="password" size="25" maxlength="32" />
			</td>
		  </tr>
		  <tr align="center"> 
			<td colspan="2"><span class="gen">{L_AUTO_LOGIN}: <input type="checkbox" name="autologin" /></span></td>
		  </tr>
		  <tr align="center"> 
			<td colspan="2">{S_HIDDEN_FIELDS}<input type="submit" name="login" class="mainoption" value="{L_LOGIN}" /></td>
		  </tr>
		  <tr align="center"> 
			<td colspan="2"><span class="gensmall"><a href="{U_SEND_PASSWORD}" class="gensmall">{L_SEND_PASSWORD}</a></span></td>
		  </tr>
		</table></td>
  </tr>
</table>
<table width="95%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="35" align="left" valign="top" background="templates/Macinscott2/images/shadow_bottom.jpg"><img src="templates/Macinscott2/images/shadow_bttm_left_corner.jpg" width="19" height="35"></td>
    <td align="left" valign="top" background="templates/Macinscott2/images/shadow_bottom.jpg"><img src="templates/Macinscott2/images/shadow_bottom.jpg" width="19" height="35"></td>
    <td align="right" valign="top" background="templates/Macinscott2/images/shadow_bottom.jpg"><img src="templates/Macinscott2/images/shadow_bttm_right_corner.jpg" width="19" height="35"></td>
  </tr>
</table>

</form>
Markus

Verfasst: 06.07.2006 22:40
von faster
Danke dir Markus67,

aber leider sind die Blöcke immernoch so wie vorher :(

Kl!ck

Verfasst: 07.07.2006 10:11
von Markus67
Hi ...

füge in beiden Dateien ganze am Anfang folgendes ein:

Code: Alles auswählen

<div align="center">
und ganz am Schuss ein

Code: Alles auswählen

</div>
Alternativ kannst du das erste auch ans Ende der overall_header schreiben und das zweite ganz am Anfang der overall_footer.tpl.

Ist wahrscheinlich auch die bessere Lösung da es dann für alle tpl-Dateien gültig ist :wink:

Markus

Verfasst: 07.07.2006 12:41
von faster
1000 Danke.

Das hätten wir vllt schon von anfang an so handhaben sollen.
nun wird alles Ordentlich angezeigt :)