|
|
|
@ -60,6 +60,9 @@ class FilesController < ApplicationController
|
|
|
|
|
sort = "#{@sort} #{@order}"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
show_attachments [@course]
|
|
|
|
|
@tag_list = attachment_tag_list @all_attachments
|
|
|
|
|
|
|
|
|
|
begin
|
|
|
|
|
q = "%#{params[:name].strip}%"
|
|
|
|
|
#(redirect_to stores_url, :notice => l(:label_sumbit_empty);return) if params[:name].blank?
|
|
|
|
@ -273,6 +276,8 @@ class FilesController < ApplicationController
|
|
|
|
|
|
|
|
|
|
show_attachments @containers
|
|
|
|
|
|
|
|
|
|
@tag_list = attachment_tag_list @all_attachments
|
|
|
|
|
|
|
|
|
|
render :layout => 'base_courses'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|