Restoring summary view to attachments view.

This commit is contained in:
mchurch
2004-08-25 04:19:48 +00:00
parent d00f113675
commit e8df6a8946
2 changed files with 0 additions and 2 deletions
@@ -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.", ".