Line | |
---|
1 | {combine_css path=$SKELETON_PATH|@cat:"admin/template/style.css"} |
---|
2 | |
---|
3 | {footer_script}{literal} |
---|
4 | jQuery('input[name="option2"]').change(function() { |
---|
5 | $('.option1').toggle(); |
---|
6 | }); |
---|
7 | {/literal}{/footer_script} |
---|
8 | |
---|
9 | <div class="titrePage"> |
---|
10 | <h2>Skeleton</h2> |
---|
11 | </div> |
---|
12 | |
---|
13 | <form method="post" action="" class="properties"> |
---|
14 | <fieldset> |
---|
15 | <legend>{'Common configuration'|@translate}</legend> |
---|
16 | |
---|
17 | <ul> |
---|
18 | <li> |
---|
19 | <label> |
---|
20 | <span class="property"> |
---|
21 | {'Checkbox'|@translate} |
---|
22 | <a class="showInfo" title="{'Check me!'|@translate}">i</a> |
---|
23 | </span> |
---|
24 | <input type="checkbox" name="option2" value="1" {if $skeleton.option2}checked="checked"{/if}> |
---|
25 | </label> |
---|
26 | </li> |
---|
27 | <li class="option1" {if not $skeleton.option2}style="display:none;"{/if}> |
---|
28 | <label> |
---|
29 | <span class="property">{'Integer'|@translate}</span> |
---|
30 | <input type="text" name="option1" value="{$skeleton.option1}" size="4"> |
---|
31 | </label> |
---|
32 | </li> |
---|
33 | </ul> |
---|
34 | </fieldset> |
---|
35 | |
---|
36 | <p style="text-align:left;"><input type="submit" name="save_config" value="{'Save Settings'|@translate}"></p> |
---|
37 | |
---|
38 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.