Ignore:
Timestamp:
2012/02/15 20:18:09 (12 years ago)
Author:
Seasoft
Message:

#1625 (typo修正・ソース整形・ソースコメントの改善)

Location:
branches/version-2_12-dev/html
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/html/admin/load_module_config.php

    r21514 r21515  
    4242 
    4343    $objQuery = new SC_Query(); 
    44     $arrRet = $objQuery->select('module_code', 'dtb_module', "module_id = ?", array($module_id)); 
     44    $arrRet = $objQuery->select('module_code', 'dtb_module', 'module_id = ?', array($module_id)); 
    4545 
    4646    if (isset($arrRet[0]['module_code'])) { 
  • branches/version-2_12-dev/html/user_data/packages/admin/js/ownersstore.js.php

    r21514 r21515  
    4040    // remove ajax window 
    4141    remove: function() { 
    42         $('#TB_window').fadeOut( 
     42        $("#TB_window").fadeOut( 
    4343            'fast', 
    4444            function(){ 
     
    4646            } 
    4747        ); 
    48         $('#TB_load').remove(); 
     48        $("#TB_load").remove(); 
    4949        //if IE 6 
    5050        if (typeof document.body.style.maxHeight == 'undefined') { 
     
    6363            if (document.getElementById('TB_HideSelect') === null) { 
    6464                $('body').append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>"); 
    65                 $('#TB_overlay').click(this.remove); 
     65                $("#TB_overlay").click(this.remove); 
    6666            } 
    6767        //all others 
     
    6969            if (document.getElementById('TB_overlay') === null) { 
    7070                $('body').append("<div id='TB_overlay'></div><div id='TB_window'></div>"); 
    71                 $('#TB_overlay').click(this.remove); 
     71                $("#TB_overlay").click(this.remove); 
    7272            } 
    7373        } 
     
    7575        if (this.detectMacFF()) { 
    7676            //use png overlay so hide flash 
    77             $('#TB_overlay').addClass('TB_overlayMacFFBGHack'); 
     77            $("#TB_overlay").addClass('TB_overlayMacFFBGHack'); 
    7878        } else { 
    7979            //use background and opacity 
    80             $('#TB_overlay').addClass('TB_overlayBG'); 
     80            $("#TB_overlay").addClass('TB_overlayBG'); 
    8181        } 
    8282 
     
    8686            + "  <p style='color:#ffffff'>" + loading_message + "</p>" 
    8787            + "  <img src='" + loading_img.src + "' />" 
    88             + '</div>' 
     88            + "</div>" 
    8989        ); 
    9090        $('#TB_load').show(); 
     
    101101        var ajaxContentH = TB_HEIGHT - 45; 
    102102 
    103         if ($('#TB_window').css('display') != 'block') { 
    104             $('#TB_window').append( 
     103        if ($("#TB_window").css('display') != 'block') { 
     104            $("#TB_window").append( 
    105105                "<div id='TB_title'>" 
    106106              + "  <div id='TB_ajaxWindowTitle'></div>" 
    107107              + "  <div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' onclick='OwnersStore.remove();'>close</a></div>" 
    108               + '</div>' 
     108              + "</div>" 
    109109              + "<div id='TB_ajaxContent' style='width:" + ajaxContentW + "px;height:" + ajaxContentH + "px'>" 
    110               + '</div>' 
     110              + "</div>" 
    111111            ); 
    112112         //this means the window is already up, we are just loading new content via ajax 
    113113        } else { 
    114             $('#TB_ajaxContent')[0].style.width = ajaxContentW +'px'; 
    115             $('#TB_ajaxContent')[0].style.height = ajaxContentH +'px'; 
    116             $('#TB_ajaxContent')[0].scrollTop = 0; 
     114            $("#TB_ajaxContent")[0].style.width = ajaxContentW +'px'; 
     115            $("#TB_ajaxContent")[0].style.height = ajaxContentH +'px'; 
     116            $("#TB_ajaxContent")[0].scrollTop = 0; 
    117117        } 
    118118 
    119         $('#TB_load').remove(); 
    120         $('#TB_window').css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'}); 
     119        $("#TB_load").remove(); 
     120        $("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'}); 
    121121 
    122122        // take away IE6 
    123123        if (!(jQuery.browser.msie && jQuery.browser.version < 7)) { 
    124             $('#TB_window').css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'}); 
     124            $("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'}); 
    125125        } 
    126126 
    127         $('#TB_ajaxWindowTitle').html(title); 
    128         $('#TB_ajaxContent').html(contents); 
    129         $('#TB_window').css({display:'block'}); 
     127        $("#TB_ajaxWindowTitle").html(title); 
     128        $("#TB_ajaxContent").html(contents); 
     129        $("#TB_window").css({display:'block'}); 
    130130 
    131131        // DL成功時に設定ボタンを表示 
Note: See TracChangeset for help on using the changeset viewer.