- Timestamp:
- 2008/09/10 20:50:26 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/admin/design/LC_Page_Admin_Design.php
r17281 r17605 192 192 if ($_POST['mode'] == 'preview') { 193 193 if ($page_id === "") { 194 $this->sendRedirect($this->getLocation( "./index.php"));194 $this->sendRedirect($this->getLocation(DIR_INDEX_URL)); 195 195 } 196 196 $this->lfSetPreData($arrPageData, $objLayout); … … 198 198 $_SESSION['preview'] = "ON"; 199 199 200 $this->sendRedirect($this->getLocation(URL_DIR . "preview/ index.php", array("filename" => $arrPageData[0]["filename"])));200 $this->sendRedirect($this->getLocation(URL_DIR . "preview/" . DIR_INDEX_URL, array("filename" => $arrPageData[0]["filename"]))); 201 201 202 202 }else{ 203 $this->sendRedirect($this->getLocation( "./index.php",203 $this->sendRedirect($this->getLocation(DIR_INDEX_URL, 204 204 array("page_id" => $page_id, 205 205 "msg" => "on"))); … … 211 211 if ($_POST['mode'] == 'delete' and !$objLayout->lfCheckBaseData($page_id)) { 212 212 $objLayout->lfDelPageData($page_id); 213 $this->sendRedirect($this->getLocation( "./index.php"));213 $this->sendRedirect($this->getLocation(DIR_INDEX_URL)); 214 214 } 215 215
Note: See TracChangeset
for help on using the changeset viewer.