Quickadministration v1.2

-Homer-
Titel: Quickadministration v1.2
Version: 1.2
Beschreibung: Sooo nachdem ich gesehen habe das häufig gebeten worden ist dieses Addon fürs 2.3.x umzuschreiben hab ich mir mal ans Herz gefasst und nach langer Pause nun endlich das ersehnte Update rausgebracht.

Nun kurz was zum Addon:

-Für welche Boardversion ist der Hack ?

Er wurde mit der Boardversion 2.3.5 erstellt. Ob er mit anderen 2.3.x Versionen läuft ist mir unbekannt Augenzwinkern

-Was macht der Hack ?

Er ersetzt in der Beitragsansicht das Administrations Drop Down Menü und ersetzt es durch Symbole .

-Wurde der Hack getestet ?

Ja, er wurde von mir Persönlich getestet.
Ich habe ihn mit dem Woltlab Burning Board 2.3.5 getestet.

-Sind Fehler aufgetreten ?

Nein, ich habe die Version so lang verbessert bis keine Fehler mehr aufgetreten sind.

######################

Wenn nun doch noch Fehler auftreten sollten oder Verbesserungsvorschläge oder einfach nur Lob gesagt werden muss bitte hier im Forum melden smile

Gruss -Homer-
----
Demo: http://www.tech-portal.net/quickadministration12.jpg

weiter zum Download
c4-Fan
Habe es eingebaut. Funktioniert. Nur habe ich die administrativen Optionen jetzt nicht unten in der Leiste sondern oben. Aber dort gefallen sie mir eh viel besser.
-Homer-
Das ist auch gewollt so smile
Oder meinst du komplett über den Beiträgen ?

Freut mich aber das es dir gefällt
N!tro*
Danke für die Anpassung großes Grinsen

Läuft perfekt smile
kokolores
Supi.

DAS ist endlich mal was sinnvoll-ästhetisches...

vielen Dank - auch für die kurzknappe, verständliche Anleitung !!!!

großes Grinsen
Shorda
So habs mal im 2.3.3 Getestet da Funzt es auch ohne Probleme!!!
-Homer-
Danke fürs Lob : )

Freut mich das er euch gefällt.

Gruss -Homer-
luminanz
durfte den hack ja schon vorab im 2.3.5 testen.. klappt perfekt & einwandfrei

vielen dank nomma homer.. you know ,)
Liddll
Thx -Homer-

wirklich ein klasse Hack smile

und lässt sich problemlos erweitern (Who rated, etc...)

funzt im 2.3.5 ohne Probleme - ich hab (aus Faulheit den alten auszubauen und da ich ein paar andere Hacks im Menü hab) den alten Selector drin gelassen - die laufen auch Parallel.
WiseGuy
Thanks i will give a try..
polo1975
Super Hack ... erspart viel Menü klick beim Forum aufräumen ..... Super Sache
10 Daumen Freude

Ist es möglich die Admin. Optionen nach rechts oben zu setzen?
Falls mir da Jemand behilflich sein könnte smile
tui
Das nenne ich mal nen geilen Hack *sabber hächel stöhn* 1a weiter so Augenzwinkern

Nen kleinesprob hab cih da aba trotzdem xD

[IMG]http://img81.imageshack.us/img81/8469/problc2.gif[/IMG]
kork06
Hallo,

ist es möglich, da noch andere Funktionen von anderen Hacks in das Menü einzufügen ??

wenn ja, wie ??

MFG

kork06
-Homer-
eieieiei Tagelang nichts, und kaum kommt man von der Arbeit sieht man 3 Antworten *g

polo: Ja das ist möglich, werd schauen das ich dir das heut Abend anpasse wenn die Zeit es zulässt smile

tui: Hast du die thread.tpl genommen oder per Anleitung eingebaut ?

kork: Ja dies ist möglich !
Muss man allerdings in der thread.tpl umschreiben sowie weitere icons Uppen Augenzwinkern Sag mir welche und ich kann mich mal ransetzen Augenzwinkern

Gruss Homer

Edit:// Bevor ichs vergesse, riesen Dank fürs Lob Freude
tui
Zitat:
Original von -Homer-
tui: Hast du die thread.tpl genommen oder per Anleitung eingebaut ?


Habe ihn nach Anleitung eingabaut hier mal die thread.tpl

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
<?xml version="1.0" encoding="{$lang->items['LANG_GLOBAL_ENCODING']}"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{$lang->items['LANG_GLOBAL_DIRECTION']}" lang="{$lang->items['LANG_GLOBAL_LANGCODE']}" xml:lang="{$lang->items['LANG_GLOBAL_LANGCODE']}">
<head>
<title>$master_board_name | $board[title] | $thread[prefix] $thread[topic]</title>
$headinclude

