Seite 1 von 1
Speicherplatz der PM unterhalb anordnen.
Verfasst: 20.03.2005 13:53
von iloveratte1
Hallo hab mal ne frage wie kann man die anzeige des Platzverbrauches der PM's unterhalb von "Posteingang Gesendete Nachrichten Postausgang Archiv " anordnen, so das es die 90 % breite des Forums ausnützt, und beim Menü "Posteingang Gesendete Nachrichten Postausgang Archiv * auch die ganze breite Platz hatt.
jetzt ist das ganze ja so ziemlich zusammengedrückt..
ich hoffe da weiss jemand rat..
mfg
Stephan
Verfasst: 20.03.2005 15:05
von Leuchte
Verlink mal deine templates/xxx/privmsg_body.tpl
Verfasst: 20.03.2005 16:34
von iloveratte1
Ok hier.
Code: Alles auswählen
<script language="Javascript" type="text/javascript">
//
// Should really check the browser to stop this whining ...
//
function select_switch(status)
{
for (i = 0; i < document.privmsg_list.length; i++)
{
document.privmsg_list.elements[i].checked = status;
}
}
</script>
<table border="0" cellspacing="0" cellpadding="0" align="center" width="100%">
<tr>
<td valign="top" align="center" width="100%">
<table height="40" cellspacing="2" cellpadding="2" border="0">
<tr valign="middle">
<td>{INBOX_IMG}</td>
<td><span class="cattitle">{INBOX} </span></td>
<td>{SENTBOX_IMG}</td>
<td><span class="cattitle">{SENTBOX} </span></td>
<td>{OUTBOX_IMG}</td>
<td><span class="cattitle">{OUTBOX} </span></td>
<td>{SAVEBOX_IMG}</td>
<td><span class="cattitle">{SAVEBOX} </span></td>
</tr>
</table>
</td>
<td align="right">
<!-- BEGIN switch_box_size_notice -->
<table width="175" cellspacing="1" cellpadding="2" border="0" class="bodyline">
<tr>
<td colspan="3" width="175" class="row1" nowrap="nowrap"><span class="gensmall">{BOX_SIZE_STATUS}</span></td>
</tr>
<tr>
<td colspan="3" width="175" class="row2">
<table cellspacing="0" cellpadding="1" border="0">
<tr>
<td bgcolor="{T_TD_COLOR2}"><img src="templates/Sommer/images/spacer.gif" width="{INBOX_LIMIT_IMG_WIDTH}" height="8" alt="{INBOX_LIMIT_PERCENT}" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="33%" class="row1"><span class="gensmall">0%</span></td>
<td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
<td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
</tr>
</table>
<!-- END switch_box_size_notice -->
</td>
</tr>
</table>
<br clear="all" />
<form method="post" name="privmsg_list" action="{S_PRIVMSGS_ACTION}">
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left" valign="middle">{POST_PM_IMG}</td>
<td align="left" width="100%"> <span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
<td align="right" nowrap="nowrap"><span class="gensmall">{L_DISPLAY_MESSAGES}:
<select name="msgdays">{S_SELECT_MSG_DAYS}
</select>
<input type="submit" value="{L_GO}" name="submit_msgdays" class="liteoption" />
</span></td>
</tr>
</table>
<table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline">
<tr>
<th width="5%" height="25" class="thCornerL" nowrap="nowrap"> {L_FLAG} </th>
<th width="55%" class="thTop" nowrap="nowrap"> {L_SUBJECT} </th>
<th width="20%" class="thTop" nowrap="nowrap"> {L_FROM_OR_TO} </th>
<th width="15%" class="thTop" nowrap="nowrap"> {L_DATE} </th>
<th width="5%" class="thCornerR" nowrap="nowrap"> {L_MARK} </th>
</tr>
<!-- BEGIN listrow -->
<tr>
<td class="{listrow.ROW_CLASS}" width="5%" align="center" valign="middle"><img src="{listrow.PRIVMSG_FOLDER_IMG}" width="19" height="18" alt="{listrow.L_PRIVMSG_FOLDER_ALT}" title="{listrow.L_PRIVMSG_FOLDER_ALT}" /></td>
<td width="55%" valign="middle" class="{listrow.ROW_CLASS}"><span class="topictitle"> <a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}</a></span></td>
<td width="20%" valign="middle" align="center" class="{listrow.ROW_CLASS}"><span class="name"> <a href="{listrow.U_FROM_USER_PROFILE}" class="name">{listrow.FROM}</a></span></td>
<td width="15%" align="center" valign="middle" class="{listrow.ROW_CLASS}"><span class="postdetails">{listrow.DATE}</span></td>
<td width="5%" align="center" valign="middle" class="{listrow.ROW_CLASS}"><span class="postdetails">
<input type="checkbox" name="mark[]2" value="{listrow.S_MARK_ID}" />
</span></td>
</tr>
<!-- END listrow -->
<!-- BEGIN switch_no_messages -->
<tr>
<td class="row1" colspan="5" align="center" valign="middle"><span class="gen">{L_NO_MESSAGES}</span></td>
</tr>
<!-- END switch_no_messages -->
<tr>
<td class="catBottom" colspan="5" height="28" align="right"> {S_HIDDEN_FIELDS}
<input type="submit" name="save" value="{L_SAVE_MARKED}" class="mainoption" />
<input type="submit" name="delete" value="{L_DELETE_MARKED}" class="liteoption" />
<input type="submit" name="deleteall" value="{L_DELETE_ALL}" class="liteoption" />
</td>
</tr>
</table>
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
<tr>
<td align="left" valign="middle"><span class="nav">{POST_PM_IMG}</span></td>
<td align="left" valign="middle" width="100%"><span class="nav">{PAGE_NUMBER}</span></td>
<td align="right" valign="top" nowrap="nowrap"><b><span class="gensmall"><a href="javascript:select_switch(true);" class="gensmall">{L_MARK_ALL}</a> :: <a href="javascript:select_switch(false);" class="gensmall">{L_UNMARK_ALL}</a></span></b><br /><span class="nav">{PAGINATION}<br /></span><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>
</form>
<table width="100%" border="0">
<tr>
<td align="right" valign="top">{JUMPBOX}</td>
</tr>
</table>
Verfasst: 20.03.2005 20:37
von ATARI
find & delete:
Code: Alles auswählen
<table border="0" cellspacing="0" cellpadding="0" align="center" width="100%">
<tr>
<td valign="top" align="center" width="100%">
<table height="40" cellspacing="2" cellpadding="2" border="0">
<tr valign="middle">
<td>{INBOX_IMG}</td>
<td><span class="cattitle">{INBOX} </span></td>
<td>{SENTBOX_IMG}</td>
<td><span class="cattitle">{SENTBOX} </span></td>
<td>{OUTBOX_IMG}</td>
<td><span class="cattitle">{OUTBOX} </span></td>
<td>{SAVEBOX_IMG}</td>
<td><span class="cattitle">{SAVEBOX} </span></td>
</tr>
</table>
find:
after, add:
Code: Alles auswählen
<table border="0" cellspacing="0" cellpadding="0" align="center" width="100%">
<tr>
<td valign="top" align="center" width="100%">
<table height="40" cellspacing="2" cellpadding="2" border="0">
<tr valign="middle">
<td>{INBOX_IMG}</td>
<td><span class="cattitle">{INBOX} </span></td>
<td>{SENTBOX_IMG}</td>
<td><span class="cattitle">{SENTBOX} </span></td>
<td>{OUTBOX_IMG}</td>
<td><span class="cattitle">{OUTBOX} </span></td>
<td>{SAVEBOX_IMG}</td>
<td><span class="cattitle">{SAVEBOX} </span></td>
</tr>
</table>
Verfasst: 21.03.2005 07:12
von iloveratte1
Danke für die Hilfe war aber falsch
Hm da habt Ihr mich glaub etwas missverstanden, ich hab mal ein Bild gemacht so wie ich es meinte..
[ externes Bild ]
Es war so gemeint.
Gruss Stephan
Verfasst: 23.03.2005 12:37
von iloveratte1
Kann mir keiner Helfen?
Ist das überhaupt machbar?
Gruss Stephan
Verfasst: 23.03.2005 12:46
von Markus67
Hi ...
suche und lösche:
Code: Alles auswählen
<td align="right">
<!-- BEGIN switch_box_size_notice -->
<table width="175" cellspacing="1" cellpadding="2" border="0" class="bodyline">
<tr>
<td colspan="3" width="175" class="row1" nowrap="nowrap"><span class="gensmall">
{BOX_SIZE_STATUS}</span></td>
</tr>
<tr>
<td colspan="3" width="175" class="row2">
<table cellspacing="0" cellpadding="1" border="0">
<tr>
<td bgcolor="{T_TD_COLOR2}"><img src="templates/Sommer/images/spacer.gif" width="{INBOX_LIMIT_IMG_WIDTH}" height="8" alt="{INBOX_LIMIT_PERCENT}" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="33%" class="row1"><span class="gensmall">0%</span></td>
<td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
<td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
</tr>
</table>
<!-- END switch_box_size_notice -->
</td>
suche:
davor einfügen:
Code: Alles auswählen
<br />
<!-- BEGIN switch_box_size_notice -->
<table align="center" width="60%" cellspacing="1" cellpadding="2" border="0" class="bodyline">
<tr>
<td colspan="6" width="175" class="row1" nowrap="nowrap"><span class="gensmall">
{BOX_SIZE_STATUS}</span></td>
</tr>
<tr>
<td colspan="6" width="175" class="row2">
<table cellspacing="0" cellpadding="1" border="0">
<tr>
<td bgcolor="{T_TD_COLOR2}"><img src="templates/Sommer/images/spacer.gif" width="{INBOX_LIMIT_IMG_WIDTH}" height="8" alt="{INBOX_LIMIT_PERCENT}" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="16%" align="left" class="row1"><span class="gensmall">0%</span></td>
<td width="17%" align="center" class="row1"><span class="gensmall">20%</span></td>
<td width="17%" align="center" class="row1"><span class="gensmall">40%</span></td>
<td width="17%" align="center" class="row1"><span class="gensmall">60%</span></td>
<td width="17%" align="center" class="row1"><span class="gensmall">80%</span></td>
<td width="16%" align="right" class="row1"><span class="gensmall">100%</span></td>
</tr>
</table>
<!-- END switch_box_size_notice -->
Markus
Verfasst: 23.03.2005 12:55
von iloveratte1
Oh, ja cool. das stiling ist nun prima, allerdings gibt es nun ein anderes Problem. es heisst: "Dein Posteingang ist zu 93% voll" anzeigen tut der Balken allerdings nicht einmal die Hälfte..
und der text macht ein zeilenumbriuch, dabei sollte der komlette Text: Dein Posteingang ist zu 93% voll" in einer linie stehen, zentriert.
was muss ich da noch ändern?
vielen Dank Gruss Stephan
Verfasst: 23.03.2005 13:01
von Markus67
Hi ...
ersetze in dem neuen Code (2x)
mit:
Das hab ich übersehen
Markus
Verfasst: 23.03.2005 13:07
von iloveratte1
Hm, ja nun scheint es zu funktionieren, recht herzlichen Dank.
Gruss Stephan