Ignore:
Timestamp:
Sep 25, 2013, 10:28:20 AM (11 years ago)
Author:
plg
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/photo_update/admin.tpl

    r16982 r24623  
    55  <table>
    66    <tr>
    7       <td id="albumThumbnail">
     7      <td id="albumThumbnail" style="vertical-align:top">
    88        <img src="{$TN_SRC}" alt="{'Thumbnail'|@translate}" class="Thumbnail">
    99      </td>
    1010      <td style="vertical-align:top">
    1111        <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}
    1219          <p style="text-align:left; margin-top:0;">
    1320            <strong>{'Select a file'|@translate}</strong><br>
Note: See TracChangeset for help on using the changeset viewer.