Changeset 11028 for temp/branches
- Timestamp:
- 2006/12/21 10:35:28 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/branches/ec-cube-beta/data/Smarty/templates/campaign/index.tpl
r10968 r11028 2 2 <!--{include file=`$tpl_dir_name`/header.tpl}--> 3 3 4 <script type="text/javascript"> 5 <!-- 6 function test() { 7 var change_tag = document.getElementsByTagName("div"); 8 var ids = ""; 9 10 for (var i = 0; i < change_tag.length; i++) { 11 str = change_tag.item(i).id; 12 if (str.match('test_*')) { 13 ids .= change_tag.item(i).id + '-'; 14 } 15 } 16 17 return ids; 18 } 19 20 if(<!--{$tpl_test}-->) 21 function init() { 22 alert(test()); 23 window.location = './index.php?test=1&ids=' + ids; 24 } 25 window.onload = init; 26 } 27 //--> 28 </script> 4 29 <form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->"> 5 30 <input type="hidden" name="mode" value="cart">
Note: See TracChangeset
for help on using the changeset viewer.
