[3610] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
| 2 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
---|
| 3 | <xsl:output method="html" omit-xml-declaration="yes"/> |
---|
| 4 | |
---|
| 5 | <xsl:param name="change_upload_boxes" /> |
---|
| 6 | <xsl:param name="form_action" /> |
---|
| 7 | <xsl:param name="height"/> |
---|
| 8 | <xsl:param name="lang_advanced_upload" /> |
---|
| 9 | <xsl:param name="lang_click_here"/> |
---|
| 10 | <xsl:param name="lang_comment" /> |
---|
| 11 | <xsl:param name="lang_file" /> |
---|
| 12 | <xsl:param name="lang_more_files" /> |
---|
[3619] | 13 | <xsl:param name="lang_send_email" /> |
---|
[3610] | 14 | <xsl:param name="lang_upload" /> |
---|
| 15 | <xsl:param name="max_size" /> |
---|
| 16 | <xsl:param name="num_upload_boxes" /> |
---|
| 17 | <xsl:param name="path" /> |
---|
| 18 | <xsl:param name="path_filemanager" /> |
---|
| 19 | <xsl:param name="width" /> |
---|
| 20 | |
---|
| 21 | <xsl:template match="upload_files"> |
---|
| 22 | |
---|
| 23 | <form id="form_up" method="post" action="{$form_action}" enctype="multipart/form-data"> |
---|
| 24 | |
---|
| 25 | <div style="border-bottom:1px solid #000; margin: 4px;"> |
---|
| 26 | <xsl:value-of select="$lang_more_files" /> |
---|
| 27 | <a href="javascript:void();" onclick="addNewInput()"> |
---|
| 28 | - <span style="color:red;"><xsl:value-of select="$lang_click_here" /></span> |
---|
| 29 | <img src="{$path_filemanager}templates/default/images/attach.gif" style="margin-right:3px;"/> + |
---|
| 30 | </a> |
---|
| 31 | </div> |
---|
| 32 | |
---|
[3879] | 33 | <div style="height:{$height}px; margin: 4px; overflow-y:auto; overflow-x:hidden;"> |
---|
[3610] | 34 | <div id="sendNotifcation" style="margin: 4px; overflow-y:auto;"/> |
---|
[3879] | 35 | <span style="margin-right:{($width)-250}px;"> |
---|
| 36 | <label style="margin-left:1px;"><xsl:value-of select="$lang_file"/></label> |
---|
| 37 | <label style="margin-left:200px;"><xsl:value-of select="$lang_comment"/></label> |
---|
| 38 | </span> |
---|
| 39 | <br/> |
---|
| 40 | <div id="uploadOption" > |
---|
| 41 | <div></div> |
---|
| 42 | <input maxlength="255" name="upload_file[]" type="file" style="margin-right:5px" /> |
---|
[3881] | 43 | <input name="upload_comment[]" type="text" /> |
---|
| 44 | <input type="hidden" name="uploadprocess" value="true" /> |
---|
| 45 | <input type="hidden" name="path" value="{$path}" /> |
---|
[3610] | 46 | </div> |
---|
| 47 | |
---|
| 48 | </div> |
---|
| 49 | |
---|
[3619] | 50 | <div id="upload_files" style="border-top:1px solid #000; margin: 4px;"> |
---|
[3610] | 51 | |
---|
| 52 | <div style="margin: 10 0 5 0;"> |
---|
[3619] | 53 | <input value="{$lang_upload}" type="button" onclick="sendFiles();" style="margin-right:5px;"/> |
---|
| 54 | <input value="{$lang_advanced_upload}" type="button" onclick="newAdvancedUpload();"/> |
---|
[3610] | 55 | </div> |
---|
| 56 | |
---|
[3640] | 57 | <div style="margin-top:-25px; position: absolute; right: 5px; width:60px; cursor:pointer;"> |
---|
[3619] | 58 | <img src="{$path_filemanager}templates/default/images/email.png" alt="{$lang_send_email}" title="{$lang_send_email}" onclick="sendNotification();"/> |
---|
[3647] | 59 | <br/> |
---|
[3639] | 60 | <label><xsl:value-of select="$lang_send_email"/></label> |
---|
[3610] | 61 | </div> |
---|
| 62 | |
---|
[3879] | 63 | <div style="font-weight:bold; color: #f00; font-size:10pt; margin-top: 15px;"> |
---|
[3610] | 64 | <xsl:value-of select="$max_size"/> |
---|
[3619] | 65 | </div> |
---|
[3610] | 66 | |
---|
| 67 | </div> |
---|
| 68 | </form> |
---|
| 69 | |
---|
| 70 | </xsl:template> |
---|
| 71 | |
---|
| 72 | </xsl:stylesheet> |
---|