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

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