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