1
0
mirror of https://github.com/PlagiarismCheck/moodle-plagiarism_pchkorg.git synced 2024-12-22 12:10:08 +00:00

version 2.4 Skip 2 warnings validation

This commit is contained in:
Jane Adelmann 2019-03-14 16:40:09 +02:00
parent ce4f497868
commit 016b0e5829
No known key found for this signature in database
GPG Key ID: 4448AC31D0972D2F
3 changed files with 6 additions and 3 deletions

View File

@ -245,7 +245,10 @@ class plagiarism_pchkorg_api_provider {
$eol = "\r\n";
$body = '';
$body .= $this->get_part('language', 'en', $boundary);
$body .= $this->get_part('skip_english_words_validation', '1', $boundary);
$body .= $this->get_part('skip_percentage_words_validation', '1', $boundary);
$body .= $this->get_file_part('text', $content, $mime, $filename, $boundary);
$body .= '--' . $boundary . '--' . $eol;

View File

@ -91,7 +91,7 @@ class plagiarism_plugin_pchkorg extends plagiarism_plugin {
$link = sprintf(' <a href="%s" target="_blank">( %s )</a> ', $checkurl->__toString(), $label);
} else {
$label = get_string('pchkorg_check_for_plagiarism', 'plagiarism_pchkorg');
$link = sprintf(' <a href="%s">( %s )</a> ', $checkurl->__toString(), $label);
$link = sprintf(' <a href="%s" target="_blank">( %s )</a> ', $checkurl->__toString(), $label);
}
return $link;

View File

@ -26,9 +26,9 @@ defined('MOODLE_INTERNAL') || die();
if (!isset($plugin)) {
$plugin = new stdClass();
}
$plugin->version = 2019020601;
$plugin->version = 2019031401;
$plugin->requires = 2017051501; // Requires Moodle 3.3 .
$plugin->release = 'v2.3';
$plugin->release = 'v2.4';
$plugin->maturity = MATURITY_STABLE;
$plugin->component = 'plagiarism_pchkorg';