Button am falschen Ort

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
darot
Mitglied
Beiträge: 492
Registriert: 15.01.2005 00:26
Kontaktdaten:

Button am falschen Ort

Beitrag von darot »

Hallo

Habe den Eventlists for Calendar lite 1.4.4 Mod installiert. Nun sind oben die Buttons aufeinander anstatt nebeneinander.

[ externes Bild ]

Was und wo muss ich ändern, dass die Buttons nebeneinander wie unten sind?

Gruss, darot
darot
Mitglied
Beiträge: 492
Registriert: 15.01.2005 00:26
Kontaktdaten:

Beitrag von darot »

Hier noch den Code:

Code: Alles auswählen

<script language="JavaScript">
<!--
var cssTextHover, cssTextLink;  
function swc(id,fon) {
   if (document.all) {
     var d=document.all[id];  
     for(var i=0;i<d.length;i++){
	// go through everything of id "cal_id###" 
        d[i].style.cssText=(fon?cssTextHover:cssTextLink);  
     //set the style accordingly
     }  
   }
} 
 	   	 	  	 		 	  	 
function setup() { 
   if (document.all) {
     dd=document.styleSheets;  
     for(var j=0; j<dd.length; j++) { 
	var ss=document.styleSheets[j].rules; 
	     for(var i=0;i<ss.length;i++){ 
	     var rr=ss[i]; 
	     strSelector=rr.selectorText; 
	     if(strSelector=="A:hover") cssTextHover=rr.style.cssText; 
	     else if (strSelector=="A:link") cssTextLink=rr.style.cssText; 
	} 
     } 
   }
 }
setup();
//-->
</script>
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
	<tr> 
		<td align="left">{PHPBBHEADER}<span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a> ->
		<a href="{U_CAL_HOME}" class="nav">{CALENDAR}</a></span></td>
		<td align=right class=genmed>{CAL_VERSION}<br /><a href="{TODAY}" class="nav">{L_TODAY}</a></td>
	</tr>
</table>  	 	  	 		 	  	 
<table border="0" cellpadding="3" cellspacing="0" width="100%" class="forumline">
       <tr>
		<th align="left">{BUTTON_PREV_YEAR}&nbsp{BUTTON_PREV}</th>
		<th width="100%" align="center"><b>{CAL_MONTH} {CAL_YEAR}</b></th>
		<th align="right">{BUTTON_NEXT}&nbsp;{BUTTON_NEXT_YEAR}</th>
	   </tr>
       <tr>
	<td colspan="3">

	<table width=100% cellpadding=2 cellspacing=0 border=0 style="border-collapse: expand; border-color=black;">
	<tr>
          <td class=catLeft width=14% align=center><b><span class=genmed>{DAY_HEAD_1}</span></b></td>
	  <td class=catLeft width=14% align=center><b><span class=genmed>{DAY_HEAD_2}</span></b></td>
	  <td class=catLeft width=14% align=center><b><span class=genmed>{DAY_HEAD_3}</span></b></td>
	  <td class=catLeft width=14% align=center><b><span class=genmed>{DAY_HEAD_4}</span></b></td>
	  <td class=catLeft width=14% align=center><b><span class=genmed>{DAY_HEAD_5}</span></b></td>
	  <td class=catLeft width=14% align=center><b><span class=genmed>{DAY_HEAD_6}</span></b></td>
	  <td class=catLeft width=14% align=center><b><span class=genmed>{DAY_HEAD_7}</span></b></td>
        </tr>
        <tr>
<!-- BEGIN no_day -->
	  <td {no_day.S_CELL}>&nbsp;</td>
<!-- END no_day -->
<!-- BEGIN daycell --> 
     <td valign=top {daycell.S_CELL}> 
       <table border=0 cellspacing=0 cellpadding=0 width=100%> 
       <tr><td align=center {daycell.S_HEAD}><a href='{daycell.U_DAY}' class=genmed><b>{daycell.NUM_DAY}</b></a></td></tr> 
       <tr {MAX_HEIGHT}><td valign=top {daycell.S_DETAILS}>{daycell.DAY_EVENT_LIST}</td></tr> 
       </table> 
     </td>{daycell.WEEK_ROW} 
<!-- END daycell -->
        </tr>
        </table>
        </td>
     </tr>
</table>
<center>
<table width="100%">
   <tr>
	<td nowrap="nowrap" width="49%">{BUTTON_PREV_YEAR} {BUTTON_PREV}</td>
	<td nowrap="nowrap" align="center">{BUTTON_ADD}{BUTTON_VALIDATE}</td>
	<td nowrap="nowrap" width="49%" align="right">{BUTTON_NEXT} {BUTTON_NEXT_YEAR}</td>
   </tr>
</table>
<table align="center">
   <tr>
   	<td>{BUTTON_OLD} {BUTTON_NEW} {BUTTON_ALL}</td>
   </tr>
</table>
</center>
Benutzeravatar
easygo
Mitglied
Beiträge: 2170
Registriert: 03.09.2004 13:45
Kontaktdaten:

Beitrag von easygo »

Suche nach...

Code: Alles auswählen

      <th align="left">{BUTTON_PREV_YEAR}&nbsp{BUTTON_PREV}</th> 
      <th width="100%" align="center"><b>{CAL_MONTH} {CAL_YEAR}</b></th> 
      <th align="right">{BUTTON_NEXT}&nbsp;{BUTTON_NEXT_YEAR}</th>


ersetze durch...

Code: Alles auswählen

      <th align="left" nowrap="nowrap">{BUTTON_PREV_YEAR}&nbsp;{BUTTON_PREV}</th> 
      <th width="100%" align="center"><b>{CAL_MONTH} {CAL_YEAR}</b></th> 
      <th align="right" nowrap="nowrap">{BUTTON_NEXT}&nbsp;{BUTTON_NEXT_YEAR}</th> 
darot
Mitglied
Beiträge: 492
Registriert: 15.01.2005 00:26
Kontaktdaten:

Beitrag von darot »

Hi.

Hat funktioniert.
Vielen Dank. :)

Gruss, darot
Antworten

Zurück zu „phpBB 2.0: Mod Support“