Changeset 11332 for temp


Ignore:
Timestamp:
2006/12/25 22:42:21 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/branches/ec-cube-beta/html/admin/contents/campaign.php

    r11257 r11332  
    312312function lfCreateTemplate($dir, $file) { 
    313313     
     314    global $objFormParam; 
     315    $arrRet = $objFormParam->getHashArray(); 
     316 
     317     
    314318    // ºîÀ®¥Õ¥¡¥¤¥ë¥Ç¥£¥ì¥¯¥È¥ê 
    315319    $create_dir = $dir . $file; 
     
    336340    sfWriteFile($header, $create_active_dir."header.tpl", "w"); 
    337341    $contents = lfGetFileContents($default_active_dir."contents.tpl"); 
     342    if(!$arrRet['cart_flg']) { 
     343        $contents .= '<!--{include file=`$smarty.const.CAMPAIGN_BLOC_PATH`login.tpl}--> 
     344                        <!--{*²ñ°÷ÅÐÏ¿¥Õ¥©¡¼¥à*}--> 
     345                        <!--{include file=`$smarty.const.CAMPAIGN_BLOC_PATH`entry.tpl}-->'; 
     346    } 
    338347    sfWriteFile($contents, $create_active_dir."contents.tpl", "w"); 
    339348    $footer = lfGetFileContents($default_active_dir."footer.tpl"); 
    340349    sfWriteFile($footer, $create_active_dir."footer.tpl", "w"); 
     350     
    341351    // ¥µ¥¤¥È¥Õ¥ì¡¼¥àºîÀ® 
    342352    $site_frame  = $header."\n"; 
Note: See TracChangeset for help on using the changeset viewer.