<% @i = 0 %>
<%= (I18n.locale.to_s == "zh_tw") ? "修復模組在admin/item重複出現問題" : "repair module multiple existed in admin/item page" %>
<%= (I18n.locale.to_s == "zh_tw") ? "全選" : "select all" %>
<%= (I18n.locale.to_s == "zh_tw") ? "取消全選" : "unselect all" %>
<%
default_file_show = @file_to_show.fields['file_show'].options[:default]
if @file_to_show.file_show.count != default_file_show.count
@file_to_show.file_show = default_file_show
@file_to_show.save
end
%>
<%=form_for @file_to_show ,:url=>{:controller=>"patchfiles" ,:action=>"edit"} do |file|%>
<%= file.fields_for :file_show do |filefield|%>
<%end%>
<%=file.submit "#{t(:updatefont)}",{:id=>"updatebtn",:onclick=>"return updatefcn()"}%>
<%=file.text_field :recovery_btn, {:id=>"hidden-recovery",:type => "hidden",:value=>"false"} %>
<%=file.text_field :refresh_btn, {:id=>"hidden-refresh",:type => "hidden",:value=>"false"} %>
<%=(I18n.locale.to_s =="zh_tw") ? "查看上次更新的logs" : "see logs of prev update "%>
<%=(I18n.locale.to_s =="zh_tw") ? "復原到上次更新的檔案狀態" : "recovery to prev file status"%>
<%=(I18n.locale.to_s =="zh_tw") ? "刷新可更新的檔案狀態" : "refresh the status of the update files"%>
<%end%>
網站目錄根路徑:<%=Dir.pwd.to_s%>
CKEDITOR現有字形
<% @ckicktosee_str = (I18n.locale.to_s == "en") ? "click me to see all font which CKEDITOR have now" : "點擊我來查看編輯器所有目前擁有的字形" %>
<%= @ckicktosee_str %>