Code Duplication    Length = 3-3 lines in 4 locations

geodirectory_template_actions.php 2 locations

@@ 2382-2384 (lines=3) @@
2379
            ?>
2380
2381
            <h5 id="geodir_form_title_row" class="geodir-form_title"> <?php echo PRO_PHOTO_TEXT;?>
2382
                <?php if ($image_limit == 1) {
2383
                    echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('image with this package', 'geodirectory') . ')</small>';
2384
                } ?>
2385
                <?php if ($image_limit > 1) {
2386
                    echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('images with this package', 'geodirectory') . ')</small>';
2387
                } ?>
@@ 2385-2387 (lines=3) @@
2382
                <?php if ($image_limit == 1) {
2383
                    echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('image with this package', 'geodirectory') . ')</small>';
2384
                } ?>
2385
                <?php if ($image_limit > 1) {
2386
                    echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('images with this package', 'geodirectory') . ')</small>';
2387
                } ?>
2388
                <?php if ($image_limit == '') {
2389
                    echo '<br /><small>(' . __('You can upload unlimited images with this package', 'geodirectory') . ')</small>';
2390
                } ?>

geodirectory-admin/admin_functions.php 2 locations

@@ 2043-2045 (lines=3) @@
2040
2041
2042
    <h5 class="form_title">
2043
        <?php if ($image_limit != 0 && $image_limit == 1) {
2044
            echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('image with this package', 'geodirectory') . ')</small>';
2045
        } ?>
2046
        <?php if ($image_limit != 0 && $image_limit > 1) {
2047
            echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('images with this package', 'geodirectory') . ')</small>';
2048
        } ?>
@@ 2046-2048 (lines=3) @@
2043
        <?php if ($image_limit != 0 && $image_limit == 1) {
2044
            echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('image with this package', 'geodirectory') . ')</small>';
2045
        } ?>
2046
        <?php if ($image_limit != 0 && $image_limit > 1) {
2047
            echo '<br /><small>(' . __('You can upload', 'geodirectory') . ' ' . $image_limit . ' ' . __('images with this package', 'geodirectory') . ')</small>';
2048
        } ?>
2049
        <?php if ($image_limit == 0) {
2050
            echo '<br /><small>(' . __('You can upload unlimited images with this package', 'geodirectory') . ')</small>';
2051
        } ?>