|
Revision 4740, 1.2 KB
(checked in by plg, 3 years ago)
|
|
feature 1399: i18n for Upload Form
|
| Line | |
|---|
| 1 | <script type="text/javascript" src="{$plugin_path}/include/upload.js"></script> |
|---|
| 2 | |
|---|
| 3 | {literal} |
|---|
| 4 | <style> |
|---|
| 5 | #uploadBoxes P { |
|---|
| 6 | margin:0; |
|---|
| 7 | margin-bottom:2px; |
|---|
| 8 | padding:0; |
|---|
| 9 | } |
|---|
| 10 | </style> |
|---|
| 11 | {/literal} |
|---|
| 12 | |
|---|
| 13 | <div class="titrePage"> |
|---|
| 14 | <h2>{'Upload Form'|@translate}</h2> |
|---|
| 15 | </div> |
|---|
| 16 | |
|---|
| 17 | <form enctype="multipart/form-data" method="post" action="{$F_ACTION}" class="properties"> |
|---|
| 18 | <fieldset> |
|---|
| 19 | <legend>{'Upload Photos'|@translate}</legend> |
|---|
| 20 | |
|---|
| 21 | <table> |
|---|
| 22 | <tr> |
|---|
| 23 | <td>{'Drop into category'|@translate}</td> |
|---|
| 24 | <td> |
|---|
| 25 | <select class="categoryDropDown" name="category"> |
|---|
| 26 | <option value="0">------------</option> |
|---|
| 27 | {html_options options=$category_options} |
|---|
| 28 | </select> |
|---|
| 29 | </td> |
|---|
| 30 | </tr> |
|---|
| 31 | |
|---|
| 32 | <tr> |
|---|
| 33 | <td colspan="2"> |
|---|
| 34 | <div id="uploadBoxes"> |
|---|
| 35 | <p><input class="file" type="file" size="70" name="image_upload[]" /></p> |
|---|
| 36 | </div> |
|---|
| 37 | <div id="addUploadBox"> |
|---|
| 38 | <a href="javascript: UpdateUploadSlots()">{'+ Add an upload box'|@translate}</a> |
|---|
| 39 | </div> |
|---|
| 40 | </td> |
|---|
| 41 | </tr> |
|---|
| 42 | |
|---|
| 43 | </table> |
|---|
| 44 | |
|---|
| 45 | <p> |
|---|
| 46 | <input class="submit" type="submit" name="submit_upload" value="{'Upload'|@translate}" {$TAG_INPUT_ENABLED}/> |
|---|
| 47 | </p> |
|---|
| 48 | </fieldset> |
|---|
| 49 | </form> |
|---|