Changeset 11028 for temp/branches


Ignore:
Timestamp:
2006/12/21 10:35:28 (19 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/branches/ec-cube-beta/data/Smarty/templates/campaign/index.tpl

    r10968 r11028  
    22<!--{include file=`$tpl_dir_name`/header.tpl}--> 
    33 
     4<script type="text/javascript"> 
     5<!-- 
     6function 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 
     20if(<!--{$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> 
    429<form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->"> 
    530<input type="hidden" name="mode" value="cart"> 
Note: See TracChangeset for help on using the changeset viewer.