<commit_before><? defined('C5_EXECUTE') or die("Access Denied."); ?>

    <?=Core::make('helper/concrete/dashboard')->getDashboardPaneHeaderWrapper(t('Image Uploading'), false, 'span8 offset2', false)?>

    <form method="post" id="file-access-extensions" action="<?=$view->action('save')?>" role="form">
        <?=$validation_token->output('image_uploading');?>

        <fieldset>
            <div class="row">
                <div class="col-md-12">
                    <legend><?=t('Image Resizing')?></legend>
                 </div>

                <div class="col-md-5">
                    <div class="checkbox">
                        <label>
                            <?=$form->checkbox('restrict_uploaded_image_sizes', '1', $restrict_uploaded_image_sizes)?>
                            <span><?=t('Automatically resize uploaded images')?></span>
                        </label>
                    </div>

                    <div id="resizing-values" <?=($restrict_uploaded_image_sizes ?  '' : 'style="display: none"');?>>
                        <div class="form-group">
                            <label for="restrict_max_width" class="control-label"><?= t('Maximum Width') ?></label>

                            <div class="input-group">
                                <input class="form-control" type="number" name="restrict_max_width" placeholder="1920" value="<?=$restrict_max_width?>">
                                <div class="input-group-addon">px</div>
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="restrict_max_height" class="control-label"><?= t('Maximum Height') ?></label>

                            <div class="input-group">
                                <input class="form-control" type="number" name="restrict_max_height" placeholder="1080" value="<?=$restrict_max_height?>">
                                <div class="input-group-addon">px</div>
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="restrict_resize_quality" class="control-label"><?= t('Image Compression Quality') ?></label>

                            <div class="input-group">
                                <input class="form-control" type="number" name="restrict_resize_quality" placeholder="85" value="<?=$restrict_resize_quality?>">
                                <div class="input-group-addon">%</div>
                            </div>
                        </div><commit_msg>Translate all the things<commit_after><? defined('C5_EXECUTE') or die("Access Denied."); ?>

    <?=Core::make('helper/concrete/dashboard')->getDashboardPaneHeaderWrapper(t('Image Uploading'), false, 'span8 offset2', false)?>

    <form method="post" id="file-access-extensions" action="<?=$view->action('save')?>" role="form">
        <?=$validation_token->output('image_uploading');?>

        <fieldset>
            <div class="row">
                <div class="col-md-12">
                    <legend><?=t('Image Resizing')?></legend>
                 </div>

                <div class="col-md-5">
                    <div class="checkbox">
                        <label>
                            <?=$form->checkbox('restrict_uploaded_image_sizes', '1', $restrict_uploaded_image_sizes)?>
                            <span><?=t('Automatically resize uploaded images')?></span>
                        </label>
                    </div>

                    <div id="resizing-values" <?=($restrict_uploaded_image_sizes ?  '' : 'style="display: none"');?>>
                        <div class="form-group">
                            <label for="restrict_max_width" class="control-label"><?= t('Maximum Width') ?></label>

                            <div class="input-group">
                                <input class="form-control" type="number" name="restrict_max_width" placeholder="1920" value="<?=$restrict_max_width?>">
                                <div class="input-group-addon"><?= t(/* i18n: short for pixels */ 'px') ?></div>
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="restrict_max_height" class="control-label"><?= t('Maximum Height') ?></label>

                            <div class="input-group">
                                <input class="form-control" type="number" name="restrict_max_height" placeholder="1080" value="<?=$restrict_max_height?>">
                                <div class="input-group-addon"><?= t(/* i18n: short for pixels */ 'px') ?></div>
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="restrict_resize_quality" class="control-label"><?= t('Image Compression Quality') ?></label>

                            <div class="input-group">
                                <input class="form-control" type="number" name="restrict_resize_quality" placeholder="85" value="<?=$restrict_resize_quality?>">
                                <div class="input-group-addon">%</div>
                            </div>
                        </div>
{'fraction_non_alphanumeric': 0.15968438850272404, 'fraction_numerical': 0.007138831486004133, 'mean_word_length': 1.56702025072324, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4556188', 'n_tokens_mistral': 1410, 'n_tokens_neox': 1349, 'n_words': 226}