|
|
@ -27,24 +27,28 @@
|
|
|
|
<label for='image_height' style="vertical-align: top"> <%= l(:label_imgae_height)%>:</label>
|
|
|
|
<label for='image_height' style="vertical-align: top"> <%= l(:label_imgae_height)%>:</label>
|
|
|
|
<%= text_field_tag 'image_height', params[:label_imgae_height], :value => @first_page.image_height,:size => 30,:style => "font-size:small;width:490px;margin-left:10px;" %>
|
|
|
|
<%= text_field_tag 'image_height', params[:label_imgae_height], :value => @first_page.image_height,:size => 30,:style => "font-size:small;width:490px;margin-left:10px;" %>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
<!-- <p style="margin-left:60px;padding-right: 20px;">
|
|
|
|
|
|
|
|
<label for='title'> <#%= l(:label_site_title) %>:</label>
|
|
|
|
|
|
|
|
<#%= text_field_tag 'title', params[:label_site_title], :value => @first_page.title,:size => 30,:style => "font-size:small;width:490px;margin-left:10px;" %>
|
|
|
|
|
|
|
|
</p> -->
|
|
|
|
|
|
|
|
<p style="margin-left:60px;padding-right: 20px;">
|
|
|
|
<p style="margin-left:60px;padding-right: 20px;">
|
|
|
|
<label for='description' style="vertical-align: top"> <%= l(:label_site_description)%>:</label>
|
|
|
|
<label for='title'> <%= l(:label_show_course) %>:</label>
|
|
|
|
<!-- <#%= text_area_tag 'description',@first_page.description,:rows => 8, :size => 30,:style => "font-size:small;width:490px;margin-left:10px;" %> -->
|
|
|
|
<select name="show_course" id="show_course" style="font-size:small;width:497px;margin-left:10px;display: inline">
|
|
|
|
<%= text_area 'first_page', 'description', :value => @first_page.description,:cols => 80, :rows => 15, :class => 'wiki-edit' %>
|
|
|
|
<option value="1" <%= "selected=selected" if @first_page.show_course == 1 %>><%= l(:general_text_yes) %></option>
|
|
|
|
<%= wikitoolbar_for 'first_page_description' %>
|
|
|
|
<option value="2" <%= "selected=selected" if @first_page.show_course == 2 %>><%= l(:general_text_no) %></option>
|
|
|
|
</p>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<p style="margin-left:60px;padding-right: 20px;">
|
|
|
|
<p style="margin-left:60px;padding-right: 20px;">
|
|
|
|
<label for='sort_type' style="vertical-align: top"> <%= l(:label_sort_type)%>:</label>
|
|
|
|
<label for='sort_type' style="vertical-align: top"> <%= l(:label_sort_type)%>:</label>
|
|
|
|
<select name="sort_type" id="sort_type" style="font-size:small;width:496px;margin-left:80px;">
|
|
|
|
<select name="sort_type" id="sort_type" style="font-size:small;width:497px;margin-left:80px;">
|
|
|
|
<option value="1" <%= "selected=selected" if @first_page.sort_type == 1 %>><%= l(:label_sort_by_active) %></option>
|
|
|
|
<option value="1" <%= "selected=selected" if @first_page.sort_type == 1 %>><%= l(:label_sort_by_active) %></option>
|
|
|
|
<option value="2" <%= "selected=selected" if @first_page.sort_type == 2 %>><%= l(:label_sort_by_influence) %></option>
|
|
|
|
<option value="2" <%= "selected=selected" if @first_page.sort_type == 2 %>><%= l(:label_sort_by_influence) %></option>
|
|
|
|
<option value="0" <%= "selected=selected" if @first_page.sort_type == 0 %>><%= l(:label_sort_by_time) %></option>
|
|
|
|
<option value="0" <%= "selected=selected" if @first_page.sort_type == 0 %>><%= l(:label_sort_by_time) %></option>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p style="margin-left:60px;padding-right: 20px;">
|
|
|
|
|
|
|
|
<label for='description' style="vertical-align: top"> <%= l(:label_site_description)%>:</label>
|
|
|
|
|
|
|
|
<!-- <#%= text_area_tag 'description',@first_page.description,:rows => 8, :size => 30,:style => "font-size:small;width:490px;margin-left:10px;" %> -->
|
|
|
|
|
|
|
|
<%= text_area 'first_page', 'description', :value => @first_page.description,:cols => 80, :rows => 15, :class => 'wiki-edit' %>
|
|
|
|
|
|
|
|
<%= wikitoolbar_for 'first_page_description' %>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<%= submit_tag l(:button_save), :class => "small", :name => nil %>
|
|
|
|
<%= submit_tag l(:button_save), :class => "small", :name => nil %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|