Autor 
			fviewthread.tpl.php Code besser?   1  Gelöschter User 
  
 
Mir ist da noch was aufgefallen, vielleicht mal testen. Code  PHP  
		1 
		echo  "<table cellpadding='0' cellspacing='0' border='0' width='100%'><tr> . FORUM. "index.php'>" . $settings [ 'sitename' ] . "</a>$caption </td>\n " ; // PREV - NEXT // if  ( $next_topic > 0 )  {  echo  "<td class='tbl' align='right' valign='bottom'><a href='" . $tpl -> url ( SEO_THREAD, FUSION_SELF, 'thread_id=' , $next_thread [ 'thread_id' ] , null , null , $next_thread [ 'thread_subject' ] , 'forum' ) . "'><img src='" . FORUMIMAGE. "left.gif' title='" . $locale [ 'IMGALT573' ] . "' alt='" . $locale [ 'IMGALT573' ] . "' style='border:0px;'></a></td>\n " ; } if  ( $prev_topic > 0 )  {  echo  "<td class='tbl' align='right' valign='bottom'><a href='" . $tpl -> url ( SEO_THREAD, FUSION_SELF, 'thread_id=' , $prev_thread [ 'thread_id' ] , null , null , $prev_thread [ 'thread_subject' ] , 'forum' ) . "'><img src='" . FORUMIMAGE. "right.gif' title='" . $locale [ 'IMGALT574' ] . "' alt='" . $locale [ 'IMGALT574' ] . "' style='border:0px;'></a></td>\n " ; } //////////////////////////// echo  "</tr>\n </table><br>\n " ;  
 Anhänge  
(Size: 14.05 KB, px: 175x170)  
Bearbeitet von   am 01.02.2010 16:53  
		 
		
		
  
		 
			Autor 
			RE: fviewthread.tpl.php Code besser?   2  Gelöschter User 
  
 
So hier mal der Code der fviewforum.tpl.php , und das Ergebnis:Code  PHP  
		110 20 30  
		// legende echo  "<table cellpadding='0' cellspacing='0' border='0' width='100%'> . FORUMIMAGE. "foldernew.gif' alt='" . $locale [ 'VIEW456' ] . "' vspace='1' style='vertical-align:middle;'></td> . $locale [ 'VIEW456' ] . "</div></td></tr> . FORUMIMAGE. "folderhot.gif' alt='" . $locale [ 'VIEW457' ] . "' vspace='1' style='vertical-align:middle;'></td> . $locale [ 'VIEW457' ] . "</div></td></tr> . FORUMIMAGE. "folder.gif' alt='" . $locale [ 'VIEW458' ] . "' vspace='1' style='vertical-align:middle;'></td> . $locale [ 'VIEW458' ] . "</div></td></tr> . FORUMIMAGE. "folderlock.gif' alt='" . $locale [ 'VIEW459' ] . "' vspace='1'  style='vertical-align:middle;'></td> . $locale [ 'VIEW459' ] . "</div></td></tr> . FORUMIMAGE. "stickythread.gif' alt='" . $locale [ 'VIEW460' ] . "' vspace='1'  style='vertical-align:middle;'></td> . $locale [ 'VIEW460' ] . "</div></td></tr>" ; if ( iMOD ||  iSUPERADMIN) { echo  "<tr style='height:20px;'><td style='width:22px  height:22px; text-align:center;'><img src='" . FORUMIMAGE. "modpanel.gif' border='0' title='" . $locale [ 'VIEW470' ] . "' alt='" . $locale [ 'VIEW470' ] . "' style='vertical-align:middle;'></td> . FORUM. "mod_options.php?forum_id=$forum_id '><b>" . $locale [ 'VIEW470' ] . "</b></a></div></td></tr>" ; } echo  "</table></td><td class='tbl1' nowrap align='right' valign='top'>" ; if ( $can_view )  { echo  " . $locale [ 'VIEW473' ] . ":</span></caption> . ( $can_post  ? sprintf ( $locale [ 'VIEW464' ] ,  "" )  :  sprintf ( $locale [ 'VIEW464' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "<br> . ( $can_reply  ? sprintf ( $locale [ 'VIEW465' ] , "" )  :  sprintf ( $locale [ 'VIEW465' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "<br><br> . ( $can_edit  ? sprintf ( $locale [ 'VIEW466' ] , "" )  :  sprintf ( $locale [ 'VIEW466' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "<br> . ( $can_delete  ? sprintf ( $locale [ 'VIEW467' ] , "" )  :  sprintf ( $locale [ 'VIEW467' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "<br><br> . ( $can_attach  ? sprintf ( $locale [ 'VIEW468' ] , "" )  :  sprintf ( $locale [ 'VIEW468' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "<br> . ( $can_download  ? sprintf ( $locale [ 'VIEW469' ] , "" )  :  sprintf ( $locale [ 'VIEW469' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "</span>\n " ; }  
 Anhänge  
