Changeset 10968


Ignore:
Timestamp:
2006/12/18 23:40:26 (19 years ago)
Author:
uehara
Message:
 
Location:
temp/branches/ec-cube-beta
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • temp/branches/ec-cube-beta/data/Smarty/templates/admin/contents/campaign_create_tag.tpl

    r10962 r10968  
    3939<input name="anchor_key" type="hidden" value=""> 
    4040<input name="search_pageno" type="hidden" value=""> 
    41 <input type="hidden" name="campaign_id" value="<!--{$arrForm.campaign_id}-->"> 
     41<input type="hidden" name="campaign_id" value="product_id"> 
    4242<!--{foreach key=key item=item from=$arrSearchHidden}--> 
    4343    <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->"> 
     
    120120            <td><!--{$arrProducts[cnt].product_code|escape|default:"-"}--></td> 
    121121            <td><!--{$arrProducts[cnt].name|escape}--></td> 
    122             <td align="center"><a href="#" onClick="fnFormModeSubmit('form1', 'view', '', ''); return false;">·èÄê</a></td> 
     122            <td align="center"><a href="#" onClick="fnFormModeSubmit('form1', 'view', 'product_id', '<!--{$arrProducts[cnt].product_id}-->'); return false;">·èÄê</a></td> 
    123123        </tr> 
    124124        <!--¢¥¾¦ÉÊ<!--{$smarty.section.cnt.iteration}-->--> 
  • temp/branches/ec-cube-beta/data/Smarty/templates/campaign/index.tpl

    r10891 r10968  
    11<!--{*¥Ø¥Ã¥À¡¼ÆÉ¹þ*}--> 
    22<!--{include file=`$tpl_dir_name`/header.tpl}--> 
     3 
     4<form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->"> 
     5<input type="hidden" name="mode" value="cart"> 
     6<input type="hidden" name="product_id" value=""> 
     7 
    38<!--{*¥³¥ó¥Æ¥ó¥ÄÆÉ¹þ*}--> 
    49<!--{include file=`$tpl_dir_name`/contents.tpl}--> 
     10 
     11</form> 
     12 
    513<!--{*¥Õ¥Ã¥¿¡¼ÆÉ¹þ*}--> 
    614<!--{include file=`$tpl_dir_name`/footer.tpl}--> 
  • temp/branches/ec-cube-beta/html/admin/contents/campaign_create_tag.php

    r10967 r10968  
    2424// ǧ¾Ú²ÄÈݤÎȽÄê 
    2525sfIsSuccess($objSess); 
    26 /* 
    27 // ¸¡º÷¥Ñ¥é¥á¡¼¥¿¤Î°ú¤­·Ñ¤® 
    28 foreach ($_POST as $key => $val) { 
    29     if (ereg("^search_", $key)) { 
    30         $objPage->arrSearchHidden[$key] = $val;  
    31     } 
    32 } 
    33 */ 
     26 
    3427switch($_POST['mode']) { 
    3528     
     
    116109    $arrProductClass = lfGetProductsClass($_POST['product_id']); 
    117110     
    118 sfprintr($arrProductClass);  
     111    // ¸¡º÷¥Ñ¥é¥á¡¼¥¿¤Î°ú¤­·Ñ¤® 
     112    foreach ($_POST as $key => $val) { 
     113        if (ereg("^search_", $key)) { 
     114            $objPage->arrSearchHidden[$key] = $val;  
     115        } 
     116    } 
    119117    $create_tag = "<a href=\"#\" onclick=\"fnFormModeSubmit('form1', 'cart', 'product_id', 404)\"><img src=\"images/top/button_03.jpg\" alt=\"¹ØÆþ¤¹¤ë\" width=\"138\" height=\"60\" border=\"0\" style=\"margin-left:10px;\" /></a>"; 
    120118    $objPage->tpl_create_tag = $create_tag; 
Note: See TracChangeset for help on using the changeset viewer.