Changeset 10968
- Timestamp:
- 2006/12/18 23:40:26 (19 years ago)
- Location:
- temp/branches/ec-cube-beta
- Files:
-
- 3 edited
-
data/Smarty/templates/admin/contents/campaign_create_tag.tpl (modified) (2 diffs)
-
data/Smarty/templates/campaign/index.tpl (modified) (1 diff)
-
html/admin/contents/campaign_create_tag.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/branches/ec-cube-beta/data/Smarty/templates/admin/contents/campaign_create_tag.tpl
r10962 r10968 39 39 <input name="anchor_key" type="hidden" value=""> 40 40 <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"> 42 42 <!--{foreach key=key item=item from=$arrSearchHidden}--> 43 43 <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->"> … … 120 120 <td><!--{$arrProducts[cnt].product_code|escape|default:"-"}--></td> 121 121 <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> 123 123 </tr> 124 124 <!--¢¥¾¦ÉÊ<!--{$smarty.section.cnt.iteration}-->--> -
temp/branches/ec-cube-beta/data/Smarty/templates/campaign/index.tpl
r10891 r10968 1 1 <!--{*¥Ø¥Ã¥À¡¼ÆÉ¹þ*}--> 2 2 <!--{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 3 8 <!--{*¥³¥ó¥Æ¥ó¥ÄÆÉ¹þ*}--> 4 9 <!--{include file=`$tpl_dir_name`/contents.tpl}--> 10 11 </form> 12 5 13 <!--{*¥Õ¥Ã¥¿¡¼ÆÉ¹þ*}--> 6 14 <!--{include file=`$tpl_dir_name`/footer.tpl}--> -
temp/branches/ec-cube-beta/html/admin/contents/campaign_create_tag.php
r10967 r10968 24 24 // ǧ¾Ú²ÄÈݤÎȽÄê 25 25 sfIsSuccess($objSess); 26 /* 27 // ¸¡º÷¥Ñ¥é¥á¡¼¥¿¤Î°ú¤·Ñ¤® 28 foreach ($_POST as $key => $val) { 29 if (ereg("^search_", $key)) { 30 $objPage->arrSearchHidden[$key] = $val; 31 } 32 } 33 */ 26 34 27 switch($_POST['mode']) { 35 28 … … 116 109 $arrProductClass = lfGetProductsClass($_POST['product_id']); 117 110 118 sfprintr($arrProductClass); 111 // ¸¡º÷¥Ñ¥é¥á¡¼¥¿¤Î°ú¤·Ñ¤® 112 foreach ($_POST as $key => $val) { 113 if (ereg("^search_", $key)) { 114 $objPage->arrSearchHidden[$key] = $val; 115 } 116 } 119 117 $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>"; 120 118 $objPage->tpl_create_tag = $create_tag;
Note: See TracChangeset
for help on using the changeset viewer.
