Ignore:
Timestamp:
11/12/08 14:47:09 (11 years ago)
Author:
cbyrom
Message:

Extend helpIcon template function to allow the help section type
(e.g. 'tr' or 'div') to be set, to allow re-use in different places.

File:
1 edited

Legend:

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

    r4315 r4598  
    4343     
    4444    <!--! Help Icons --> 
    45     <span py:def="helpIcon(value)"> 
     45    <span py:def="helpIcon(value, elementType)"> 
    4646        <span> 
    47             <a href="javascript:;" title="Toggle help" onclick="toggleDiv(1,'$value','shown','hidden','div'); return false;"> 
     47            <a href="javascript:;" title="Toggle help" onclick="toggleDiv(1,'$value','shown','hidden','$elementType'); return false;"> 
    4848            <img src="$g.helpIcon" alt="Toggle help" class="helpicon"/></a> 
    4949       
Note: See TracChangeset for help on using the changeset viewer.