mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-16587 bit of a large refactor of the portfolio formats. still more to come.
This commit is contained in:
parent
a813ddc975
commit
6be1dcae99
16 changed files with 295 additions and 141 deletions
|
@ -880,7 +880,7 @@ class chat_portfolio_caller extends portfolio_module_caller_base {
|
|||
}
|
||||
|
||||
public static function supported_formats() {
|
||||
return array(PORTFOLIO_FORMAT_HTML);
|
||||
return array(PORTFOLIO_FORMAT_PLAINHTML);
|
||||
}
|
||||
|
||||
public function expected_time() {
|
||||
|
@ -922,7 +922,7 @@ class chat_portfolio_caller extends portfolio_module_caller_base {
|
|||
}
|
||||
$content = preg_replace('/\<img[^>]*\>/', '', $content);
|
||||
|
||||
$this->exporter->write_new_file($content, clean_filename($this->cm->name . '-session.html'));
|
||||
$this->exporter->write_new_file($content, clean_filename($this->cm->name . '-session.html'), false);
|
||||
}
|
||||
|
||||
public static function display_name() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue