Changeset 7413 for temp/trunk/data


Ignore:
Timestamp:
2006/11/05 18:25:05 (20 years ago)
Author:
kakinaka
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/downloads/module/mdl_epsilon.php

    r7329 r7413  
    5858case 'edit': 
    5959    // ÆþÎÏ¥¨¥é¡¼È½Äê 
    60     $objPage->arrErr = $objFormParam->checkError(); 
     60    $objPage->arrErr = lfCheckError(); 
     61     
    6162    if(count($objPage->arrErr) == 0) { 
    6263        $arrRet = $objQuery->select("sub_data", "dtb_module", "module_id = ?", array(AFF_TAG_MID)); 
     
    6970        // javascript¼Â¹Ô 
    7071        $objPage->tpl_onload = "window.close();"; 
    71     } 
    72     break; 
    73 // ¥³¥ó¥Ð¡¼¥¸¥ç¥ó¥Ú¡¼¥¸¤ÎÁªÂò 
    74 case 'select': 
    75     if(is_numeric($_POST['conv_page'])) { 
    76         // sub_data¤è¤ê¥¿¥°¾ðÊó¤òÆÉ¤ß¹þ¤à 
    77         $conv_page = $_POST['conv_page']; 
    78         $arrRet = $objQuery->select("sub_data", "dtb_module", "module_id = ?", array(AFF_TAG_MID)); 
    79         $arrSubData = unserialize($arrRet[0]['sub_data']); 
    80         $aff_tag = $arrSubData[$conv_page]; 
    81         $objFormParam->setValue('conv_page', $conv_page); 
    82         $objFormParam->setValue('aff_tag', $aff_tag);        
    8372    } 
    8473    break; 
     
    10089    return $objFormParam; 
    10190} 
     91 
     92// ¥¨¥é¡¼¥Á¥§¥Ã¥¯¤ò¹Ô¤¦ 
     93function lfCheckError(){ 
     94    global $objFormParam; 
     95     
     96    $arrErr = $objFormParam->checkError(); 
     97     
     98    // ÍøÍÑ¥¯¥ì¥¸¥Ã¥È¡¢ÍøÍÑ¥³¥ó¥Ó¥Ë¤Î¥¨¥é¡¼¥Á¥§¥Ã¥¯ 
     99    $payment = $objFormParam->getValue("payment"); 
     100    sfprintr($payment); 
     101 
     102    return $arrErr; 
     103} 
     104 
     105 
    102106?> 
Note: See TracChangeset for help on using the changeset viewer.