Changeset 5625 for trunk/interface/owner/skin/sidebar/edit/index.php
- Timestamp:
- 03/24/08 13:27:34 (10 months ago)
- Files:
-
- 1 modified
-
trunk/interface/owner/skin/sidebar/edit/index.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/owner/skin/sidebar/edit/index.php
r5285 r5625 4 4 /// See the GNU General Public License for more details. (/doc/LICENSE, /doc/COPYRIGHT) 5 5 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;'; 11 8 12 9 $IV = array( … … 30 27 $modulePos = $_REQUEST['modulePos']; 31 28 32 if (($sidebarNumber < 0) || ($sidebarNumber >= $sidebarCount)) respond::ErrorPage( );33 if (!isset($sidebarOrderData[$sidebarNumber]) || !isset($sidebarOrderData[$sidebarNumber][$modulePos])) respond::ErrorPage( );29 if (($sidebarNumber < 0) || ($sidebarNumber >= $sidebarCount)) respond::ErrorPage(null,null,null,$ajaxcall); 30 if (!isset($sidebarOrderData[$sidebarNumber]) || !isset($sidebarOrderData[$sidebarNumber][$modulePos])) respond::ErrorPage(null,null,null,$ajaxcall); 34 31 35 32 $pluginData = $sidebarOrderData[$sidebarNumber][$modulePos]; 36 if ($pluginData['type'] != 3) respond::ErrorPage( );33 if ($pluginData['type'] != 3) respond::ErrorPage(null,null,null,$ajaxcall); 37 34 38 35 $plugin = $pluginData['id']['plugin']; … … 147 144 require ROOT . '/lib/piece/owner/footer.php'; 148 145 } 149 150 151 146 ?>
