Changeset 7150 for temp/trunk/html


Ignore:
Timestamp:
2006/11/01 10:02:39 (20 years ago)
Author:
kakinaka
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/products/product.php

    r7138 r7150  
    253253    $objPage->arrFile = $objUpFile->getFormFileList(IMAGE_TEMP_URL, IMAGE_SAVE_URL); 
    254254     
    255     //$objPage->tpl_onload = "fnCheckSaleLimit('" . DISABLED_RGB . "'); fnCheckStockLimit('" . DISABLED_RGB . "'); location.hash='" . $_POST['image_key'] . "'"; 
    256     $objPage->tpl_onload = "fnCheckSaleLimit('" . DISABLED_RGB . "'); fnCheckStockLimit('" . DISABLED_RGB . "'); location.hash='#" . $_POST['image_key'] . "'"; 
     255     
     256    // ¥¢¥ó¥«¡¼¤òÀßÄê 
     257    if($_POST['image_key'] != ""){ 
     258        $anchor_hash = "location.hash='#" . $_POST['image_key'] . "'"; 
     259    }elseif($_GET['no'] != ""){ 
     260        $anchor_hash = "location.hash='#recommend_id" . $_GET['no'] . "'"; 
     261    } 
     262     
     263    $objPage->tpl_onload = "fnCheckSaleLimit('" . DISABLED_RGB . "'); fnCheckStockLimit('" . DISABLED_RGB . "'); " . $anchor_hash; 
    257264} 
    258265 
Note: See TracChangeset for help on using the changeset viewer.