Changeset 50 for trunk/smarty

Show
Ignore:
Timestamp:
10/18/05 11:03:45 (7 years ago)
Author:
alexx
Message:

Fix a bug show in IE (don't like display='table')

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/smarty/templates/friends/join.tpl

    r1 r50  
    5959<a class='odd' href="javascript:display_form('import')">{t}Import from CSV{/t}</a> 
    6060</div> 
    61 <table id='form_invitation'> 
     61<div id='form_invitation'> 
     62<table> 
    6263<tr><th colspan='2' class='profileHeader'>{t}Fill this form to invite your friend{/t}</th></tr> 
    6364<tr class='{cycle values='odd,even'}'><td colspan='2' align='center'><a href='/my/settings'>{t}Personalize your invitation{/t} !</a></td></tr> 
     
    7273</td></tr> 
    7374</table> 
    74 <table id='form_import' style='display: none'> 
     75</div> 
     76<div id='form_import' style='display: none'> 
     77<table> 
    7578<tr><th class='profileHeader'>{t}Import a CSV file{/t}</th></tr> 
    7679<tr class='{cycle values='odd,even'}'><td class='value'>{t}The CSV format is: {/t}"{t}First name{/t}","{t}Last name{/t}","address@email.tld"<br /> 
     
    8083<tr class='{cycle values='odd,even'}'><td align='right' class='label'><input type='submit' name='import' value='{t}Import{/t}' /></td></tr> 
    8184</table> 
     85</div> 
    8286<input type="hidden" name="MAX_FILE_SIZE" value="30000" /> 
    8387</form> 
     
    148152        current_pan_o.style.display = "none"; 
    149153        current_pan_o = document.getElementById('form_'+what); 
    150         current_pan_o.style.display = "table"; 
     154        current_pan_o.style.display = "block"; 
    151155} 
    152156</script>