Changeset 1434

Show
Ignore:
Timestamp:
24-01-11 11:50:20 (3 years ago)
Author:
work@…
Message:

- no facebook like in development :)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/layouts/main.gsp

    r1430 r1434  
    1515        <script src="${createLinkTo(dir: 'js', file: 'jquery-ui-1.8.7.custom.min.js')}" type="text/javascript"></script> 
    1616        <link rel="stylesheet" href="${createLinkTo(dir: 'css/cupertino', file: 'jquery-ui-1.8.7.custom.css')}"/> 
    17         <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script> 
     17        <g:if env="development"></g:if><g:else><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script></g:else> 
    1818        <g:layoutHead/> 
    1919        <script type="text/javascript" src="${resource(dir: 'js', file: 'disableKeys.js')}"></script> 
     
    3030        </div> 
    3131        <div id="content"><g:layoutBody/></div> 
     32        <g:if env="development"></g:if><g:else> 
    3233        <g:if test="${facebookLikeUrl}"> 
    3334        <div id="facebookConnect"> 
     
    3536        </div> 
    3637        </g:if> 
     38        </g:else> 
    3739        <div id="footer"> 
    3840                Copyright © 2008 - <g:formatDate format="yyyy" date="${new Date()}"/> NuGO, NMC and NBIC. All rights reserved. For more information go to <a href="http://dbnp.org">http://dbnp.org</a>.