(Size: 22.28 KB, px: 225x165)  
 
		 
		
		
  
		 
			Autor 
			RE: fviewthread.tpl.php Code besser?   3  Gelöschter User 
  
 
Sieht jetzt sehr viel besser aus, klasse! 
		 
		
		
  
		 
			Autor 
			RE: fviewthread.tpl.php Code besser?   4  
		
		gozoc Ort: Bayern Eingetreten: 22.09.06 Status: Offline  
  
 
 
Vielen Dank ... sieht gut aus. 
		 
		
		
 
		 
			Autor 
			RE: fviewthread.tpl.php Code besser?   5  Gelöschter User 
  
 
So, hier nochmal überarbeitet.Code  PHP  
		110 20 30  
		// legende echo  "<table cellpadding='0' cellspacing='0' border='0' width='100%'> . FORUMIMAGE. "foldernew.gif' alt='" . $locale [ 'VIEW456' ] . "' vspace='1' style='vertical-align:middle;'></td> . $locale [ 'VIEW456' ] . "</div></td></tr> . FORUMIMAGE. "folderhot.gif' alt='" . $locale [ 'VIEW457' ] . "' vspace='1' style='vertical-align:middle;'></td> . $locale [ 'VIEW457' ] . "</div></td></tr> . FORUMIMAGE. "folder.gif' alt='" . $locale [ 'VIEW458' ] . "' vspace='1' style='vertical-align:middle;'></td> . $locale [ 'VIEW458' ] . "</div></td></tr> . FORUMIMAGE. "folderlock.gif' alt='" . $locale [ 'VIEW459' ] . "' vspace='1'  style='vertical-align:middle;'></td> . $locale [ 'VIEW459' ] . "</div></td></tr> . FORUMIMAGE. "stickythread.gif' alt='" . $locale [ 'VIEW460' ] . "' vspace='1'  style='vertical-align:middle;'></td> . $locale [ 'VIEW460' ] . "</div></td></tr>" ; if ( iMOD ||  iSUPERADMIN) { echo  "<tr><td style='height:20px;'> </td></tr><tr style='height:20px;'><td style='width:22px  height:22px; text-align:center;'><img src='" . FORUMIMAGE. "modpanel.gif' border='0' title='" . $locale [ 'VIEW470' ] . "' alt='" . $locale [ 'VIEW470' ] . "' style='vertical-align:middle;'></td> . FORUM. "mod_options.php?forum_id=$forum_id '><b>" . $locale [ 'VIEW470' ] . "</b></a></div></td></tr>" ; } echo  "</table></td><td class='tbl1' nowrap align='right' valign='top'>" ; if ( $can_view )  { echo  " . $locale [ 'VIEW473' ] . ":</span></caption> . ( $can_post  ? sprintf ( $locale [ 'VIEW464' ] ,  "" )  :  sprintf ( $locale [ 'VIEW464' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "<br> . ( $can_reply  ? sprintf ( $locale [ 'VIEW465' ] , "" )  :  sprintf ( $locale [ 'VIEW465' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "<br><br> . ( $can_edit  ? sprintf ( $locale [ 'VIEW466' ] , "" )  :  sprintf ( $locale [ 'VIEW466' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "<br> . ( $can_delete  ? sprintf ( $locale [ 'VIEW467' ] , "" )  :  sprintf ( $locale [ 'VIEW467' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "<br><br> . ( $can_attach  ? sprintf ( $locale [ 'VIEW468' ] , "" )  :  sprintf ( $locale [ 'VIEW468' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "<br> . ( $can_download  ? sprintf ( $locale [ 'VIEW469' ] , "" )  :  sprintf ( $locale [ 'VIEW469' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "</span>\n " ; } echo  "</td></tr></table>" ;  
 Anhänge  
(Size: 10.18 KB, px: 206x165)  
 
		 
		
		
  
		 
			Autor 
			RE: fviewthread.tpl.php Code besser?   6  
		
		gozoc Ort: Bayern Eingetreten: 22.09.06 Status: Offline  
  
 
 
