Changeset 22763


Ignore:
Timestamp:
2013/03/26 17:50:16 (8 years ago)
Author:
michael_nelson
Message:

r#2172 郵便番号の必須を外したい - If statement stopped address from displaying when zip was blank.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12_3en-p2/data/Smarty/templates/default_en-US/abouts/index.tpl

    r22367 r22763  
    8080            <!--{/if}--> 
    8181            *}--> 
    82             <!--{if strlen($objSiteInfo->data.zipcode)}--> 
    8382                <tr> 
    8483                    <th>Location</th> 
    85                     <td><!--{$objSiteInfo->data.zipcode|h}--><br /><!--{$objSiteInfo->data.addr01|h}--><!--{$objSiteInfo->data.addr02|h}--></td> 
     84                    <td><!--{if strlen($objSiteInfo->data.zipcode)}--> 
     85                        <!--{$objSiteInfo->data.zipcode|h}--><br />  
     86                        <!--{/if}--><!--{$objSiteInfo->data.addr01|h}--><!--{$objSiteInfo->data.addr02|h}--></td> 
    8687                </tr> 
    87             <!--{/if}--> 
    88  
     88            
    8989            <!--{if strlen($objSiteInfo->data.tel01)}--> 
    9090                <tr> 
Note: See TracChangeset for help on using the changeset viewer.