Ignore:
Timestamp:
Aug 12, 2010, 11:27:21 PM (14 years ago)
Author:
grum
Message:

for panoramic images, add possibility to simulate presence of a high resolution image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/gally/gally-default/admin/gally_img_other.tpl

    r6109 r6752  
    5757  }
    5858
     59  function setOptionCB(id)
     60  {
     61    if($('#'+id+'_cb').get(0).checked)
     62    {
     63      $('#'+id).val('yes');
     64    }
     65    else
     66    {
     67      $('#'+id).val('no');
     68    }
     69  }
     70
    5971</script>
    6072{/literal}
     
    104116      <span style="font-style:italic;margin-left:20px;">!!!&nbsp;{'gally_image_auto_scroll_warning'|@translate}&nbsp;!!!</span>
    105117    </p>
    106 
    107 
    108118    <label><input type="radio" name="f_imageAutoScroll" id="iimageAutoScroll" value="yes" {if $options.imageAutoScroll=="yes"}checked{/if}>&nbsp;{'gally_image_auto_scroll_yes'|@translate}</label><br>
    109119    <label><input type="radio" name="f_imageAutoScroll" id="iimageAutoScroll" value="no" {if $options.imageAutoScroll=="no"}checked{/if}>&nbsp;{'gally_image_auto_scroll_no'|@translate}</label><br>
     120
     121    <br>
     122    <label>
     123      <input type="checkbox" id="iimageSimulateHighRes_cb" {if $options.imageSimulateHighRes=="yes"}checked{/if} onclick="setOptionCB('iimageSimulateHighRes');">&nbsp;{'gally_image_simulate_high_res'|@translate}
     124      <input type="hidden" name="f_imageSimulateHighRes" id="iimageSimulateHighRes" value="{$options.imageSimulateHighRes}">
     125    </label><br>
     126
    110127  </fieldset>
    111128
Note: See TracChangeset for help on using the changeset viewer.