source: extensions/photo_update/admin.tpl @ 27620

Last change on this file since 27620 was 24623, checked in by plg, 11 years ago

ability to update the pwg_representative instead of the main file (for non picture files, see $confpicture_ext)

File size: 1.2 KB
Line 
1<h2>{$TITLE} &#8250; {'Edit photo'|@translate} {$TABSHEET_TITLE}</h2>
2
3<fieldset>
4  <legend>{'Photo Update'|@translate}</legend>
5  <table>
6    <tr>
7      <td id="albumThumbnail" style="vertical-align:top">
8        <img src="{$TN_SRC}" alt="{'Thumbnail'|@translate}" class="Thumbnail">
9      </td>
10      <td style="vertical-align:top">
11        <form id="photo_update" method="post" action="" enctype="multipart/form-data">
12{if isset($show_file_to_update)}
13          <p style="text-align:left; margin-top:0;">
14            <strong>{'File to update'|@translate}</strong><br>
15            <label><input type="radio" name="file_to_update" value="main"> {'main file'|@translate} ({$original_filename})</label>
16            <label><input type="radio" name="file_to_update" value="representative" checked="checked"> {'representative picture'|@translate}</label>
17          </p>
18{/if}
19          <p style="text-align:left; margin-top:0;">
20            <strong>{'Select a file'|@translate}</strong><br>
21            <input type="file" size="60" name="photo_update">
22          </p>
23          <p style="text-align:left"><input class="submit" type="submit" value="{'Update'|@translate}" name="photo_update"></p>
24        </form>
25      </td>
26    </tr>
27  </table>
28</fieldset>
Note: See TracBrowser for help on using the repository browser.