// Check if all the files exists in the manifest, iff it's a IMS CC package.
if ($content_type == 'IMS Common Cartridge') {
+ //If user chooses to ignore validation.
+ if(isset($_POST['ignore_validation']) && $_POST['ignore_validation']==1) {
+ $skip_ims_validation = true;
+ }
checkResources($import_path);
}
<input type="checkbox" name="allow_test_import" id="allow_test_import" checked="checked" />
<label for="allow_test_import"><?php echo _AT('test_import_package'); ?></label> <br />
<input type="checkbox" name="allow_a4a_import" id="allow_a4a_import" checked="checked" />
- <label for="allow_a4a_import"><?php echo _AT('a4a_import_package'); ?></label>
+ <label for="allow_a4a_import"><?php echo _AT('a4a_import_package'); ?></label> <br />
+ <input type="checkbox" name="ignore_validation" id="ignore_validation" value="1" />
+ <label for="ignore_validation"><?php echo _AT('ignore_validation'); ?></label> <br />
</div>
<div class="row">