Code Duplication    Length = 3-3 lines in 2 locations

geodirectory_widgets.php 1 location

@@ 386-388 (lines=3) @@
383
                <?php // if ( get_option('gd_facebook_button') ) {
384
                ?>
385
386
                <iframe <?php if (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false)) {
387
                    echo 'allowtransparency="true"';
388
                }?> class="facebook"
389
                    src="//www.facebook.com/plugins/like.php?href=<?php echo urlencode(geodir_curPageURL()); ?>&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light"
390
                    style="border:none; overflow:hidden; width:100px; height:20px"></iframe>
391

geodirectory-functions/custom_functions.php 1 location

@@ 2010-2012 (lines=3) @@
2007
{
2008
    global $post;
2009
    ?>
2010
    <iframe <?php if (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false)) {
2011
        echo 'allowtransparency="true"';
2012
    } ?> class="facebook"
2013
         src="//www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light"
2014
         style="border:none; overflow:hidden; width:100px; height:20px"></iframe>
2015
<?php