1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 03:54:10 +01:00
Meik Sievertsen a0f8e1323a - clean up marklist calls (global function)
- added new feature: test out others permissions (admin permissions will not be copied)
- changed attachment processing by directly using the template engine
- fixed some attachment related bugs
- additional tiny fixes


git-svn-id: file:///svn/phpbb/trunk@5790 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-17 13:09:50 +00:00

160 lines
5.6 KiB
HTML

<!-- INCLUDE overall_header.html -->
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="20%" valign="top">
<!-- IF S_SHOW_PM_BOX and S_POST_ACTION -->
<form action="{S_POST_ACTION}" method="post" name="post"{S_FORM_ENCTYPE}>
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th>{L_PM_TO}</th>
</tr>
<tr>
<td class="row1"><b class="genmed">{L_USERNAME}:</b></td>
</tr>
<tr>
<td class="row2"><input class="post" type="text" name="username" size="20" maxlength="40" value="" />&nbsp;<input class="post" type="submit" name="add_to" value="{L_ADD}" /></td>
</tr>
<!-- IF S_ALLOW_MASS_PM -->
<tr>
<td class="row1"><b class="genmed">{L_USERNAMES}:</b></td>
</tr>
<tr>
<td class="row2"><textarea name="username_list" rows="5" cols="22"></textarea><br />
<ul class="nav" style="margin: 0px; padding: 0px; list-style-type: none; line-height: 175%;">
<li>&#187; <a href="{U_SEARCH_USER}" onclick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=500,resizable=yes,scrollbars=yes,WIDTH=740');return false">{L_FIND_USERNAME}</a></li>
</ul>
</td>
</tr>
<!-- ENDIF -->
<!-- IF S_GROUP_OPTIONS -->
<tr>
<td class="row1"><b class="genmed">{L_USERGROUPS}:</b></td>
</tr>
<tr>
<td class="row2"><select name="group_list[]" multiple="true" size="5" style="width:150px">{S_GROUP_OPTIONS}</select></td>
</tr>
<!-- ENDIF -->
<!-- IF S_ALLOW_MASS_PM -->
<tr>
<td class="row1"><div style="float:left">&nbsp;<input class="post" type="submit" name="add_bcc" value="{L_ADD_BCC}" />&nbsp;</div><div style="float:right">&nbsp;<input class="post" type="submit" name="add_to" value="{L_ADD_TO}" />&nbsp;</div></td>
</tr>
<!-- ENDIF -->
</table>
<div style="padding: 2px;"></div>
<!-- ENDIF -->
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th>{L_OPTIONS}</th>
</tr>
<!-- BEGIN l_block1 -->
<tr>
<!-- IF l_block1.S_SELECTED -->
<td class="row1"><b class="nav">{l_block1.L_TITLE}</b>
<!-- IF S_PRIVMSGS -->
<!-- the ! at the beginning of the loop name forces the loop to be not a nested one of l_block1 (it gets parsed seperatly) -->
<!-- BEGIN !folder -->
<!-- IF folder.S_FIRST_ROW -->
<ul class="nav" style="margin: 0px; padding: 0px; list-style-type: none; line-height: 175%;">
<!-- ENDIF -->
<!-- IF folder.S_CUR_FOLDER -->
<li class="row2" style="padding: 1px 0;">&#187; <a href="{folder.U_FOLDER}">{folder.FOLDER_NAME}<!-- IF folder.S_UNREAD_MESSAGES --> ({folder.UNREAD_MESSAGES})<!-- ENDIF --></a></li>
<!-- ELSE -->
<li>&#187; <a href="{folder.U_FOLDER}">{folder.FOLDER_NAME}<!-- IF folder.S_UNREAD_MESSAGES --> ({folder.UNREAD_MESSAGES})<!-- ENDIF --></a></li>
<!-- ENDIF -->
<!-- IF folder.S_LAST_ROW -->
</ul>
<hr />
<!-- ENDIF -->
<!-- END !folder -->
<!-- ENDIF -->
<ul class="nav" style="margin: 0px; padding: 0px; list-style-type: none; line-height: 175%;">
<!-- BEGIN l_block2 -->
<li>&#187; <!-- IF l_block1.l_block2.S_SELECTED --><b>{l_block1.l_block2.L_TITLE}</b><!-- ELSE --><a href="{l_block1.l_block2.U_TITLE}">{l_block1.l_block2.L_TITLE}</a><!-- ENDIF --></li>
<!-- END l_block2 -->
</ul>
<!-- ELSE -->
<td class="row2" nowrap="nowrap" onmouseover="this.className='row1'" onmouseout="this.className='row2'" onclick="location.href='{l_block1.U_TITLE}'"><a class="nav" href="{l_block1.U_TITLE}">{l_block1.L_TITLE}</a>
<!-- ENDIF -->
</td>
</tr>
<!-- END l_block1 -->
</table>
<div style="padding: 2px;"></div>
<!-- IF S_SHOW_COLOUR_LEGEND -->
<table class="tablebg" width="100%" cellspacing="1" cellpadding="0">
<tr>
<th colspan="2">{L_MESSAGE_COLOURS}</th>
</tr>
<!-- BEGIN pm_colour_info -->
<tr>
<!-- IF not pm_colour_info.IMG -->
<td class="row1 {pm_colour_info.CLASS}" width="5"><img src="images/spacer.gif" width="5" alt="{pm_colour_info.LANG}" border="0" /></td>
<!-- ELSE -->
<td class="row1" width="25" align="center">{pm_colour_info.IMG}</td>
<!-- ENDIF -->
<td class="row1"><span class="genmed">{pm_colour_info.LANG}</span></td>
</tr>
<!-- END pm_colour_info -->
</table>
<div style="padding: 2px;"></div>
<!-- ENDIF -->
<!-- IF S_ZEBRA_ENABLED -->
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th>{L_FRIENDS}</th>
</tr>
<tr>
<td class="row1" align="center">
<b class="genmed" style="color:green">{L_FRIENDS_ONLINE}</b>
<ul class="nav" style="margin: 0px; padding: 0px; list-style-type: none; line-height: 175%;">
<!-- BEGIN friends_online -->
<li><a href="{friends_online.U_PROFILE}">{friends_online.USERNAME}</a>
<!-- IF S_SHOW_PM_BOX -->
&nbsp;[ <input class="post" style="font-size: 90%;" type="submit" name="add_to[{friends_online.USER_ID}]" value="{L_ADD}" /> ]
<!-- ENDIF -->
</li>
<!-- BEGINELSE -->
<li>{L_NO_FRIENDS_ONLINE}</li>
<!-- END friends_online -->
</ul>
<hr />
<b class="genmed" style="color:red">{L_FRIENDS_OFFLINE}</b>
<ul class="nav" style="margin: 0px; padding: 0px; list-style-type: none; line-height: 175%;">
<!-- BEGIN friends_offline -->
<li><a href="{friends_offline.U_PROFILE}">{friends_offline.USERNAME}</a>
<!-- IF S_SHOW_PM_BOX -->
&nbsp;[ <input class="post" style="font-size: 90%;" type="submit" name="add_to[{friends_offline.USER_ID}]" value="{L_ADD}" /> ]
<!-- ENDIF -->
<!-- BEGINELSE -->
<li>{L_NO_FRIENDS_OFFLINE}</li>
<!-- END friends_offline -->
</ul>
</td>
</tr>
</table>
<!-- ENDIF -->
</td>
<td><img src="images/spacer.gif" width="4" alt="" /></td>
<td width="80%" valign="top"><!-- IF not S_PRIVMSGS --><form name="ucp" id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}><!-- ENDIF -->