aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/admin/admin.tpl
blob: e903622fd0c871d9fdf1de2b880ece38328fdab1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{html_style}
.graphicalCheckbox {
  font-size:16px;
  line-height:16px;
}

input[type=checkbox] {
  display:none;
}
{/html_style}

{footer_script}{literal}
jQuery(document).ready(function() {
  jQuery('form li label input[type=checkbox]').change(function() {
    var graphicalCheckbox = jQuery(this).parent().find('.graphicalCheckbox');
    if (jQuery(this).is(':checked')) {
      jQuery(graphicalCheckbox).removeClass('icon-check-empty').addClass('icon-check');
    }
    else {
      jQuery(graphicalCheckbox).removeClass('icon-check').addClass('icon-check-empty');
    }
  });
});
{/literal}{/footer_script}

<div class="titrePage">
  <h2>{'Smartpocket, Configuration Page'|@translate}</h2>
</div>
<form method="post" class="properties" action="" ENCTYPE="multipart/form-data" name="form" class="properties">
<div id="configContent">
  <fieldset>
    <legend>{'Slideshow Options'|@translate}</legend>
    <ul>

      <li><label>
        <span class="property">{'Loop the slideshow'|translate}</span>&nbsp;
        <span class="graphicalCheckbox icon-check{if not $options.loop}-empty{/if}">&nbsp;</span>
        <input type="checkbox" name="loop"{if $options.loop} checked="checked"{/if}>
      </label></li>

      <li><label>
        <span class="property">{'Autohide the bar of the slideshow'|translate}</span>&nbsp;
        <span class="graphicalCheckbox icon-check{if $options.autohide != 5000}-empty{/if}">&nbsp;</span>
        <input type="checkbox" name="autohide"{if $options.autohide == 5000} checked="checked"{/if}>
      </label></li>

    </ul>
  </fieldset>
</div>
<p>
  <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit_smartpocket" />
</p>
</form>