Ignore:
Timestamp:
2013/07/20 17:38:14 (11 years ago)
Author:
adachi
Message:

#2179 #2179 booleanをsmallintへ変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/Smarty/templates/admin/ownersstore/plugin_hookpoint_list.tpl

    r22978 r22991  
    3434            var id = event.target.id; 
    3535 
    36             if(value === 'f') { 
     36            if(value === '0') { 
    3737                result = window.confirm('無効にしても宜しいですか?'); 
    3838                if(result === false) { 
    3939                    //$(event.target).attr("checked", "checked"); 
    40                     event.target.value = 't'; 
     40                    event.target.value = '1'; 
    4141                } 
    42             } else if(value === 't') { 
     42            } else if(value === '1') { 
    4343                result = window.confirm('有効にしても宜しいですか?'); 
    4444                if(result === false) { 
    4545                    //$(event.target).attr("checked", "checked"); 
    46                     event.target.value = 'f '; 
     46                    event.target.value = '0'; 
    4747                } 
    4848            } 
     
    9090                </td> 
    9191                <!--{/if}--> 
    92                 <td<!--{if $val.use_flg == "f"}--> bgcolor="grey"<!--{/if}-->><!--{$val.priority}--></td> 
    93                 <td<!--{if $val.use_flg == "f"}--> bgcolor="grey"<!--{/if}-->><!--{$val.plugin_name}--></td> 
    94                 <td<!--{if $val.use_flg == "f"}--> bgcolor="grey"<!--{/if}-->> 
     92                <td<!--{if $val.use_flg == "0"}--> bgcolor="grey"<!--{/if}-->><!--{$val.priority}--></td> 
     93                <td<!--{if $val.use_flg == "0"}--> bgcolor="grey"<!--{/if}-->><!--{$val.plugin_name}--></td> 
     94                <td<!--{if $val.use_flg == "0"}--> bgcolor="grey"<!--{/if}-->> 
    9595                <!--{html_radios name="plugin_hookpoint_use[`$val.plugin_hookpoint_id`]" options=$arrUse selected=$val.use_flg id=$val.plugin_hookpoint_id}--> 
    9696                </td> 
Note: See TracChangeset for help on using the changeset viewer.