mirror of
https://github.com/elua/elua.git
synced 2025-01-25 01:02:54 +08:00
Same as last commit but done right this time :)
Sorry, I commited a wrong test file. wb_build.lua now supports the logo_onclick_link parameter, of wb_usr.lua It defines an URL to be opened in a blank target windows. Helpfull to bring navigation back to a "homepage".
This commit is contained in:
parent
cee498aaf8
commit
84e71be504
@ -76,7 +76,7 @@ function writeTitleFile()
|
||||
|
||||
local wb_title = readFile("template_wb_title.html")
|
||||
if(wb_usr.logo_image_file ~= nil and wb_usr.logo_image_file ~= "")then
|
||||
wb_title = string.gsub(wb_title, "WB_LOGO", [[<A href="http://www.safesol.ro/index_en.html" target="_blank"><img src="wb_img/]]..wb_usr.logo_image_file..[[" border="0"></A>]])
|
||||
wb_title = string.gsub(wb_title, "WB_LOGO", [[<A href="]]..wb_usr.logo_onclick_link..[["><img src="wb_img/]]..wb_usr.logo_image_file..[[" border="0"></A>]])
|
||||
else
|
||||
wb_title = string.gsub(wb_title, "WB_LOGO","")
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user