first commit

This commit is contained in:
2024-10-25 14:16:28 +02:00
commit 925276dbb2
33795 changed files with 4780077 additions and 0 deletions

View File

@@ -0,0 +1,67 @@
{if $f == 'config_index'}
<button type="submit" value="1" name="submit_primaryconfig" class="btn btn-default pull-right"
ng-show="file_contains && (what_import == 'all' || (what_import && unique_data))">
<i class="icon-share pull-right"></i>
<i class="process-icon-save"></i>
{l s='Save and go to next step' mod='pshowimporter'}
</button>
{elseif $f == 'config_matchfields'}
<button type="submit" value="1" name="submit_matchfields"
class="btn btn-default pull-right checkRequiredFieldsBtn">
<i class="icon-share pull-right"></i>
<i class="process-icon-save"></i>
{l s='Save and go to next step' mod='pshowimporter'}
</button>
<button type="submit" value="1" name="submitNstay_matchfields" class="btn btn-default pull-right checkRequiredFieldsBtn">
<i class="process-icon-save-and-stay"></i> {l s='Save and stay' mod='pshowimporter'}
</button>
{elseif $f == 'config_matchcategories'}
<button type="submit" value="1" name="submitNimport_categories" class="btn btn-default pull-right">
<i class="icon-share pull-right"></i>
<i class="process-icon-save"></i> {l s='Save and import' mod='pshowimporter'}
</button>
<button type="submit" value="1" name="submitNstay_categories" class="btn btn-default pull-right">
<i class="process-icon-save"></i> {l s='Save and stay' mod='pshowimporter'}
</button>
<button type="submit" value="1" name="submit_categories" class="btn btn-default pull-right">
<i class="icon-list pull-left"></i>
<i class="process-icon-save"></i>
{l s='Save and back to files list' mod='pshowimporter'}
</button>
{/if}
<a href="{$link->getAdminLink('PShowImporterMain', true)}" class="btn btn-default configBtn">
<i class="process-icon-back"></i> {l s='Back to files list' mod='pshowimporter'}
</a>
<script>
$(function () {
$(document).on('submit', 'form#matchingFields,form#primaryConfiguration', function (e) {
$('.full-screen-loader').show();
});
$(document).on('click', '.configBtn', function () {
$('.full-screen-loader').show();
});
$(document).on('click', '.checkRequiredFieldsBtn', function () {
$('form#matchingFields').find('input[required="required"]').each(function () {
if ($(this).val() === '') {
var x = $(this);
while (!(x = x.parent()).hasClass('trFieldSettings'));
x.show();
}
});
});
});
</script>