Show
Ignore:
Timestamp:
02/12/11 17:47:46 (2 years ago)
Author:
Torben Brodt
Message:

move twitter base package

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • solr/templates/solr.tpl

    r1281 r1285  
    9292                                <div class="container-1{if $singleColumn == false} column first{/if}"> 
    9393                                        <div class="columnInner"> 
    94                                                 <div class="contentBox"> 
     94                                                <div class="contentBox" id="searchResults"> 
    9595         
    9696                                                {foreach from=$messages item=item} 
     
    134134                </div> 
    135135        </div> 
     136        <script type="text/javascript"> 
     137        onloadEvents.push(function() { 
     138                if(_gaq) { 
     139                        var links = $$('#searchResults a'); 
     140                        for(var i=0; i<links.length; i++) { 
     141                                links[i].onclick = function(href) { 
     142                                        return function () { 
     143                                                _gaq.push(['_trackEvent', 'search', 'solr', href]); 
     144                                        }; 
     145                                }(links[i].href); 
     146                        } 
     147                } 
     148        }); 
     149        </script> 
    136150         
    137151        <div class="contentFooter">