Added extlink class to loona.elink
authorroot@roadshow
Mon, 12 Feb 2007 16:37:32 +0100
changeset 53f822b9c01a4
parent 4 b1a95be1aac0
child 6 dac2ae58fade
Added extlink class to loona.elink
cgi-bin/loona.lua
     1.1 --- a/cgi-bin/loona.lua	Mon Feb 12 13:02:48 2007 +0100
     1.2 +++ b/cgi-bin/loona.lua	Mon Feb 12 16:37:32 2007 +0100
     1.3 @@ -408,7 +408,7 @@
     1.4  
     1.5  
     1.6  function elink(target, text) -- external link
     1.7 -	return '<a href="' .. target .. 
     1.8 +	return '<a class="extlink" href="' .. target .. 
     1.9  		'" onclick="void(window.open(this.href, \'\', \'\')); return false;">'
    1.10  		.. (text or target) .. '</a>'
    1.11  end