mirror of
https://github.com/PlagiarismCheck/moodle-plagiarism_pchkorg.git
synced 2024-12-22 04:10:07 +00:00
version 2.4 Skip 2 warnings validation
This commit is contained in:
parent
ce4f497868
commit
016b0e5829
@ -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;
|
||||
|
||||
|
2
lib.php
2
lib.php
@ -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;
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user