<link rel="contents" href="board.php?boardid=$boardid{$SID_ARG_2ND}" />
<if($t->pages>1)>
<then>
<link rel="first" href="thread.php?threadid=$threadid&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;page=1{$SID_ARG_2ND}" />
<link rel="last" href="thread.php?threadid=$threadid&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;page=$t->pages{$SID_ARG_2ND}" />

<if($t->pages>$t->page)><then><link rel="next" href="thread.php?threadid=$threadid&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;page=<expression>($t->page+1)</expression>{$SID_ARG_2ND}" /></then></if>
<if($t->page>1)><then><link rel="prev" href="thread.php?threadid=$threadid&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;page=<expression>($t->page-1)</expression>{$SID_ARG_2ND}" /></then></if>

</then>
</if>

<script type="text/javascript">
<!--
var imageMaxWidth = $picmaxwidth;
var imageMaxHeight = $picmaxheight;
//-->
</script>
<script type="text/javascript" src="js/images.js"></script>
<script type="text/javascript">
<!--
function rating(userid) {
 window.open("misc.php?action=userrating&userid="+userid+"{$SID_ARG_2ND_UN}", "moo", "toolbar=no,scrollbars=yes,resizable=yes,width=350,height=205");
}
//-->
</script>
</head>

<body onload="resizeImages();">
$header
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
  <tr class="tablea">
<td align="left" style="width:50%"><span class="smallfont"><b><a href="index.php{$SID_ARG_1ST}">$master_board_name</a>$navbar &raquo; </b><if($thread['prefix']!="")><then><span class="prefix">$thread[prefix]</span> </then></if><b>$thread[topic]</b></span></td>
 <td align="right" style="width:50%"><span class="smallfont"><a href="thread.php?threadid=$threadid&amp;threadview=1&amp;hilight=$hilight&amp;hilightuser=$hilightuser{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_THREADED']}</a> | <a href="thread.php?threadid=$threadid&amp;threadview=0&amp;hilight=$hilight&amp;hilightuser=$hilightuser{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_FLATTHREAD']}</a></span></td>
</tr>
</table></td>
 </tr>
 <tr>
  <td class="tabletitle"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
   <tr class="tabletitle_fc">
    <td align="left"><span class="smallfont"><a href="thread.php?goto=lastpost&amp;threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_LASTPOST']}</a> | <a href="thread.php?goto=firstnew_thread&amp;threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_FIRST_NEWPOST']}</a></span></td>
    <td align="right" valign="top"><span class="smallfont"><a href="print.php?threadid=$threadid&amp;page=$t->page{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_PRINTTHREAD']}</a> | <if($turnoff_formmail==0)><then><a href="formmail.php?threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_SENDTOFRIEND']}</a> |</then></if> <a href="usercp.php?action=addsubscription&amp;threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_ADD_FAVORITES']}</a></span></td>
   </tr>
  </table></td>
 </tr>
</table>
<table style="width:{$style['tableinwidth']}">
 <tr>
  <td align="left" valign="bottom"><span class="smallfont">$t->pagelink</span></td>
  <td align="right" valign="bottom"><span class="smallfont">$newthread $addreply</span></td>
 </tr>
</table>
$thread_poll
<table cellpadding="0" cellspacing="0" border="0" style="width:{$style['tableinwidth']}" align="center">
 <tr>
  <td><table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
   <tr>
    <td class="tablecat" align="left"<if(isset($t->postbitlist))><then> colspan="3"</then></if>><span class="normalfont"><a href="javascript:self.scrollTo(0,50000);"><img src="{$style['imagefolder']}/asc.gif" border="0" alt="{$lang->items['LANG_THREAD_GODOWN']}" title="{$lang->items['LANG_THREAD_GODOWN']}" /></a> <b>$thread[topic] $threadrating</b></span></td>
   </tr>
   
   <if(isset($t->postbitlist))>
   <then>
   
    <tr align="center">
     <td class="tabletitle" style="width:80%"><span class="smallfont"><b>{$lang->items['LANG_THREAD_POSTBITLIST']}</b></span></td>
     <td class="tabletitle" style="width:20%"><span class="smallfont"><b>{$lang->items['LANG_THREAD_AUTHOR']}</b></span></td>
     <td class="tabletitle" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_THREAD_DATE']}</b></span></td>
    </tr>
    
    <if($t->page!=1)>
    <then>
    
    <tr align="center">
     <td class="tableb" colspan="3"><span class="normalfont"><a href="thread.php?threadid=$threadid&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;page=<expression>($t->page-1)</expression>{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_PREVPAGE']}</a></span></td>
    </tr>
    
    </then>
    </if>
    
    {$t->postbitlist}    
    
    <if($t->page<$t->pages)>
    <then>
    
    <tr align="center">
     <td class="tableb" colspan="3"><span class="normalfont"><a href="thread.php?threadid=$threadid&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;page=<expression>($t->page+1)</expression>{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_NEXTPAGE']}</a></span></td>
    </tr>
    
    </then>
    </if>
   
   </table><br />
   <table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
   
   </then>
   <else>
   	</table>
   </else>
   </if>
   
   
   <table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
   <tr>
    <td class="tabletitle" align="left" style="width:<expression>((2*$style['tableincellpadding'])+159)</expression>px" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_THREAD_AUTHOR']}</b></span></td>
    <td class="tabletitle"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
     <tr class="tabletitle_fc">
      <td align="left"><span class="smallfont"><b>{$lang->items['LANG_THREAD_POST']}</b></span></td>
      <td align="right"><span class="smallfont"><b>&laquo;</b> <a href="thread.php?goto=nextoldest&amp;threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_NEXTOLDEST']}</a> | <a href="thread.php?goto=nextnewest&amp;threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_NEXTNEWEST']}</a> <b>&raquo;</b></span></td>
     </tr>
    </table></td>
   </tr>
  </table>
  $postbit
  <table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
   <tr>
    <td class="tabletitle" colspan="2">
     <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
      <tr class="tabletitle_fc">
 <td align="left"><span class="smallfont">$t->pagelink</span></td>
<td align="right">
<if(checkmodpermissions())>
    <then>
<if(checkmodpermissions("m_can_thread_close"))>
    <then>
