Code Duplication    Length = 3-3 lines in 4 locations

geodirectory_template_actions.php 2 locations

@@ 2436-2438 (lines=3) @@
2433
            ?>
2434
2435
            <h5 id="geodir_form_title_row" class="geodir-form_title"> <?php echo PRO_PHOTO_TEXT;?>
2436
                <?php if ($image_limit == 1) {
2437
                    echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('image with this package', 'geodirectory') . ')</small>';
2438
                } ?>
2439
                <?php if ($image_limit > 1) {
2440
                    echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('images with this package', 'geodirectory') . ')</small>';
2441
                } ?>
@@ 2439-2441 (lines=3) @@
2436
                <?php if ($image_limit == 1) {
2437
                    echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('image with this package', 'geodirectory') . ')</small>';
2438
                } ?>
2439
                <?php if ($image_limit > 1) {
2440
                    echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('images with this package', 'geodirectory') . ')</small>';
2441
                } ?>
2442
                <?php if ($image_limit == '') {
2443
                    echo '<br /><small>(' . __('You can upload unlimited images with this package', 'geodirectory') . ')</small>';
2444
                } ?>

geodirectory-admin/admin_functions.php 2 locations

@@ 1727-1729 (lines=3) @@
1724
1725
1726
    <h5 class="form_title">
1727
        <?php if ($image_limit != 0 && $image_limit == 1) {
1728
            echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('image with this package', 'geodirectory') . ')</small>';
1729
        } ?>
1730
        <?php if ($image_limit != 0 && $image_limit > 1) {
1731
            echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('images with this package', 'geodirectory') . ')</small>';
1732
        } ?>
@@ 1730-1732 (lines=3) @@
1727
        <?php if ($image_limit != 0 && $image_limit == 1) {
1728
            echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('image with this package', 'geodirectory') . ')</small>';
1729
        } ?>
1730
        <?php if ($image_limit != 0 && $image_limit > 1) {
1731
            echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('images with this package', 'geodirectory') . ')</small>';
1732
        } ?>
1733
        <?php if ($image_limit == 0) {
1734
            echo '<br /><small>(' . __('You can upload unlimited images with this package', 'geodirectory') . ')</small>';
1735
        } ?>