source: extensions/Back2Front/template/picture_modify.tpl @ 16784

Last change on this file since 16784 was 10852, checked in by mistic100, 13 years ago

improve process, add options for link effect

File size: 1.5 KB
RevLine 
[10819]1{footer_script}
2$(document).ready(function () {ldelim}
3  $('input[name="b2f_is_verso"]').change(function () {ldelim}
[10852]4     $('.frontside_param').toggle();
[10819]5  });
6});
7{/footer_script}
8
9
[10821]10<form action="{$F_ACTION}" method="post" id="back2front">
[10819]11
12  <fieldset>
13    <legend>{'Backside management'|@translate}</legend>
14
[10821]15  {if isset($B2F_VERSO_ID)}
[10819]16    <table>
17      <tr>
[10821]18        <td><b>{'This picture has a backside :'|@translate}</b></td>
[10852]19        <td><a href="{$B2F_VERSO_URL}">{$B2F_VERSO_ID}</a></td>
[10819]20      </tr>
21    </table>
[10821]22  {else}
[10852]23    <table style="min-width:400px;">
[10819]24      <tr>
[10821]25        <td><b>{'This picture is a backside...'|@translate}</b></td>
[10852]26        <td style="width:70px"><input type="checkbox" name="b2f_is_verso" {$B2F_IS_VERSO}></td>
[10819]27      </tr>
[10852]28     
29      <tr class="frontside_param" {if !isset($B2F_IS_VERSO)}style="display:none;"{/if}>
[10821]30        <td><b>{'...of the picture n°'|@translate}</b></td>
[10819]31        <td><input type="text" size="4" name="b2f_front_id" value="{$B2F_FRONT_ID}"></td>
32      </tr>
[10821]33     
[10852]34      <tr class="frontside_param" {if !isset($B2F_IS_VERSO)}style="display:none;"{/if}>
[10821]35        <td><b>{'Move backside to private album'|@translate}</b></td>
[10852]36        <td><input type="checkbox" name="b2f_move_verso" {$B2F_MOVE_VERSO}></td>
[10821]37      </tr>
[10819]38    </table>
39
40    <p style="text-align:center;">
41      <input class="submit" type="submit" value="{'Submit'|@translate}" name="b2f_submit">
42    </p>
[10821]43  {/if}
[10819]44
45  </fieldset>
46
47</form>
Note: See TracBrowser for help on using the repository browser.