Ignore:
Timestamp:
9 Nov 2006, 12:10:39 (18 years ago)
Author:
joachim
Message:

add automatic resizing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_custom/widget_image_render.pt

    r807 r808  
    4545                 tal:attributes="name name;
    4646            onclick string:document.getElementById('${radio_name}_change').checked='checked'" />
    47           <tal:block condition="allow_resize">
     47          <tal:block condition="python:1">
     48            <input type="hidden" value="img_auto_size"
     49                   tal:attributes="name string:${name}_resize" />
     50          </tal:block>
     51          <tal:block condition="python:0 and allow_resize">
    4852            <label i18n:translate="cpsschemas_image_resize"
    4953                   tal:attributes="for string:${radio_name}_change">resize</label>
Note: See TracChangeset for help on using the changeset viewer.