Ignore:
Timestamp:
14/06/06 21:44:17 (14 years ago)
Author:
lawrence
Message:

A large number of small modifications to browse
dealing with a range of bugs ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI07-MOLES/trunk/StubB/XSLT/browse/portal/cgi/browse/htmlUtilities.py

    r1173 r1182  
    1717 
    1818def hyperlink(n,u): 
    19     return '<a href="%s">%s</a>'%(u,n) 
    20  
     19    ''' Make a hyperlink ... provided there is an address to jump to ''' 
     20    if u !='': 
     21        return '<a href="%s">%s</a>'%(u,n) 
     22    else: return n 
     23     
    2124def image(l,a): 
    2225    return '<img src="%s" alt="%s"/>'%(l,a) 
Note: See TracChangeset for help on using the changeset viewer.