-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
559 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<div class='action_area_content' style='float:right'> | ||
<%= form_tag '', :onsubmit => "FileEditor.runSearch(this); return false;" %> | ||
<h2> | ||
<%= theme_image_tag('framework/filemanager_search.gif') -%> | ||
Search For <input class="text_field_input" id="search_search" name="search[search]" size="20" type="text" /> | ||
<input class="button_link" id="search_submit" name="commit" type="submit" value="Search" /> | ||
</h2> | ||
</form> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
<div class='action_area_content' id='files_upload_area' style='float:left;' > | ||
<div id='upload_progress' style='display:none;' ></div> | ||
<div id='upload_action'> | ||
<%= form_tag({:action => 'upload'}, :onsubmit => "this.target = 'UploadTarget'; FileEditor.startUpload(this); FileEditor.hideDetails(); return true;", :enctype => 'multipart/form-data') %> | ||
<div style='float:left;'> | ||
<h2> | ||
<%= theme_image_tag('framework/filemanager_upload_file.gif') -%> | ||
<%= "Upload New File:".t %> | ||
</h2> | ||
</div> | ||
<div style='float:left; position:relative;'> | ||
<input type='hidden' name='X-Progress-ID' id='upload_identifier' value=''/> | ||
<input type='hidden' id='upload_file_parent_id' name='upload_file[parent_id]' value='<%= @folder.id %>'/> | ||
|
||
<input type='text' id='file_upload_name' readonly='readonly' class='file_input_textbox'/> | ||
<div class='filemanager_file_input'> | ||
<input type='button' value='Browse' class="button_link" /> | ||
<%= file_field 'upload_file','filename', :id => 'file_column', :class=>'file_input_hidden', :onchange => "FileEditor.selectedChange(); $j('#file_upload_name').val(this.value);" %> | ||
</div> | ||
|
||
<%= submit_tag "Upload".t, :id => 'upload_button', :class => 'button_link' %> | ||
|
||
<div class='clear'></div> | ||
|
||
<label for='replace_same'><input type='checkbox' name='replace_same' id='replace_same' checked='checked'/><%= "Replace matching files".t %></label> | ||
|
||
<span id='upload_extra' style='display:none;'> | ||
<label for='extract_archive'><input type='checkbox' name='extract_archive' id='extract_archive'/><%= "Extract Archived Files".t %></label> | ||
</span> | ||
</div> | ||
|
||
<div id='upload_status_area'></div> | ||
<script>$('file_column').value = '';$('upload_button').disabled = true;</script> | ||
|
||
</form> | ||
</div> | ||
|
||
<iframe id="UploadTarget" name="UploadTarget" src="" style="width:0px;height:0px;border:0"></iframe> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
|
||
Sort By: | ||
<select name='order' onchange='FileEditor.reorder(this.value);' > | ||
<%= options_for_select @order_options, @order %> | ||
</select> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
<a href='javascript:void(0);' onclick='FileEditor.selectUpload();'>< Back to File Manager</a> | ||
<div align='right'> | ||
<% cms_unstyled_form_for :search do |f| %> | ||
<%= f.select :order, @order_options %> | ||
<% end -%> | ||
</div> | ||
|
||
<% @results.each do |file| -%> | ||
<%= render :partial => 'search_item', :locals => { :file => file } %> | ||
<% end -%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.