mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
inline attachment capability...
git-svn-id: file:///svn/phpbb/trunk@4819 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -28,6 +28,23 @@
|
||||
</div>
|
||||
<!-- END code_close -->
|
||||
|
||||
<!-- BEGIN inline_attachment_open -->
|
||||
</div>
|
||||
<table class="tablebg" width="100%" cellspacing="1">
|
||||
<tr>
|
||||
<td class="row3"><b class="genmed">{L_ATTACHMENT}: </b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row2">
|
||||
<!-- END inline_attachment_open -->
|
||||
|
||||
<!-- BEGIN inline_attachment_close -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="postbody">
|
||||
<!-- END inline_attachment_close -->
|
||||
|
||||
|
||||
<!-- BEGIN b_open --><strong><!-- END b_open -->
|
||||
<!-- BEGIN b_close --></strong><!-- END b_close -->
|
||||
|
@@ -9,12 +9,20 @@
|
||||
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_FILENAME}</b></td>
|
||||
<td class="row2"><input class="post" type="file" name="fileupload" size="40" maxlength="{FILESIZE}" value="{FILENAME}" /></td>
|
||||
<td class="row2"><input class="post" type="file" name="fileupload" size="40" maxlength="{FILESIZE}" value="{FILENAME}" class="btnlite" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_FILE_COMMENT}</b></td>
|
||||
<td class="row2"><textarea class="post" name="filecomment" rows="3" cols="35" wrap="virtual" size="40">{FILE_COMMENT}</textarea>
|
||||
<input class="btnlite" type="submit" name="add_file" value="{L_ADD_FILE}" /></td>
|
||||
<td class="row2"><table border="0" cellspacing="0" cellpadding="2">
|
||||
<tr>
|
||||
<td><textarea class="post" name="filecomment" rows="3" cols="35" wrap="virtual" size=40>{FILE_COMMENT}</textarea> </td>
|
||||
<td valign="top"><table border="0" cellspacing="4" cellpadding="0">
|
||||
<tr>
|
||||
<td><input class="btnlite" type="submit" style="width:150px" name="add_file" value="{L_ADD_FILE}" /></td>
|
||||
</tr></table>
|
||||
</td>
|
||||
</tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- IF S_HAS_ATTACHMENTS -->
|
||||
@@ -23,15 +31,25 @@
|
||||
</tr>
|
||||
|
||||
<!-- BEGIN attach_row -->
|
||||
<tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_FILENAME}</b></td>
|
||||
<td class="row2"><a class="genmed" href="{attach_row.U_VIEW_ATTACHMENT}" target="_blank">{attach_row.FILENAME}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_FILE_COMMENT}</b></td>
|
||||
<td class="row2"><textarea class="post" name="comment_list[{attach_row.ASSOC_INDEX}]" rows="3" cols="35" wrap="virtual" size=40>{attach_row.FILE_COMMENT}</textarea>
|
||||
<input class="btnlite" type="submit" name="edit_comment[{attach_row.ASSOC_INDEX}]" value="{L_UPDATE_COMMENT}" />
|
||||
<input class="btnlite" type="submit" name="delete_file[{attach_row.ASSOC_INDEX}]" value="{L_DELETE_FILE}" /></td>
|
||||
<td class="row2"><table border="0" cellspacing="0" cellpadding="2">
|
||||
<tr>
|
||||
<td><textarea class="post" name="comment_list[{attach_row.ASSOC_INDEX}]" rows="3" cols="35" wrap="virtual" size=40>{attach_row.FILE_COMMENT}</textarea> </td>
|
||||
<td valign="top"><table border="0" cellspacing="4" cellpadding="0">
|
||||
<tr>
|
||||
<td><input class="btnlite" type="submit" style="width:150px" name="edit_comment[{attach_row.ASSOC_INDEX}]" value="{L_UPDATE_COMMENT}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input class="btnlite" type="submit" style="width:150px" name="delete_file[{attach_row.ASSOC_INDEX}]" value="{L_DELETE_FILE}" /></td>
|
||||
</tr></table>
|
||||
</td>
|
||||
</tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
{attach_row.S_HIDDEN}
|
||||
<!-- END attach_row -->
|
||||
|
@@ -236,6 +236,13 @@ function checkForm()
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
<!-- IF S_INLINE_ATTACHMENT_OPTIONS -->
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_ATTACHMENTS}:</b></td>
|
||||
<td class="row2"><select name="attachments">{S_INLINE_ATTACHMENT_OPTIONS}</select> <input type="button" class="btnbbcode" accesskey="a" value="{L_PLACE_INLINE}" name="attachinline" onclick="attach_inline();" />
|
||||
</td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
<tr>
|
||||
<td class="row1" valign="top"><b class="genmed">{L_OPTIONS}:</b><br /><table cellspacing="2" cellpadding="0" border="0">
|
||||
<tr>
|
||||
@@ -319,7 +326,7 @@ function checkForm()
|
||||
|
||||
<!-- IF S_TOPIC_TYPE_ANNOUNCE or S_TOPIC_TYPE_STICKY -->
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_STICK_TOPIC_FOR}</b><br /><span class="gensmall">{L_STICKY_ANNOUNCE_TIME_LIMIT}</span></td>
|
||||
<td class="row1"><b class="genmed">{L_STICK_TOPIC_FOR}:</b><br /><span class="gensmall">{L_STICKY_ANNOUNCE_TIME_LIMIT}</span></td>
|
||||
<td class="row2"><input class="post" type="text" name="topic_time_limit" size="3" maxlength="3" value="{TOPIC_TIME_LIMIT}" /> <b class="gen">{L_DAYS}</b> <span class="gensmall">{L_STICK_TOPIC_FOR_EXPLAIN}</span></td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
|
@@ -31,12 +31,21 @@
|
||||
<td class="row1"><table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><span class="postbody">{PREVIEW_MESSAGE}</span>
|
||||
<!-- IF S_HAS_ATTACHMENTS -->
|
||||
<!-- IF S_HAS_ATTACHMENTS -->
|
||||
<br clear="all" /><br />
|
||||
|
||||
<table class="tablebg" width="100%" cellspacing="1">
|
||||
<tr>
|
||||
<td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td>
|
||||
</tr>
|
||||
<!-- BEGIN attachment -->
|
||||
<br /><br /><hr />{attachment.DISPLAY_ATTACHMENT}
|
||||
<tr>
|
||||
<td class="row2">{attachment.DISPLAY_ATTACHMENT}</td>
|
||||
</tr>
|
||||
<!-- END attachment -->
|
||||
<!-- ENDIF -->
|
||||
<!-- IF PREVIEW_SIGNATURE --><span class="postbody"><br />_________________<br />{PREVIEW_SIGNATURE}</span><!-- ENDIF --></td>
|
||||
</table>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF PREVIEW_SIGNATURE --><span class="postbody"><br />_________________<br />{PREVIEW_SIGNATURE}</span><!-- ENDIF --></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user