Fix flag building.

This commit is contained in:
Mayhem 2013-07-02 18:50:46 +02:00
parent 2a99db7cdd
commit 8854f9a06f

View File

@ -104,12 +104,12 @@ Build =
capcodeStart = '' capcodeStart = ''
capcode = '' capcode = ''
flag = flag = unless flagCode
if flagCode ''
" <img src='#{staticPath}country/#{if boardID is 'pol' then 'troll/' else ''}" + else if boardID is 'pol'
flagCode.toLowerCase() + ".gif' alt=#{flagCode} title='#{flagName}' class=countryFlag>" " <img src='#{staticPath}country/troll/#{flagCode.toLowerCase()}.gif' alt=#{flagCode} title='#{flagName}' class=countryFlag>"
else else
'' " <span title='#{flagName}' class='flag flag-#{flagCode.toLowerCase()}'></span>"
if file?.isDeleted if file?.isDeleted
fileHTML = if isOP fileHTML = if isOP