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

@@ 2193-2195 (lines=3) @@
2190
function geodir_fb_like_button() {
2191
	global $post;
2192
	?>
2193
	<iframe <?php if ( isset( $_SERVER['HTTP_USER_AGENT'] ) && ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE' ) !== false ) ) {
2194
		echo 'allowtransparency="true"';
2195
	} ?> class="facebook"
2196
	     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"
2197
	     style="border:none; overflow:hidden; width:100px; height:20px"></iframe>
2198
	<?php