' . "\n";
$str .= '' . "\n";
$str .= '' . "\n";
$str .= '' . get_string('activities', 'iassign') . ': ' . $total . ' | ' . "\n";
$str .= '' . get_string('url_ilm', 'iassign') . ' ' . $iassign_ilm->url . ' | ' . "\n";
$str .= ' ' . "\n";
$str .= '' . get_string('description', 'iassign') . ': ' . iassign_language::get_description_lang(current_language(), $iassign_ilm->description) . ' | ' . "\n";
$str .= '' . get_string('type_ilm', 'iassign') . ': ' . $iassign_ilm->type . ' ' . get_string('extension', 'iassign') . ': ' . $iassign_ilm->extension . ' | ' . "\n";
$str .= '' . get_string('width', 'iassign') . ': ' . $iassign_ilm->width;
$str .= ' ' . get_string('height', 'iassign') . ': ' . $iassign_ilm->height . ' | ' . "\n";
$date_jar = $iassign_ilm->file_jar;
$str .= '' . get_string('file_jar', 'iassign') . ': ' . $date_jar . ' | ' . "\n";
$str .= '' . get_string('file_class', 'iassign') . ': ' . $iassign_ilm->file_class . ' | ' . "\n";
if ($iassign_ilm->evaluate == 1) {
$evaluate = get_string('yes', 'iassign');
} else {
$evaluate = get_string('no', 'iassign');
}
$str .= '' . get_string('evaluate', 'iassign') . ': ' . $evaluate . ' | ' . "\n";
if ($iassign_ilm->enable == 1) {
$enable = get_string('yes', 'iassign');
} else {
$enable = get_string('no', 'iassign');
}
$str .= '' . get_string('enable', 'iassign') . ': ' . $enable . ' | ' . "\n";
$str .= '' . "\n";
$str .= '' . get_string('file_created', 'iassign') . ': ' . userdate($iassign_ilm->timecreated) . ' | ' . "\n";
$str .= '' . get_string('file_modified', 'iassign') . ': ' . userdate($iassign_ilm->timemodified) . ' | ' . "\n";
$str .= ' ' . "\n";
$user_ilm = $DB->get_record('user', array('id' => $iassign_ilm->author));
if ($user_ilm) {
$str .= '' . "\n";
$str .= '' . get_string('author', 'iassign') . ': ' . $user_ilm->firstname . ' ' . $user_ilm->lastname . ' | ' . "\n";
$str .= ' ' . "\n";
}
$str .= ' ' . "\n";
$str .= ' |
' . "\n";
}
if (!empty($iassign_ilm->file_jar)) {
//TODO: REVIEW: to be used for parameters of "applet" from DB
$options = array("type" => "view"); //MOOC2014: start
$str .= '