<span class="smallfont">Administrative Optionen:</span></then></if>
<if(checkmodpermissions("m_can_thread_close"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=thread_close"><img src="modoptions/thread_close.gif" border=0 alt="{$lang->items['LANG_THREAD_THREADCLOSE']}" title="{$lang->items['LANG_THREAD_THREADCLOSE']}"></a></then></if>
<if(checkpermissions("m_can_thread_move"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=thread_move"><img src="modoptions/thread_move.gif" border=0 alt="{$lang->items['LANG_THREAD_THREADMOVE']}" title="{$lang->items['LANG_THREAD_THREADMOVE']}"></a></then></if>
<if(checkmodpermissions("m_can_thread_edit"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=thread_edit"><img src="modoptions/thread_edit.gif" border=0 alt="{$lang->items['LANG_THREAD_THREADEDIT']}" title="{$lang->items['LANG_THREAD_THREADEDIT']}"></a></then></if>
<if(checkmodpermissions("m_can_post_del"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=post_del"><img src="modoptions/post_del.gif" border=0 alt="{$lang->items['LANG_THREAD_POSTDEL']}" title="{$lang->items['LANG_THREAD_POSTDEL']}"></a></then></if>
<if(checkmodpermissions("m_can_thread_del"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=thread_del"><img src="modoptions/thread_del.gif" border=0 alt="{$lang->items['LANG_THREAD_THREADDEL']}" title="{$lang->items['LANG_THREAD_THREADDEL']}"></a></then></if>
<if(checkmodpermissions("m_can_thread_merge"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=thread_merge"><img src="modoptions/thread_merge.gif" border=0 alt="{$lang->items['LANG_THREAD_THREADMERGE']}" title="{$lang->items['LANG_THREAD_THREADMERGE']}"></a></then></if>
<if(checkmodpermissions("m_can_thread_cut"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=thread_cut"><img src="modoptions/thread_cut.gif" border=0 alt="{$lang->items['LANG_THREAD_THREADCUT']}" title="{$lang->items['LANG_THREAD_THREADCUT']}"></a></then></if>
<if(checkmodpermissions("m_can_thread_top"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=thread_top"><img src="modoptions/thread_top.gif" border=0 alt="{$lang->items['LANG_THREAD_THREADTOP']}" title="{$lang->items['LANG_THREAD_THREADTOP']}"></a></then></if>
<if(checkmodpermissions("m_can_add_poll"))>
<then>
<a href="modcp.php?threadid=$threadid&boardid=$boardid$session[hash]&postid=$posts[postid]&action=polladd"><img src="modoptions/poll.gif" border=0 alt="{$lang->items['LANG_THREAD_POLLADD']}" title="{$lang->items['LANG_THREAD_POLLADD']}"></a></then></if></then></if></td>

</td>
      </tr>
     </table>
    </td>
   </tr>
  </table></td>
 </tr>
</table>
<table style="width:{$style['tableinwidth']}">
 <tr>
  <td align="left" valign="top">$boardjump</td>
  <td align="right" valign="top"><span class="smallfont">$newthread $addreply</span></td>
 </tr>
</table>

<if(checkpermissions("can_rate_thread")==1 && $board['allowratings']==1 && !$thread['isvoted'])>
 <then>
 <table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
  
  <tr>
   <td class="tablea"><form action="threadrating.php" method="post"><table border="0" cellspacing="0" cellpadding="0" align="center" class="tablea_fc">
                      <tr align="center"> 
                        <td valign="bottom" align="right"><span class="normalfont"><b>{$lang->items['LANG_THREAD_THREADRATING']}</b>&nbsp;</span><span class="smallfont"><br /><br />
                          {$lang->items['LANG_THREAD_VERYPOOR']}&nbsp;<img src="{$style['imagefolder']}/thumbs_down.gif" border="0" alt="{$lang->items['LANG_THREAD_VERYPOOR']}" title="{$lang->items['LANG_THREAD_VERYPOOR']}" />&nbsp;</span> 
                        </td>
                        <td style="background-color: $colors[0]"><span class="smallfont"> 
                          <input type="radio" name="rating" value="1" onclick="this.form.submit();" />
                          <br />
                          1 </span></td>
                        <td style="background-color: $colors[1]"><span class="smallfont"> 
                          <input type="radio" name="rating" value="2" onclick="this.form.submit();" />
                          <br />
                          2 </span></td>
                        <td style="background-color: $colors[2]"><span class="smallfont"> 
                          <input type="radio" name="rating" value="3" onclick="this.form.submit();" />
                          <br />
                          3 </span></td>
                        <td style="background-color: $colors[3]"><span class="smallfont"> 
                          <input type="radio" name="rating" value="4" onclick="this.form.submit();" />
                          <br />
                          4 </span></td>
                        <td style="background-color: $colors[4]"><span class="smallfont"> 
                          <input type="radio" name="rating" value="5" onclick="this.form.submit();" />
                          <br />
                          5 </span></td>
                        <td style="background-color: $colors[5]"><span class="smallfont"> 
                          <input type="radio" name="rating" value="6" onclick="this.form.submit();" />
                          <br />
                          6 </span></td>
                        <td style="background-color: $colors[6]"><span class="smallfont"> 
                          <input type="radio" name="rating" value="7" onclick="this.form.submit();" />
                          <br />
                          7 </span></td>
                        <td style="background-color: $colors[7]"><span class="smallfont"> 
                          <input type="radio" name="rating" value="8" onclick="this.form.submit();" />
                          <br />
                          8 </span></td>
                        <td style="background-color: $colors[8]"><span class="smallfont"> 
                          <input type="radio" name="rating" value="9" onclick="this.form.submit();" />
                          <br />
                          9 </span></td>
                        <td style="background-color: $colors[9]"><span class="smallfont"> 
                          <input type="radio" name="rating" value="10" onclick="this.form.submit();" />
                          <br />
                          10 </span></td>
                        <td align="left" valign="bottom"><span class="smallfont">&nbsp;<img src="{$style['imagefolder']}/thumbs_up.gif" border="0" alt="{$lang->items['LANG_THREAD_VERYGOOD']}" title="{$lang->items['LANG_THREAD_VERYGOOD']}" />&nbsp;{$lang->items['LANG_THREAD_VERYGOOD']}</span></td>
                      </tr>
                    </table>
                    <input type="hidden" name="sid" value="$session[hash]" />
  <input type="hidden" name="threadid" value="$threadid" />
  <input type="hidden" name="page" value="{$t->page}" />
  </form></td>
  </tr>
   </table><br />
  </then>
</if>
 <table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
 <tr>
  <td class="tablea" align="left"><span class="smallfont"><b><a href="index.php{$SID_ARG_1ST}">$master_board_name</a>$navbar &raquo; </b><if($thread['prefix']!="")><then><span class="prefix">$thread[prefix]</span> </then></if><b>$thread[topic]</b></span></td>
 </tr>
</table>

$footer

</body>
</html>
kork06
Hallo,

das wäre folgender hack : klick

danke im Voraus ;-)

MFG

kork06
Fidikado
Vielen Dank für diesen Hack!! Das erspart mir sehr viel arbeit! Buttons passen zwar noch nicht zum style, aber das ist eher unwichtig *gg*
marcogorzi
ich hab da voll die probleme, den einzubauen (von hand, da schon hacks vorhanden sind)

der zeigt mir im header des post alles doppelt an, bzw. zerschiesst die vollkommend...

kann da mal einer bitte schauen ??

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
<?xml version="1.0" encoding="{$lang->items['LANG_GLOBAL_ENCODING']}"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{$lang->items['LANG_GLOBAL_DIRECTION']}" lang="{$lang->items['LANG_GLOBAL_LANGCODE']}" xml:lang="{$lang->items['LANG_GLOBAL_LANGCODE']}">
<head>
<title>$master_board_name | $board[title] | $thread[prefix] $thread[topic]</title>
$headinclude
<style type="text/css" media="screen">
div.smallfont{border:1px solid #000;  text-align:center; padding: 4px; width:143px;}
div.smallfont:hover {background: #fff;}
</style>
<script type="text/javascript">
<!--
NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
NS6 = (document.getElementById) ? 1 : 0;

activmenu = false;
timerRunning = false;

function checkTimer() {
 if(timerRunning)  {
  clearTimeout(timerRunning);
  timerRunning = false;
 }
}

function startTimer() {
 timerRunning = setTimeout("show();",1000);
}

function show(menu) {
 if(activmenu) {
  checkTimer();
  if(NS4) document.layers[activmenu].display = "none";
  if(NS6) document.getElementById(activmenu).style.display= "none";
  if(IE4) document.all(activmenu).style.display = "none";
  activmenu = false;
 }

 if(menu) {
  if(NS4) {
   document.layers[menu].display = "show";
   document.layers[menu].bgColor = "FFFFFF";
   document.layers[menu].onmouseover = checkTimer;
   document.layers[menu].onmouseout = startTimer;
  }

  if(IE4) {
   document.all(menu).style.display = "inline";
   document.all(menu).onmouseover = checkTimer;
   document.all(menu).onmouseout = startTimer;
  }

  if(NS6) {
   document.getElementById(menu).style.display = "inline";
   document.getElementById(menu).onmouseover = checkTimer;
   document.getElementById(menu).onmouseout = startTimer;
  }
  activmenu = menu;
 }
}

function hide(menu) {
 checkTimer();
 if(NS4) document.layers[menu].display = "none";
 if(NS6) document.getElementById(menu).style.display = "none";
 if(IE4) document.all(menu).style.display = "none";
 activmenu = false;
}

//-->
</script>
<link rel="contents" href="board.php?boardid=$boardid{$SID_ARG_2ND}" />
<if($t->pages>1)>
<then>
<link rel="first" href="thread.php?threadid=$threadid&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;page=1{$SID_ARG_2ND}" />
<link rel="last" href="thread.php?threadid=$threadid&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;page=$t->pages{$SID_ARG_2ND}" />

<if($t->pages>$t->page)><then><link rel="next" href="thread.php?threadid=$threadid&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;page=<expression>($t->page+1)</expression>{$SID_ARG_2ND}" /></then></if>
<if($t->page>1)><then><link rel="prev" href="thread.php?threadid=$threadid&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;page=<expression>($t->page-1)</expression>{$SID_ARG_2ND}" /></then></if>

</then>
</if>

<script type="text/javascript">
<!--
var imageMaxWidth = $picmaxwidth;
var imageMaxHeight = $picmaxheight;
//-->
</script>
<script type="text/javascript" src="js/images.js"></script>
<script type="text/javascript">
<!--
function rating(userid) {
 window.open("misc.php?action=userrating&userid="+userid+"{$SID_ARG_2ND_UN}", "moo", "toolbar=no,scrollbars=yes,resizable=yes,width=350,height=205");
}
function threadsrating(postid,postuserid) {
 window.open("threadsrating.php?action=show&postid="+postid+"&postuserid="+postuserid+"{$SID_ARG_2ND_UN}", "rating", "toolbar=no,scrollbars=yes,resizable=yes,width=550,height=225");
}

//-->
</script>
<script type="text/javascript">
<!--
function aboutme(userid) {
 window.open("aboutme.php?userid="+userid+"{$SID_ARG_2ND}", "moo", "toolbar=no,scrollbars=yes,resizable=yes,width=600,height=800");
}
//-->
</script>
<script type="text/javascript">
function openWindow(url, w, h)
{
   var padding;
   (navigator.appName == "Microsoft Internet Explorer") ? (padding = 10) : (padding = 0);

   var screenw = screen.availWidth;
   var screenh = screen.availHeight;
   var winw = (w + 15 + padding);
   var winh = (h + 15 + padding);
   var posx = (screenw / 2) - (winw / 2);
   var posy = (screenh / 2) - (winh / 2);

   var mywin = window.open(url,"mywin","top="+posy+",left="+posx+",width="+winw+",height="+winh+",menubar=no,locationbar=no,statusbar=no,resizable=no,toolbar=no,dependent=yes,scrollbars=no");
   mywin.focus();
   mywin.setTimeout('window.close()',20000);
}
</script>
</head>

<body onload="resizeImages();">
$header
$similar_thread
 <table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
 <tr>
  <td class="tablea"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
   <tr class="tablea_fc">
    <td align="left"><span class="smallfont"><b><a href="index.php{$SID_ARG_1ST}">$master_board_name</a>$navbar &raquo; </b><if($thread['prefix']!="")><then><span class="prefix">$thread[prefix]</span> </then></if><b>$thread[topic]</b></span></td>
    <td align="right"><span class="smallfont"><b>$usercbar</b></span></td>
   </tr>
  </table></td>
 </tr>
 <tr>
  <td class="tabletitle"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
   <tr class="tabletitle_fc">
    <td align="left"><span class="smallfont"><a href="thread.php?goto=lastpost&amp;threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_LASTPOST']}</a> | <a href="thread.php?goto=firstnew_thread&amp;threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_FIRST_NEWPOST']}</a></span></td>
    <td align="right" valign="top"><span class="smallfont"><a href="print.php?threadid=$threadid&amp;page=$t->page{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_PRINTTHREAD']}</a> | <if($turnoff_formmail==0)><then><a href="formmail.php?threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_SENDTOFRIEND']}</a> |</then></if> <a href="usercp.php?action=addsubscription&amp;threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_ADD_FAVORITES']}</a></span></td>
   </tr>
  </table></td>
 </tr>
</table>
<table style="width:{$style['tableinwidth']}">
 <tr>
  <td align="left" valign="bottom"><span class="smallfont">$t->pagelink</span></td>
  <td align="right" valign="bottom"><span class="smallfont"><if($boardok<>0)><then>
<a href="./hang.php?action=start{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/newthread.gif" border="0" alt="Hangman erstellen" title="Hangman erstellen" /></a></then><else>$newthread</else></if>$addreply</span></td>
 </tr>
</table>
$thread_poll
<table cellpadding="0" cellspacing="0" border="0" style="width:{$style['tableinwidth']}" align="center">
 <tr>
  <td><table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
   <tr>
    <td class="tablecat" align="left"<if(isset($t->postbitlist))><then> colspan="3"</then></if>><span class="normalfont"><a href="javascript:self.scrollTo(0,50000);"><img src="{$style['imagefolder']}/asc.gif" border="0" alt="{$lang->items['LANG_THREAD_GODOWN']}" title="{$lang->items['LANG_THREAD_GODOWN']}" /></a> <b>$thread[topic] $threadrating</b></span></td>
   </tr>

   <if(isset($t->postbitlist))>
   <then>

    <tr align="center">
     <td class="tabletitle" style="width:80%"><span class="smallfont"><b>{$lang->items['LANG_THREAD_POSTBITLIST']}</b></span></td>
     <td class="tabletitle" style="width:20%"><span class="smallfont"><b>{$lang->items['LANG_THREAD_AUTHOR']}</b></span></td>
     <td class="tabletitle" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_THREAD_DATE']}</b></span></td>
    </tr>

    <if($t->page!=1)>
    <then>

    <tr align="center">
     <td class="tableb" colspan="3"><span class="normalfont"><a href="thread.php?threadid=$threadid&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;page=<expression>($t->page-1)</expression>{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_PREVPAGE']}</a></span></td>
    </tr>

    </then>
    </if>

    {$t->postbitlist}

    <if($t->page<$t->pages)>
    <then>

    <tr align="center">
     <td class="tableb" colspan="3"><span class="normalfont"><a href="thread.php?threadid=$threadid&amp;threadview=$threadview&amp;hilight=$hilight&amp;hilightuser=$hilightuser&amp;page=<expression>($t->page+1)</expression>{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_NEXTPAGE']}</a></span></td>
    </tr>

    </then>
    </if>

   </table><br />
   <table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">

   </then>
   <else>
   	</table>
   </else>
   </if>


   <table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
   <tr>
    <td class="tabletitle" align="left" style="width:<expression>((2*$style['tableincellpadding'])+159)</expression>px" nowrap="nowrap"><span class="smallfont"><b>{$lang->items['LANG_THREAD_AUTHOR']}</b></span></td>
    <td class="tabletitle"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
     <tr class="tabletitle_fc">
      <td align="left"><span class="smallfont"><b>{$lang->items['LANG_THREAD_POST']}</b></span></td>
      <td align="right"><span class="smallfont"><b>&laquo;</b> <a href="thread.php?goto=nextoldest&amp;threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_NEXTOLDEST']}</a> | <a href="thread.php?goto=nextnewest&amp;threadid=$threadid{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_NEXTNEWEST']}</a> <b>&raquo;</b></span></td>
     </tr>
    </table></td>
   </tr>
  </table>
  $postbit
  <table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
   <tr>
    <td class="tabletitle" colspan="2">
     <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
      <tr class="tabletitle_fc">
       <td align="left"><span class="smallfont">$t->pagelink</span></td>
       <td align="right"><span class="smallfont"><a href="thread.php?threadid=$threadid&amp;threadview=1&amp;hilight=$hilight&amp;hilightuser=$hilightuser{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_THREADED']}</a> | <a href="thread.php?threadid=$threadid&amp;threadview=0&amp;hilight=$hilight&amp;hilightuser=$hilightuser{$SID_ARG_2ND}">{$lang->items['LANG_THREAD_FLATTHREAD']}</a></span></td>
      </tr>
     </table>
    </td>
   </tr>
  </table></td>
 </tr>
</table>
<table style="width:{$style['tableinwidth']}">
 <tr>
  <td align="left" valign="top">$boardjump</td>
  <td align="right" valign="bottom"><span class="smallfont"><if($boardok<>0)><then>
<a href="./hang.php?action=start{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/newthread.gif" border="0" alt="Hangman erstellen" title="Hangman erstellen" /></a></then><else>$newthread</else></if>$addreply</span></td>
 </tr>
</table>

<if(checkpermissions("can_rate_thread")==1 && $board['allowratings']==1 && !$thread['isvoted'])>
 <then>
 <table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">

  <tr>
   <td class="tablea"><form action="threadrating.php" method="post"><table border="0" cellspacing="0" cellpadding="0" align="center" class="tablea_fc">
                      <tr align="center">
                        <td valign="bottom" align="right"><span class="normalfont"><b>{$lang->items['LANG_THREAD_THREADRATING']}</b>&nbsp;</span><span class="smallfont"><br /><br />
                          {$lang->items['LANG_THREAD_VERYPOOR']}&nbsp;<img src="{$style['imagefolder']}/thumbs_down.gif" border="0" alt="{$lang->items['LANG_THREAD_VERYPOOR']}" title="{$lang->items['LANG_THREAD_VERYPOOR']}" />&nbsp;</span>
                        </td>
                        <td style="background-color: $colors[0]"><span class="smallfont">
                          <input type="radio" name="rating" value="1" onclick="this.form.submit();" />
                          <br />
                          1 </span></td>
                        <td style="background-color: $colors[1]"><span class="smallfont">
                          <input type="radio" name="rating" value="2" onclick="this.form.submit();" />
                          <br />
                          2 </span></td>
                        <td style="background-color: $colors[2]"><span class="smallfont">
                          <input type="radio" name="rating" value="3" onclick="this.form.submit();" />
                          <br />
                          3 </span></td>
                        <td style="background-color: $colors[3]"><span class="smallfont">
                          <input type="radio" name="rating" value="4" onclick="this.form.submit();" />
                          <br />
                          4 </span></td>
                        <td style="background-color: $colors[4]"><span class="smallfont">
                          <input type="radio" name="rating" value="5" onclick="this.form.submit();" />
                          <br />
                          5 </span></td>
                        <td style="background-color: $colors[5]"><span class="smallfont">
                          <input type="radio" name="rating" value="6" onclick="this.form.submit();" />
                          <br />
                          6 </span></td>
                        <td style="background-color: $colors[6]"><span class="smallfont">
                          <input type="radio" name="rating" value="7" onclick="this.form.submit();" />
                          <br />
                          7 </span></td>
                        <td style="background-color: $colors[7]"><span class="smallfont">
                          <input type="radio" name="rating" value="8" onclick="this.form.submit();" />
                          <br />
                          8 </span></td>
                        <td style="background-color: $colors[8]"><span class="smallfont">
                          <input type="radio" name="rating" value="9" onclick="this.form.submit();" />
                          <br />
                          9 </span></td>
                        <td style="background-color: $colors[9]"><span class="smallfont">
                          <input type="radio" name="rating" value="10" onclick="this.form.submit();" />
                          <br />
                          10 </span></td>
                        <td align="left" valign="bottom"><span class="smallfont">&nbsp;<img src="{$style['imagefolder']}/thumbs_up.gif" border="0" alt="{$lang->items['LANG_THREAD_VERYGOOD']}" title="{$lang->items['LANG_THREAD_VERYGOOD']}" />&nbsp;{$lang->items['LANG_THREAD_VERYGOOD']}</span></td>
                      </tr>
                    </table>
                    <input type="hidden" name="sid" value="$session[hash]" />
  <input type="hidden" name="threadid" value="$threadid" />
  <input type="hidden" name="page" value="{$t->page}" />
  </form></td>
  </tr>
   </table><br />
  </then>
</if>
$quickreply
 <table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
 <tr>
  <td class="tablea" align="left"><span class="smallfont"><b><a href="index.php{$SID_ARG_1ST}">$master_board_name</a>$navbar &raquo; </b><if($thread['prefix']!="")><then><span class="prefix">$thread[prefix]</span> </then></if><b>$thread[topic]</b></span></td>
 </tr>
</table>

<table style="width:{$style['tableinwidth']}">
 <tr>
  <td align="right">
   <if(checkmodpermissions())>
    <then>
     <form action="modcp.php" method="get" name="modoption">
      <select name="action">
       <option value="-1">{$lang->items['LANG_THREAD_ADMINOPTIONS']}</option>
       <if(checkmodpermissions("m_can_thread_close"))>
  	<then><option value="thread_close">{$lang->items['LANG_THREAD_THREADCLOSE']}</option></then>
       </if>
       <if(checkmodpermissions("m_can_thread_close"))>
  	<then><option value="thread_archiv">{$lang->items['LANG_THREAD_ARCHIVIEREN']}</option></then>
       </if>
       <if(checkmodpermissions("m_can_thread_move"))>
  	<then><option value="thread_move">{$lang->items['LANG_THREAD_THREADMOVE']}</option></then>
       </if>
       <if(checkmodpermissions("m_can_thread_edit"))>
  	<then><option value="thread_edit">{$lang->items['LANG_THREAD_THREADEDIT']}</option></then>
       </if>
       <if(checkmodpermissions("m_can_post_del"))>
  	<then><option value="post_del">{$lang->items['LANG_THREAD_POSTDEL']}</option></then>
       </if>
       <if(checkmodpermissions("m_can_thread_del"))>
  	<then><option value="thread_del">{$lang->items['LANG_THREAD_THREADDEL']}</option></then>
       </if>
       <if(checkmodpermissions("m_can_thread_merge"))>
  	<then><option value="thread_merge">{$lang->items['LANG_THREAD_THREADMERGE']}</option></then>
       </if>
       <if(checkmodpermissions("m_can_thread_cut"))>
  	<then><option value="thread_cut">{$lang->items['LANG_THREAD_THREADCUT']}</option></then>
       </if>
       <if(checkmodpermissions("m_can_thread_top"))>
  	<then><option value="thread_top">{$lang->items['LANG_THREAD_THREADTOP']}</option></then>
       </if>
       <if(checkmodpermissions("m_can_add_poll") && !$thread[pollid])>
  	<then><option value="polladd">{$lang->items['LANG_THREAD_POLLADD']}</option></then>
       </if>
      </select>
      <input src="{$style['imagefolder']}/go.gif" type="image" />
      <input type="hidden" name="threadid" value="$threadid" />
      <input type="hidden" name="sid" value="$session[hash]" />
     </form>
    </then>
    <else>
     <if($wbbuserdata['userid'] && $wbbuserdata['userid']==$thread['starterid'] && (checkpermissions("can_close_own_topic")==1 || checkpermissions("can_del_own_topic")==1 || checkpermissions("can_edit_own_topic")==1 || checkpermissions("can_move_own_topic")==1))>
      <then>
       <form action="modcp.php" method="get" name="modoption">
        <select name="action">
         <option value="-1">{$lang->items['LANG_THREAD_OTHEROPTIONS']}</option>
         <if(checkpermissions("can_close_own_topic")==1)>
  	  <then><option value="thread_close">{$lang->items['LANG_THREAD_THREADCLOSE']}</option></then>
         </if>
         <if(checkpermissions("can_move_own_topic")==1)>
  	  <then><option value="thread_move">{$lang->items['LANG_THREAD_THREADMOVE']}</option></then>
         </if>
         <if(checkpermissions("can_edit_own_topic")==1)>
  	  <then><option value="thread_edit">{$lang->items['LANG_THREAD_THREADEDIT']}</option></then>
         </if>
         <if(checkpermissions("can_del_own_topic")==1)>
  	  <then><option value="thread_del">{$lang->items['LANG_THREAD_THREADDEL']}</option></then>
         </if>
        </select>
        <input src="{$style['imagefolder']}/go.gif" type="image" />
        <input type="hidden" name="threadid" value="$threadid" />
        <input type="hidden" name="sid" value="$session[hash]" />
       </form>
      </then>
     </if>
    </else>
   </if>
  </td>
 </tr>
</table>
$footer

</body>
</html>
-Homer-
@ marcogorzi: Screenshot bitte
LadyDana
Hallo Homer

Gaaaanz grosses Lob für diesen Hack!!! Genau das hab ich gebraucht! Ist doch echt so viel einfacher nun !

Danke! Freude