Ignore:
Timestamp:
Dec 9, 2010, 1:26:39 PM (12 years ago)
Author:
work@…
Message:
  • added Facebook like support
File:
1 edited

Legend:

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

    r1119 r1241  
    1616        <script type="text/javascript" src="${resource(dir: 'js', file: 'topnav.js')}"></script>
    1717        <g:if env="development"><script type="text/javascript" src="${resource(dir: 'js', file: 'development.js')}"></script></g:if>
     18    <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
    1819</head>
    1920<body>
     
    2526        </div>
    2627        <div id="content"><g:layoutBody/></div>
     28        <g:if test="${facebookLikeUrl}">
     29        <div id="facebookConnect">
     30                <fb:like href="${resource(absolute: true)}${facebookLikeUrl}" show_faces="true" width="450" action="recommend" font="arial"></fb:like>
     31        </div>
     32        </g:if>
    2733        <div id="footer">
    2834                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>.
Note: See TracChangeset for help on using the changeset viewer.