Changeset 5840


Ignore:
Timestamp:
13/10/09 22:58:28 (10 years ago)
Author:
sdonegan
Message:

Update text and vocab search to use button inputs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/templates/utils.html

    r5797 r5840  
    126126    <span py:def="vocSrchIcon(value, elementType = 'div')"> 
    127127        <span> 
    128             <a href="javascript:;" title="Click to Perform a vocabulary assisted text search" onclick="toggleDiv(1,'$value','shown','hidden','$elementType'); return false;"> 
    129             <img src="$g.vocSrchIcon" alt="Vocabulary assisted text search" class="vocsrchicon"/></a> 
     128           <!-- <a href="javascript:;" title="Click to Perform a vocabulary assisted text search" onclick="toggleDiv(1,'$value','shown','hidden','$elementType'); return false;"> 
     129            <img src="$g.vocSrchIcon" alt="Vocabulary assisted text search" class="vocsrchicon"/></a> --> 
     130            <input type="button" alt="Vocabulary assisted text search" value="Vocab text search" onclick="toggleDiv(1,'$value','shown','hidden','$elementType'); return false;"/> 
    130131        </span> 
    131132    </span> 
     
    134135    <span py:def="txtSrchIcon(value, elementType = 'div')"> 
    135136        <span> 
    136             <a href="javascript:;" title="Click to perfom a Free text search" onclick="toggleDiv(1,'$value','shown','hidden','$elementType'); return false;"> 
    137             <img src="$g.txtSrchIcon" alt="Free text search" class="txtsrchicon"/></a> 
     137            <!--<a href="javascript:;" title="Click to perfom a Free text search" onclick="toggleDiv(1,'$value','shown','hidden','$elementType'); return false;"> 
     138            <img src="$g.txtSrchIcon" alt="Free text search" class="txtsrchicon"/></a> --> 
     139            <input type="button" alt="Click to perfom a Free text search" value="Free text search" onclick="toggleDiv(1,'$value','shown','hidden','$elementType'); return false;"/> 
    138140        </span> 
    139141    </span> 
Note: See TracChangeset for help on using the changeset viewer.