Changeset 970

Show
Ignore:
Timestamp:
12/21/06 02:04:27 (2 years ago)
Author:
lknowland
Message:

Changed the "Height" input area to be hidden so as to not confuse the user with options to adjust the height or the width.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/wheeljack/tmpl/cms/asset_image_options.tmpl

    r959 r970  
    2222 
    2323function checkThumbs(f) { 
    24     var real_w = <TMPL_VAR NAME=WIDTH>; 
    25     var real_h = <TMPL_VAR NAME=HEIGHT>; 
    26     var thumb_w = <TMPL_VAR NAME=THUMB_WIDTH>; 
    27     var thumb_h = <TMPL_VAR NAME=THUMB_HEIGHT>; 
    28     if ((real_w != thumb_w) || (real_h != thumb_h)) { 
    29         f = document.forms[0]; 
    30         adjustWidthHeight(f,1); 
    31     } 
     24    f = document.forms[0]; 
     25    adjustWidthHeight(f,1); 
    3226} 
    3327 
     
    7266            <label for="thumb_width"><MT_TRANS phrase="Width">:</label> 
    7367            <input name="thumb_width" id="thumb_width" value="<TMPL_VAR NAME=THUMB_WIDTH>" onchange="adjustWidthHeight(this.form, 1)" size="4" /> 
    74             <label for="thumb_height"><MT_TRANS phrase="Height">:</label> 
    75             <input name="thumb_height" value="<TMPL_VAR NAME=THUMB_HEIGHT>" onchange="adjustWidthHeight(this.form, 0)" size="4" /> 
     68            <input type="hidden" name="thumb_height" value="<TMPL_VAR NAME=THUMB_HEIGHT>" onchange="adjustWidthHeight(this.form, 0)" size="4" /> 
    7669            <MT_TRANS phrase="Pixels"> 
    7770<img onload="checkThumbs('now');" src="<TMPL_VAR NAME=STATIC_URI>images/spacer.gif" alt="" width="1" height="1" />