Ignore:
Timestamp:
Jun 20, 2013, 12:51:22 PM (11 years ago)
Author:
mistic100
Message:

corrections and example of {html_style}, {html_options}, API info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/skeleton/trunk/admin/template/config.tpl

    r17899 r23395  
    44jQuery('input[name="option2"]').change(function() {
    55  $('.option1').toggle();
     6});
     7
     8jQuery(".showInfo").tipTip({
     9  delay: 0,
     10  fadeIn: 200,
     11  fadeOut: 200,
     12  maxWidth: '300px',
     13  defaultPosition: 'bottom'
    614});
    715{/literal}{/footer_script}
     
    1826    <li>
    1927      <label>
    20         <span class="property">
    21           {'Checkbox'|@translate}
    22           <a class="showInfo" title="{'Check me!'|@translate}">i</a>
    23         </span>
    2428        <input type="checkbox" name="option2" value="1" {if $skeleton.option2}checked="checked"{/if}>
     29        <b>{'Checkbox'|@translate}</b>
    2530      </label>
     31      <a class="showInfo" title="{'Check me!'|@translate}">i</a>
    2632    </li>
    2733    <li class="option1" {if not $skeleton.option2}style="display:none;"{/if}>
    2834      <label>
    29         <span class="property">{'Integer'|@translate}</span>
     35        <b>{'Integer'|@translate}</b>
    3036        <input type="text" name="option1" value="{$skeleton.option1}" size="4">
     37      </label>
     38    </li>
     39    <li>
     40      <label>
     41        <b>{'Select'|@translate}</b>
     42        {html_options name=option3 options=$select_options selected=$skeleton.option3}
    3143      </label>
    3244    </li>
     
    3446</fieldset>
    3547
    36 <p style="text-align:left;"><input type="submit" name="save_config" value="{'Save Settings'|@translate}"></p>
     48<p class="formButtons"><input type="submit" name="save_config" value="{'Save Settings'|@translate}"></p>
    3749
    3850</form>
Note: See TracChangeset for help on using the changeset viewer.