Code Duplication    Length = 3-3 lines in 4 locations

geodirectory_template_actions.php 2 locations

@@ 2417-2419 (lines=3) @@
2414
            ?>
2415
2416
            <h5 id="geodir_form_title_row" class="geodir-form_title"> <?php echo PRO_PHOTO_TEXT;?>
2417
                <?php if ($image_limit == 1) {
2418
                    echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('image with this package', 'geodirectory') . ')</small>';
2419
                } ?>
2420
                <?php if ($image_limit > 1) {
2421
                    echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('images with this package', 'geodirectory') . ')</small>';
2422
                } ?>
@@ 2420-2422 (lines=3) @@
2417
                <?php if ($image_limit == 1) {
2418
                    echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('image with this package', 'geodirectory') . ')</small>';
2419
                } ?>
2420
                <?php if ($image_limit > 1) {
2421
                    echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('images with this package', 'geodirectory') . ')</small>';
2422
                } ?>
2423
                <?php if ($image_limit == '') {
2424
                    echo '<br /><small>(' . __('You can upload unlimited images with this package', 'geodirectory') . ')</small>';
2425
                } ?>

geodirectory-admin/admin_functions.php 2 locations

@@ 2064-2066 (lines=3) @@
2061
2062
2063
    <h5 class="form_title">
2064
        <?php if ($image_limit != 0 && $image_limit == 1) {
2065
            echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('image with this package', 'geodirectory') . ')</small>';
2066
        } ?>
2067
        <?php if ($image_limit != 0 && $image_limit > 1) {
2068
            echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('images with this package', 'geodirectory') . ')</small>';
2069
        } ?>
@@ 2067-2069 (lines=3) @@
2064
        <?php if ($image_limit != 0 && $image_limit == 1) {
2065
            echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('image with this package', 'geodirectory') . ')</small>';
2066
        } ?>
2067
        <?php if ($image_limit != 0 && $image_limit > 1) {
2068
            echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('images with this package', 'geodirectory') . ')</small>';
2069
        } ?>
2070
        <?php if ($image_limit == 0) {
2071
            echo '<br /><small>(' . __('You can upload unlimited images with this package', 'geodirectory') . ')</small>';
2072
        } ?>