Ignore:
Timestamp:
Sep 2, 2012, 6:06:10 PM (12 years ago)
Author:
mistic100
Message:

big mistakes on photo properties page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/gvideo/admin/template/photo.tpl

    r17626 r17687  
    6868      <label><input type="radio" name="size_common" value="false" {if $GVIDEO.size_common != 'true'}checked="checked"{/if} data-toggle="size"> {'Change'|@translate}</label>
    6969     
    70       <span {if $GVIDEO.size_common == 'true'}style="display:none;"{/if} id="size">
     70      <span style="display:{if $GVIDEO.size_common == 'true'}none{else}block{/if};" id="size">
    7171        <input type="text" name="width" value="{$GVIDEO.width}" size="4"> &times;
    7272        <input type="text" name="height" value="{$GVIDEO.height}" size="4"> px
     
    7979      <label><input type="radio" name="autoplay_common" value="false" {if $GVIDEO.autoplay_common != 'true'}checked="checked"{/if} data-toggle="autoplay"> {'Change'|@translate}</label>
    8080     
    81       <span {if $GVIDEO.autoplay_common == 'true'}style="display:none;"{/if} id="autoplay">
     81      <span style="display:{if $GVIDEO.autoplay_common == 'true'}none{else}block{/if};" id="autoplay">
    8282        <label><input type="radio" name="autoplay" value="0" {if $GVIDEO.autoplay == '0'}checked="checked"{/if}> {'No'|@translate}</label>
    8383        <label><input type="radio" name="autoplay" value="1" {if $GVIDEO.autoplay == '1'}checked="checked"{/if}> {'Yes'|@translate}</label>
Note: See TracChangeset for help on using the changeset viewer.