Restoring summary view to attachments view.
This commit is contained in:
@@ -21,7 +21,6 @@ function ewiki_view_append_attachments($id, $data, $action) {
|
||||
|
||||
$o = '<hr><h4><a href="' . ewiki_script(EWIKI_ACTION_ATTACHMENTS, $id) .
|
||||
'">' . ewiki_t("ATTACHMENTS") . '</a></h4>';
|
||||
return($o); // We don't want to show all the attachment listing in Moodle, just a link
|
||||
|
||||
$scan = 's:7:"section";' . serialize($id);
|
||||
$result = ewiki_database("SEARCH", array("meta" => $scan));
|
||||
|
||||
@@ -343,7 +343,6 @@ function ewiki_entry_downloads($row, $show_section=0, $fullinfo=false) {
|
||||
$info->title = $p_title;
|
||||
$info->comment = $p_comment;
|
||||
|
||||
|
||||
if ($fullinfo) {
|
||||
$o .= '<a href="'.$info->url.'">'.$info->icon.$info->title.'</a>'.$info->size.'<br>'.
|
||||
get_string("uploadedon","wiki").": ".$info->time.", ".
|
||||
|
||||
Reference in New Issue
Block a user