Danke ..  Anhänge  
(Size: 27.99 KB, px: 713x239)  
Bearbeitet von  gozoc  am 02.02.2010 12:33  
		 
		
		
 
		 
			Autor 
			RE: fviewthread.tpl.php Code besser?   7  Gelöschter User 
  
 
Zitat 1. folderhot hat nen kleineres Feld (20) bekommen, als die anderen, gibts nen Grund ??
Zitat 2. jetzt könnte man das Rechtefeld auf bottom setzen ...
Code  <tr style='height:20px;'>
 <<<--- Datt ist auch noch Quatsch Bearbeitet von   am 02.02.2010 13:00  
		 
		
		
  
		 
			Autor 
			RE: fviewthread.tpl.php Code besser?   8  
		
		Janilein Eingetreten: 22.06.08 Status: Offline  
  
 
 
Also mir persönlich gefällt Franks Alternative sehr gut. Bearbeitet von  Janilein  am 02.02.2010 13:13  
		 
		
		
 
		 
			Autor 
			RE: fviewthread.tpl.php Code besser?   9  Gelöschter User 
  
 
Vielleicht beschränken wir die Bilder fest auf ein bestimmtes Maß. Code  <img style='max-width:???px; min-width:???px;' >
.Bearbeitet von   am 02.02.2010 13:58  
		 
		
		
  
		 
			Autor 
			RE: fviewthread.tpl.php Code besser?   10  
		
		gozoc Ort: Bayern Eingetreten: 22.09.06 Status: Offline  
  
 
 
Nun ... wir haben die freie Auswahl ... Code  PHP  
		110 20 30  
		echo  "<table cellpadding='0' cellspacing='0' border='0' width='100%'> . FORUMIMAGE. "foldernew.gif' alt='" . $locale [ 'VIEW456' ] . "' vspace='1' style='vertical-align:middle;'></td> . $locale [ 'VIEW456' ] . "</div></td> . FORUMIMAGE. "folderhot.gif' alt='" . $locale [ 'VIEW457' ] . "' vspace='1' style='vertical-align:middle;'></td> . $locale [ 'VIEW457' ] . "</div></td></tr> . FORUMIMAGE. "folder.gif' alt='" . $locale [ 'VIEW458' ] . "' vspace='1' style='vertical-align:middle;'></td> . $locale [ 'VIEW458' ] . "</div></td> . FORUMIMAGE. "folderlock.gif' alt='" . $locale [ 'VIEW459' ] . "' vspace='1' style='vertical-align:middle;'></td> . $locale [ 'VIEW459' ] . "</div></td></tr> . FORUMIMAGE. "stickythread.gif' alt='" . $locale [ 'VIEW460' ] . "' vspace='1' style='vertical-align:middle;'></td> . $locale [ 'VIEW460' ] . "</div></td>" ; if ( iMOD ||  iSUPERADMIN) { echo  "<td style='height:20px; text-align:center;'><img src='" . FORUMIMAGE. "modpanel.gif' border='0' title='" . $locale [ 'VIEW470' ] . "' alt='" . $locale [ 'VIEW470' ] . "' style='vertical-align:middle;'></td> . FORUM. "mod_options.php?forum_id=$forum_id '><b>" . $locale [ 'VIEW470' ] . "</b></a></div></td>" ; } echo  "</tr></table> ; if ( $can_view )  { echo  " . $locale [ 'VIEW473' ] . ":</span></caption> . ( $can_post  ? sprintf ( $locale [ 'VIEW464' ] ,  "" )  :  sprintf ( $locale [ 'VIEW464' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "<br> . ( $can_reply  ? sprintf ( $locale [ 'VIEW465' ] , "" )  :  sprintf ( $locale [ 'VIEW465' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "<br><br> . ( $can_edit  ? sprintf ( $locale [ 'VIEW466' ] , "" )  :  sprintf ( $locale [ 'VIEW466' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "<br> . ( $can_delete  ? sprintf ( $locale [ 'VIEW467' ] , "" )  :  sprintf ( $locale [ 'VIEW467' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "<br><br> . ( $can_attach  ? sprintf ( $locale [ 'VIEW468' ] , "" )  :  sprintf ( $locale [ 'VIEW468' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "<br> . ( $can_download  ? sprintf ( $locale [ 'VIEW469' ] , "" )  :  sprintf ( $locale [ 'VIEW469' ] ,  "<u>" . $locale [ 'VIEW482' ] . "</u>" ) ) . "</span>\n " ; } echo  "</td></tr></table>" ;  
und  width Werten arbeiten, ist immer heikel