Changeset 12219


Ignore:
Timestamp:
2007/05/07 13:03:05 (17 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/admin/contents/campaign_design.php

    r17 r12219  
    7979case 'preview': 
    8080    // ¥×¥ì¥Ó¥å¡¼¤ò½ñ¤­½Ð¤·ÊÌÁë¤Ç³«¤¯ 
    81     sfWriteFile($arrForm['header'] . $arrForm['contents'] . $arrForm['footer'], $campaign_dir."preview.tpl", "w"); 
     81    // ¥×¥ì¥Ó¥å¡¼¤ò½ñ¤­½Ð¤·ÊÌÁë¤Ç³«¤¯ 
     82    $preview  = $arrForm['header']."\n"; 
     83    $preview .= '<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/site.js"></script>'."\n"; 
     84    $preview .= '<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/navi.js"></script>'."\n"; 
     85    $preview .= $arrForm['contents'] . "\n"; 
     86    $preview .= $arrForm['footer']."\n"; 
     87    sfWriteFile($preview, $campaign_dir."preview.tpl", "w"); 
     88     
    8289    $objPage->tpl_onload = "win02('./campaign_preview.php?status=". $arrForm['status'] ."&campaign_id=". $arrForm['campaign_id'] ."', 'preview', '600', '400');"; 
    8390    $objPage->header_data = $arrForm['header'];  
Note: See TracChangeset for help on using the changeset viewer.