NeLL
Screenshot:
[IMG]http://i97.photobucket.com/albums/l222/rockaneLLa/Trash/pms.gif[/IMG]
Da ich ein recht schmales Forum habe (550px, siehe auch UserCP-Bar), hätte ich gerne die links eingerahmten Sachen
über der Auflistung der privaten Nachrichten. Das soll sich dann natürlich auch über die gesamte, gleiche Breite erstrecken.
Ich habe bereits versucht in der pms.tpl etwas hin- und her zu verschieben, aber das bekommt der Amateur in mir einfach nicht hin.
Freue mich über jede kleine Hilfe - dankeschön.
hardcore-punk
Da gabs mal so eine Templateveränderung irgendwie... ich glaub community-lösungen oder so... weiß aber leider nichtmehr genau,... ich hab jedenfalls meine pms.tpl für schmale Designs danach umgebaut:
mach sicherheitshalber noch ein back-up von der alten datei!
pms.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:
|
<?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 | {$lang->items['LANG_USERCP_TITLE']} | {$lang->items['LANG_GLOBAL_PMS']} | <if($action=="tracking")><then>{$lang->items['LANG_PMS_TRACKING']}</then><else><if($folderid!="outbox")><then>$folder[title]</then><else>{$lang->items['LANG_PMS_OUTBOX']}</else></if></else></if></title>
$headinclude
<script type="text/javascript">
<!--
function select_all(status,theform) {
for (i=0;i<theform.length;i++) {
if(theform.elements[i].name=="pmid[]") theform.elements[i].checked = status;
}
}
//-->
</script>
</head>
<body class="standard">
$header
<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="forum.php{$SID_ARG_1ST}">$master_board_name</a> » <a href="usercp.php{$SID_ARG_1ST}">{$lang->items['LANG_USERCP_TITLE']}</a> » <a href="pms.php{$SID_ARG_1ST}">{$lang->items['LANG_GLOBAL_PMS']}</a> » <if($action=="tracking")><then>{$lang->items['LANG_PMS_TRACKING']}</then><else><if($folderid!="outbox")><then>$folder[title]</then><else>{$lang->items['LANG_PMS_OUTBOX']}</else></if></else></if></b></span></td>
<td align="right"><span class="smallfont"><b>$usercbar</b></span></td>
</tr>
</table></td>
</tr>
</table><br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tabletitle" colspan="3" align="left"><span class="normalfont"><b>Übersicht</b></span></td>
</tr>
<tr align="center">
<td class="tablea" style="width:33%" valign="top" align="center">
<!-- Ordner -->
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
<tr>
<td class="tabletitle" colspan="<if($folder_bit)><then>4</then><else>3</else></if>" align="center"><span class="normalfont"><b>{$lang->items['LANG_PMS_FOLDER']}</b></span></td>
</tr>
<tr align="left">
<td class="tablea"><img src="{$style['imagefolder']}/msg-folder.gif" alt="" title="" border="0" /></td>
<td class="tableb" style="width:100%"<if($folder_bit)><then> colspan="2"</then></if>><span class="normalfont"><a href="pms.php{$SID_ARG_1ST}">{$lang->items['LANG_PMS_INBOX']}</a></span></td>
<td class="tablea"><span class="normalfont">$inbox_count</span></td>
</tr>
$folder_bit
<tr align="left">
<td class="tablea"><img src="{$style['imagefolder']}/msg-folder.gif" alt="" title="" border="0" /></td>
<td class="tableb" style="width:100%"<if($folder_bit)><then> colspan="2"</then></if>><span class="normalfont"><a href="pms.php?folderid=outbox{$SID_ARG_2ND}">{$lang->items['LANG_PMS_OUTBOX']}</a></span></td>
<td class="tablea"><span class="normalfont">$outbox_count</span></td>
</tr>
<tr align="left">
<td class="tablea"><img src="{$style['imagefolder']}/msg-folder.gif" alt="" title="" border="0" /></td>
<td class="tableb" style="width:100%"<if($folder_bit)><then> colspan="2"</then></if>><span class="normalfont"><a href="pms.php?action=tracking{$SID_ARG_2ND}">{$lang->items['LANG_PMS_TRACKING']}</a></span></td>
<td class="tablea"><span class="normalfont">$tracking_count</span></td>
</tr>
</table>
<!-- Ordner Ende -->
</td>
<td class="tableb" style="width:33%" valign="top" align="center">
<!-- Datenmenge -->
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
<tr>
<td class="tabletitle" colspan="3" align="center"><span class="normalfont"><b>{$lang->items['LANG_PMS_DATA_USAGE']}</b></span></td>
</tr>
<tr>
<td align="left" class="tablea" colspan="3"><span class="smallfont">{$lang->items['LANG_PMS_FOLDER_USAGE']}</span></td>
</tr>
<tr>
<td align="left" class="tableb" colspan="3"><table cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="left" class="tabletitle"><img src="{$style['imagefolder']}/spacer.gif" border="0" height="21" width="$x" alt="" /></td>
</tr>
</table></td>
</tr>
<tr align="left">
<td class="tablea" style="width:33%"><span class="smallfont">0%</span></td>
<td class="tablea" style="width:33%" align="center"><span class="smallfont">50%</span></td>
<td class="tablea" style="width:33%" align="right"><span class="smallfont">100%</span></td>
</tr>
</table>
<!-- Datenmenge Ende -->
</td>
<td class="tablea" style="width:33%" valign="top" align="center">
<!-- Ordner erstellen -->
<if($user_folder_count < $wbbuserdata['max_pms_folders'])>
<then>
<form action="pms.php" method="post"><input type="hidden" name="" value="" />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
<tr>
<td class="tabletitle" colspan="2" align="center"><span class="normalfont"><b>{$lang->items['LANG_PMS_CREATE_FOLDER']}</b></span></td>
</tr>
<tr align="left">
<td class="tablea"><img src="{$style['imagefolder']}/msg-folder.gif" alt="" title="" border="0" /></td>
<td class="tableb" style="width:100%"><input type="text" name="foldertitle" maxlength="100" value="" class="input" /> <input src="{$style['imagefolder']}/go.gif" type="image" /></td>
</tr>
</table>
<input type="hidden" name="sid" value="$session[hash]" />
<input type="hidden" name="action" value="createfolder" />
<br /></form>
</then>
</if>
<if($folderid!="outbox" && $folderid!=0)>
<then>
<form action="pms.php" method="post"><input type="hidden" name="" value="" />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
<tr>
<td class="tabletitle" colspan="2" align="center"><span class="normalfont"><b>{$lang->items['LANG_PMS_RENAME']}</b></span></td>
</tr>
<tr align="left">
<td class="tablea"><img src="{$style['imagefolder']}/msg-folder.gif" alt="" title="" border="0" /></td>
<td class="tableb" style="width:100%"><input type="text" name="foldertitle" maxlength="100" value="$folder[title]" class="input" /> <input src="{$style['imagefolder']}/go.gif" type="image" /></td>
</tr>
</table>
<input type="hidden" name="folderid" value="$folderid" />
<input type="hidden" name="sid" value="$session[hash]" />
<input type="hidden" name="action" value="renamefolder" />
<br /></form>
</then>
</if>
<!-- Ordner erstellen Ende -->
</td>
</tr>
</table>
<br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tabletitle" colspan="3" align="left"><span class="normalfont"><b>Nachrichten</b></span></td>
</tr>
<!-- Nachrichten -->
<if($action=="tracking")>
<then>
<tr>
<td align="left" style="width:100%" valign="top" colspan="3" class="tablea">
$unread
$read
<table style="width:100%">
<tr align="left">
<td valign="top"><a href="pms.php?action=newpm{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/newpm.gif" border="0" alt="{$lang->items['LANG_PMS_NEWPM']}" title="{$lang->items['LANG_PMS_NEWPM']}" /></a></td>
<td align="right" nowrap="nowrap"><form method="post" action="pms.php"><input type="hidden" name="" value="" />
<input type="hidden" name="action" value="tracking" />
<input type="hidden" name="sid" value="$session[hash]" />
<select name="daysprune">
<option value="1000">{$lang->items['LANG_PMS_SHOWALL']}</option>
<option value="1500"$d_select[1500]>{$lang->items['LANG_PMS_LASTVISIT']}</option>
<option value="1"$d_select[1]>{$lang->items['LANG_PMS_NEWER_1']}</option>
<option value="2"$d_select[2]>{$lang->items['LANG_PMS_NEWER_2']}</option>
<option value="5"$d_select[5]>{$lang->items['LANG_PMS_NEWER_5']}</option>
<option value="10"$d_select[10]>{$lang->items['LANG_PMS_NEWER_10']}</option>
<option value="20"$d_select[20]>{$lang->items['LANG_PMS_NEWER_20']}</option>
<option value="30"$d_select[30]>{$lang->items['LANG_PMS_NEWER_30']}</option>
<option value="45"$d_select[45]>{$lang->items['LANG_PMS_NEWER_45']}</option>
<option value="60"$d_select[60]>{$lang->items['LANG_PMS_NEWER_60']}</option>
<option value="75"$d_select[75]>{$lang->items['LANG_PMS_NEWER_75']}</option>
<option value="100"$d_select[100]>{$lang->items['LANG_PMS_NEWER_100']}</option>
<option value="365"$d_select[365]>{$lang->items['LANG_PMS_NEWER_365']}</option>
</select> <input src="{$style['imagefolder']}/go.gif" type="image" /></form></td>
</tr></table>
</then>
<else>
<tr>
<td style="width:100%" valign="top" colspan="3" class="tablea"><form action="pms.php" method="post"><input type="hidden" name="" value="" />
<if($pms_bit!="")>
<then>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" style="width:100%">
<tr align="center">
<td class="tabletitle" colspan="<if($folderid=="outbox")><then>2</then><else>3</else></if>" style="width:60%"><span class="normalfont"><b><a href="pms.php?folderid=$folderid&sortfield=subject&sortorder=<if($sortfield == 'subject' && $sortorder == 'ASC')><then>DESC</then><else>ASC</else></if>{$SID_ARG_2ND}">{$lang->items['LANG_PMS_TITLE_SUBJECT']}</a></b> <if($sortfield == 'subject')><then><a href="pms.php?folderid=$folderid&sortfield=$sortfield&sortorder=<if($sortorder == 'DESC')><then>ASC</then><else>DESC</else></if>{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/<if($sortorder == 'DESC')><then>sortasc.gif</then><else>sortdesc.gif</else></if>" alt="" border="0" /></a></then></if></span></td>
<td class="tabletitle" style="width:20%"><span class="normalfont"><b><if($folderid=="outbox")><then>{$lang->items['LANG_PMS_TITLE_TO']}</then><else><a href="pms.php?folderid=$folderid&sortfield=username&sortorder=<if($sortfield == 'username' && $sortorder == 'ASC')><then>DESC</then><else>ASC</else></if>{$SID_ARG_2ND}">{$lang->items['LANG_PMS_TITLE_BY']}</a></else></if></b><if($folderid != 'outbox')><then> <if($sortfield == 'username')><then><a href="pms.php?folderid=$folderid&sortfield=$sortfield&sortorder=<if($sortorder == 'DESC')><then>ASC</then><else>DESC</else></if>{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/<if($sortorder == 'DESC')><then>sortasc.gif</then><else>sortdesc.gif</else></if>" alt="" border="0" /></a></then></if></then></if></span></td>
<td class="tabletitle" style="width:20%"><span class="normalfont"><b><a href="pms.php?folderid=$folderid&sortfield=sendtime&sortorder=<if($sortfield == 'sendtime' && $sortorder == 'ASC')><then>DESC</then><else>ASC</else></if>{$SID_ARG_2ND}">{$lang->items['LANG_PMS_TITLE_DATE']}</a></b> <if($sortfield == 'sendtime')><then><a href="pms.php?folderid=$folderid&sortfield=$sortfield&sortorder=<if($sortorder == 'DESC')><then>ASC</then><else>DESC</else></if>{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/<if($sortorder == 'DESC')><then>sortasc.gif</then><else>sortdesc.gif</else></if>" alt="" border="0" /></a></then></if></span></td>
<td class="tabletitle"><input type="checkbox" name="all" value="1" onclick="select_all(this.checked,this.form)" /></td>
</tr>
$pms_bit
</table>
</then>
</if>
<table style="width:100%">
<tr align="left">
<td><a href="pms.php?action=newpm{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/newpm.gif" border="0" alt="{$lang->items['LANG_PMS_CREATE_NEWPM']}" title="{$lang->items['LANG_PMS_CREATE_NEWPM']}" /></a></td>
<td style="width:100%" nowrap="nowrap"><select name="daysprune">
<option value="1000">{$lang->items['LANG_PMS_SHOWALL']}</option>
<option value="1500"$d_select[1500]>{$lang->items['LANG_PMS_LASTVISIT']}</option>
<option value="1"$d_select[1]>{$lang->items['LANG_PMS_NEWER_1']}</option>
<option value="2"$d_select[2]>{$lang->items['LANG_PMS_NEWER_2']}</option>
<option value="5"$d_select[5]>{$lang->items['LANG_PMS_NEWER_5']}</option>
<option value="10"$d_select[10]>{$lang->items['LANG_PMS_NEWER_10']}</option>
<option value="20"$d_select[20]>{$lang->items['LANG_PMS_NEWER_20']}</option>
<option value="30"$d_select[30]>{$lang->items['LANG_PMS_NEWER_30']}</option>
<option value="45"$d_select[45]>{$lang->items['LANG_PMS_NEWER_45']}</option>
<option value="60"$d_select[60]>{$lang->items['LANG_PMS_NEWER_60']}</option>
<option value="75"$d_select[75]>{$lang->items['LANG_PMS_NEWER_75']}</option>
<option value="100"$d_select[100]>{$lang->items['LANG_PMS_NEWER_100']}</option>
<option value="365"$d_select[365]>{$lang->items['LANG_PMS_NEWER_365']}</option>
</select> <input src="{$style['imagefolder']}/go.gif" type="image" /></td>
<td align="right" nowrap="nowrap"><select name="action">
<option value="">{$lang->items['LANG_PMS_CHOSE']}</option>
<option value="delmark">{$lang->items['LANG_PMS_DELETE']}</option>
<option value="zipdownload">{$lang->items['LANG_PMS_ZIPDOWNLOAD']}</option>
$moveto_options
<option value="">----------------------------</option>
<option value="delall">{$lang->items['LANG_PMS_DELETE_ALL']}</option>
</select> <input src="{$style['imagefolder']}/go.gif" type="image" /></td>
</tr>
</table>
<input type="hidden" name="folderid" value="$folderid" />
<input type="hidden" name="sid" value="$session[hash]" />
</form>
</td>
</else>
</if>
</tr>
</table><br />
$footer
</body>
</html>
|
|
NeLL
Dankeschön, das ist schon mal alles andere als übel.
Bei mir sieht's jetzt allerdings so aus:
[IMG]http://i97.photobucket.com/albums/l222/rockaneLLa/pms2.gif[/IMG]
Kann man die Breite anpassen und ggf. die Datenmenge als einzelne Tabelle darunter machen (also 1. Tabelle Ordnerübersicht & Ordner erstellen, 2. Tabelle Datenmenge, 3. Tabelle PNs)?