|
|
|
@ -962,13 +962,13 @@ class UsersController < ApplicationController
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
@type = params[:type] || 1
|
|
|
|
|
@limit = 15
|
|
|
|
|
@limit = 25
|
|
|
|
|
@is_remote = true
|
|
|
|
|
@atta_count = @attachments.count
|
|
|
|
|
@atta_pages = Paginator.new @atta_count, @limit, params['page'] || 1
|
|
|
|
|
@offset ||= @atta_pages.offset
|
|
|
|
|
#@curse_attachments_all = @all_attachments[@offset, @limit]
|
|
|
|
|
@attachments = paginateHelper @attachments,15
|
|
|
|
|
@attachments = paginateHelper @attachments,25
|
|
|
|
|
respond_to do |format|
|
|
|
|
|
format.js
|
|
|
|
|
end
|
|
|
|
@ -1018,13 +1018,13 @@ class UsersController < ApplicationController
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
@type = params[:type]
|
|
|
|
|
@limit = 15
|
|
|
|
|
@limit = 25
|
|
|
|
|
@is_remote = true
|
|
|
|
|
@atta_count = @attachments.count
|
|
|
|
|
@atta_pages = Paginator.new @atta_count, @limit, params['page'] || 1
|
|
|
|
|
@offset ||= @atta_pages.offset
|
|
|
|
|
#@curse_attachments_all = @all_attachments[@offset, @limit]
|
|
|
|
|
@attachments = paginateHelper @attachments,15
|
|
|
|
|
@attachments = paginateHelper @attachments,25
|
|
|
|
|
respond_to do |format|
|
|
|
|
|
format.js
|
|
|
|
|
end
|
|
|
|
@ -1422,13 +1422,13 @@ class UsersController < ApplicationController
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
@type = params[:type]
|
|
|
|
|
@limit = 15
|
|
|
|
|
@limit = 25
|
|
|
|
|
@is_remote = true
|
|
|
|
|
@atta_count = @attachments.count
|
|
|
|
|
@atta_pages = Paginator.new @atta_count, @limit, params['page'] || 1
|
|
|
|
|
@offset ||= @atta_pages.offset
|
|
|
|
|
#@curse_attachments_all = @all_attachments[@offset, @limit]
|
|
|
|
|
@attachments = paginateHelper @attachments,15
|
|
|
|
|
@attachments = paginateHelper @attachments,25
|
|
|
|
|
respond_to do |format|
|
|
|
|
|
format.js
|
|
|
|
|
format.html {render :layout => 'new_base_user'}
|
|
|
|
@ -1474,13 +1474,13 @@ class UsersController < ApplicationController
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
@type = params[:type]
|
|
|
|
|
@limit = 15
|
|
|
|
|
@limit = 25
|
|
|
|
|
@is_remote = true
|
|
|
|
|
@atta_count = @attachments.count
|
|
|
|
|
@atta_pages = Paginator.new @atta_count, @limit, params['page'] || 1
|
|
|
|
|
@offset ||= @atta_pages.offset
|
|
|
|
|
#@curse_attachments_all = @all_attachments[@offset, @limit]
|
|
|
|
|
@attachments = paginateHelper @attachments,15
|
|
|
|
|
@attachments = paginateHelper @attachments,25
|
|
|
|
|
respond_to do |format|
|
|
|
|
|
format.js
|
|
|
|
|
end
|
|
|
|
|