<?php $__env->startSection('content'); ?>
    <?php echo Form::open(['route' => ['comment.storage-settings']]); ?>

    <?php if(version_compare(get_core_version(), '7.0.0', '<')): ?>
        <div class="max-width-1200">
            <div class="flexbox-annotated-section">

                <div class="flexbox-annotated-section-annotation">
                    <div class="annotated-section-title pd-all-20">
                        <h2>Comment settings</h2>
                    </div>
                    <div class="annotated-section-description pd-all-20 p-none-t">
                        <p class="color-note">Configure comment options</p>
                    </div>
                </div>

                <div class="flexbox-annotated-section-content">
                    <div class="wrapper-content pd-all-20">

                        <div class="form-group mb-2">
                            <input type="hidden" name="comment_enable" value="0">
                            <label>
                                <input type="checkbox" name="comment_enable"
                                       <?php if(setting('comment_enable')): ?> checked <?php endif; ?>
                                       value="1" id="comment-enable">
                                Enable?
                            </label>
                        </div>

                        <div class="form-group mb-2">
                            <input type="hidden" name="comment_moderation" value="0">
                            <label>
                                <input type="checkbox" name="comment_moderation"
                                       <?php if(setting('comment_moderation')): ?> checked <?php endif; ?>
                                       value="1" id="comment_moderation">
                                Comments must be moderated?
                            </label>
                        </div>

                    </div>
                </div>

            </div>

            <div id="show-comments-setting" style="display: none">

                <div class="flexbox-annotated-section">

                    <div class="flexbox-annotated-section-annotation">
                        <div class="annotated-section-title pd-all-20">
                            <h2>Enable comments for</h2>
                        </div>
                        <div class="annotated-section-description pd-all-20 p-none-t">
                            <p class="color-note">Select Modules to Embed Comments</p>
                        </div>
                    </div>

                    <div class="flexbox-annotated-section-content">
                        <div class="wrapper-content pd-all-20">
                            <?php
                                $menuEnables = json_decode(setting('comment_menu_enable', '[]'), true);
                            ?>

                            <input type="hidden" name="comment_menu_enable[]" value="0" />

                            <?php $__currentLoopData = SlugHelper::supportedModels(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $model => $name): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="form-group mb-2">
                                    <label for="<?php echo e($model); ?>">
                                        <input type="checkbox"
                                               <?php if(in_array($model, $menuEnables)): ?> checked <?php endif; ?>
                                               value="<?php echo e($model); ?>" name="comment_menu_enable[]" id="<?php echo e($model); ?>">
                                        <?php echo e($name); ?>

                                    </label>
                                </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                        </div>
                    </div>

                </div>

            </div>

            <div class="flexbox-annotated-section" style="border: none">
                <div class="flexbox-annotated-section-annotation">
                    &nbsp;
                </div>
                <div class="flexbox-annotated-section-content">
                    <button class="btn btn-info" type="submit"><?php echo e(trans('core/setting::setting.save_settings')); ?></button>
                </div>
            </div>
        </div>
    <?php else: ?>
        <?php if (isset($component)) { $__componentOriginal0a39fdd16f40824788edeed4e460894f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal0a39fdd16f40824788edeed4e460894f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '4d69f58c2cfdff5049123ae0e3ca253b::section','data' => ['title' => 'Comment settings','description' => 'Configure comment options']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('core-setting::section'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'Comment settings','description' => 'Configure comment options']); ?>
            <div class="mb-3">
                <input type="hidden" name="comment_enable" value="0">
                <label for="comment-enable" class="form-check-label">
                    <input type="checkbox" name="comment_enable" class="form-check-input"
                           <?php if(setting('comment_enable')): ?> checked <?php endif; ?>
                           value="1" id="comment-enable">
                    Enable?
                </label>
            </div>

            <div class="mb-3">
                <input type="hidden" name="comment_moderation" value="0">
                <label for="comment-moderation" class="form-check-label">
                    <input type="checkbox" name="comment_moderation" class="form-check-input"
                           <?php if(setting('comment_moderation')): ?> checked <?php endif; ?>
                           value="1" id="comment-moderation">
                    Comments must be moderated?
                </label>
            </div>

            <div id="show-comments-setting" style="display: none">
                <label class="form-label">Select Modules to Embed Comments</label>
                <?php
                    $menuEnables = json_decode(setting('comment_menu_enable', '[]'), true);
                ?>

                <?php if (isset($component)) { $__componentOriginal20d878510d8f6b63da7004efc7cea55f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal20d878510d8f6b63da7004efc7cea55f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'a74ad8dfacd4f985eb3977517615ce25::form.fieldset','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('core::form.fieldset'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
                    <input type="hidden" name="comment_menu_enable[]" value="0" />

                    <?php $__currentLoopData = SlugHelper::supportedModels(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $model => $name): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="mb-3">
                            <label for="<?php echo e($model); ?>" class="form-check-label">
                                <input type="checkbox" class="form-check-input"
                                       <?php if(in_array($model, $menuEnables)): ?> checked <?php endif; ?>
                                       value="<?php echo e($model); ?>" name="comment_menu_enable[]" id="<?php echo e($model); ?>">
                                <?php echo e($name); ?>

                            </label>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal20d878510d8f6b63da7004efc7cea55f)): ?>
<?php $attributes = $__attributesOriginal20d878510d8f6b63da7004efc7cea55f; ?>
<?php unset($__attributesOriginal20d878510d8f6b63da7004efc7cea55f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal20d878510d8f6b63da7004efc7cea55f)): ?>
<?php $component = $__componentOriginal20d878510d8f6b63da7004efc7cea55f; ?>
<?php unset($__componentOriginal20d878510d8f6b63da7004efc7cea55f); ?>
<?php endif; ?>

            </div>

            <button class="btn btn-info" type="submit"><?php echo e(trans('core/setting::setting.save_settings')); ?></button>
         <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal0a39fdd16f40824788edeed4e460894f)): ?>
<?php $attributes = $__attributesOriginal0a39fdd16f40824788edeed4e460894f; ?>
<?php unset($__attributesOriginal0a39fdd16f40824788edeed4e460894f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal0a39fdd16f40824788edeed4e460894f)): ?>
<?php $component = $__componentOriginal0a39fdd16f40824788edeed4e460894f; ?>
<?php unset($__componentOriginal0a39fdd16f40824788edeed4e460894f); ?>
<?php endif; ?>
    <?php endif; ?>
    <?php echo Form::close(); ?>

<?php $__env->stopSection(); ?>

<?php echo $__env->make(BaseHelper::getAdminMasterLayoutTemplate(), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\Admin\Documents\UltraNews v4.0.0 Nulled\UltraNews v4.0.0 Nulled\ultra-news\platform/plugins/comment/resources/views/settings.blade.php ENDPATH**/ ?>