Show
Ignore:
Timestamp:
03/24/08 13:27:34 (10 months ago)
Author:
inureyes
Message:

#890

  • ajaxcall 관련 처리
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/interface/owner/skin/sidebar/edit/index.php

    r5285 r5625  
    44/// See the GNU General Public License for more details. (/doc/LICENSE, /doc/COPYRIGHT) 
    55 
    6 $ajaxcall= false; 
    7 if (isset($_REQUEST['ajaxcall'])) { 
    8     $ajaxcall= true; 
    9     $ajaxmethod = $_REQUEST['ajaxcall']; 
    10 } 
     6$ajaxcall = isset($_REQUEST['ajaxcall']) ? true : false; 
     7$ajaxmethod = isset($_REQUEST['ajaxcall']) ? $_REQUEST['ajaxcall'] : 'return false;'; 
    118 
    129$IV = array( 
     
    3027$modulePos = $_REQUEST['modulePos']; 
    3128 
    32 if (($sidebarNumber < 0) || ($sidebarNumber >= $sidebarCount)) respond::ErrorPage(); 
    33 if (!isset($sidebarOrderData[$sidebarNumber]) || !isset($sidebarOrderData[$sidebarNumber][$modulePos])) respond::ErrorPage(); 
     29if (($sidebarNumber < 0) || ($sidebarNumber >= $sidebarCount)) respond::ErrorPage(null,null,null,$ajaxcall); 
     30if (!isset($sidebarOrderData[$sidebarNumber]) || !isset($sidebarOrderData[$sidebarNumber][$modulePos])) respond::ErrorPage(null,null,null,$ajaxcall); 
    3431 
    3532$pluginData = $sidebarOrderData[$sidebarNumber][$modulePos]; 
    36 if ($pluginData['type'] != 3) respond::ErrorPage(); 
     33if ($pluginData['type'] != 3) respond::ErrorPage(null,null,null,$ajaxcall); 
    3734 
    3835$plugin = $pluginData['id']['plugin']; 
     
    147144    require ROOT . '/lib/piece/owner/footer.php'; 
    148145} 
    149  
    150  
    151146?>