Commit 0fa1803b authored by 神楽坂玲奈's avatar 神楽坂玲奈

论坛附件yrp ydk deck播放, 换行符

parent da8298ea
source 'http://rubygems.org' source 'http://rubygems.org'
gem 'rails' gem 'rails'
gem "paperclip" gem "paperclip"
gem 'http_accept_language' gem 'http_accept_language'
gem 'bb-ruby' gem 'bb-ruby'
gem 'devise' gem 'devise'
gem 'devise-i18n' gem 'devise-i18n'
gem 'kaminari' gem 'kaminari'
gem 'rails_admin' gem 'rails_admin'
# Bundle edge Rails instead: # Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git' # gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'mysql2' gem 'mysql2'
# Gems used only for assets and not required # Gems used only for assets and not required
# in production environments by default. # in production environments by default.
group :assets do group :assets do
gem 'sass-rails' gem 'sass-rails'
gem 'coffee-rails' gem 'coffee-rails'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes # See https://github.com/sstephenson/execjs#readme for more supported runtimes
unless RUBY_PLATFORM["mswin"] or RUBY_PLATFORM["ming"] if RUBY_PLATFORM["mswin"] or RUBY_PLATFORM["ming"]
gem 'therubyracer' gem 'therubyrhino'
end else
gem 'therubyracer'
gem 'uglifier' end
end
gem 'uglifier'
gem 'jquery-rails' end
# To use ActiveModel has_secure_password gem 'jquery-rails'
# gem 'bcrypt-ruby', '~> 3.0.0'
# To use ActiveModel has_secure_password
# To use Jbuilder templates for JSON # gem 'bcrypt-ruby', '~> 3.0.0'
# gem 'jbuilder'
# To use Jbuilder templates for JSON
# Use unicorn as the app server # gem 'jbuilder'
# gem 'unicorn'
# Use unicorn as the app server
# Deploy with Capistrano # gem 'unicorn'
# gem 'capistrano'
# Deploy with Capistrano
# To use debugger # gem 'capistrano'
# To use debugger
# gem 'ruby-debug19', :require => 'ruby-debug' # gem 'ruby-debug19', :require => 'ruby-debug'
\ No newline at end of file
...@@ -136,6 +136,7 @@ GEM ...@@ -136,6 +136,7 @@ GEM
hike (~> 1.2) hike (~> 1.2)
rack (~> 1.0) rack (~> 1.0)
tilt (~> 1.1, != 1.3.0) tilt (~> 1.1, != 1.3.0)
therubyrhino (1.73.4)
thor (0.14.6) thor (0.14.6)
tilt (1.3.3) tilt (1.3.3)
treetop (1.4.10) treetop (1.4.10)
...@@ -165,4 +166,5 @@ DEPENDENCIES ...@@ -165,4 +166,5 @@ DEPENDENCIES
rails rails
rails_admin rails_admin
sass-rails sass-rails
therubyrhino
uglifier uglifier
#encoding: UTF-8 #encoding: UTF-8
class UsersController < ApplicationController class UsersController < ApplicationController
require 'open-uri' require 'open-uri'
layout 'ygo' layout 'ygo'
# GET /users # GET /users
# GET /users.xml # GET /users.xml
def index def index
@users = User.all @users = User.all
@actions = [{t('mycard.battlenet') => users_path}, User.human_attribute_name(:index)] @actions = [{t('mycard.battlenet') => users_path}, User.human_attribute_name(:index)]
respond_to do |format| respond_to do |format|
format.html # index.html.erb format.html # index.html.erb
#format.xml { render :xml => @users } #format.xml { render :xml => @users }
end end
end end
# GET /users/1 # GET /users/1
# GET /users/1.xml # GET /users/1.xml
def show def show
@user = User.find_by_id(params[:id]) || User.find_by_name(params[:id]) @user = User.find_by_id(params[:id]) || User.find_by_name(params[:id])
@actions = [{t('mycard.battlenet') => users_path}, @user] @actions = [{t('mycard.battlenet') => users_path}, @user]
respond_to do |format| respond_to do |format|
format.html # show.html.erb format.html # show.html.erb
format.json { render :json => {id: @user.id, name: @user.name, nickname: @user.nickname} } format.json { render :json => {id: @user.id, name: @user.name, nickname: @user.nickname} }
format.png {redirect_to @user.avatar.url(:middle)} format.png { redirect_to @user.avatar.url(:middle) }
end end
end end
# GET /users/new # GET /users/new
# GET /users/new.xml # GET /users/new.xml
def new def new
@actions = [User.human_attribute_name(:register)] @actions = [User.human_attribute_name(:register)]
@user = User.new @user = User.new
respond_to do |format| respond_to do |format|
format.html # new.html.erb format.html # new.html.erb
format.xml { render :xml => @user } format.xml { render :xml => @user }
end end
end end
# GET /users/1/edit # GET /users/1/edit
def edit def edit
if @current_user != User::Guest if @current_user != User::Guest
@user = User.find(params[:id]) @user = User.find(params[:id])
@actions = [@user, "修改头像"] @actions = [@user, "修改头像"]
if @current_user != @user if @current_user != @user
respond_to do |format| respond_to do |format|
format.html {redirect_to(edit_user_path(@current_user), :notice => '请先登录.')} format.html { redirect_to(edit_user_path(@current_user), :notice => '请先登录.') }
end end
end end
else else
respond_to do |format| respond_to do |format|
format.html {redirect_to(:login, :notice => '请先登录.')} format.html { redirect_to(:login, :notice => '请先登录.') }
end end
end end
end end
# POST /users # POST /users
# POST /users.xml # POST /users.xml
def create def create
@user = User.new(params[:user]) @user = User.new(params[:user])
#不知道什么原因,加了devise之后那两个字段就奇怪的变成空了 #不知道什么原因,加了devise之后那两个字段就奇怪的变成空了
#@user.name = params[:user][:name] #@user.name = params[:user][:name]
#@user.password = params[:user][:password] #@user.password = params[:user][:password]
@actions = [User.human_attribute_name(:register)] @actions = [User.human_attribute_name(:register)]
@continue = params[:continue] @continue = params[:continue]
@from = params[:from].to_s.to_sym @from = params[:from].to_s.to_sym
respond_to do |format| respond_to do |format|
if @user.save open("http://ygopro-ocg.com/mycard.php?key=zh99998&username=#{CGI.escape @user.name}&password=#{CGI.escape @user.password}&email=#{CGI.escape @user.email}") do |f|
boardcast_user(@user, :"ygopro-ocg") result = f.read
session[:user_id] = @user.id if result.to_i <= 0
format.html { redirect_to(params[:continue] ? URI.escape(params[:continue]) : @user, :notice => '注册成功') } @user.errors[:base] << "发生系统错误 (#{result}) 请联系zh99998@gmail.com"
format.xml { render :xml => @user, :status => :created, :location => @user } end
else end rescue @user.errors[:base] << "发生系统错误 (#{$!.inspect}) 请联系zh99998@gmail.com"
format.html { render :action => "new" } if !@user.errors.any? and @user.save
format.xml { render :xml => @user.errors, :status => :unprocessable_entity } boardcast_user(@user, :"ygopro-ocg")
end session[:user_id] = @user.id
end format.html { redirect_to(params[:continue].blank? ? @user : URI.escape(params[:continue]) , :notice => '注册成功') }
end format.xml { render :xml => @user, :status => :created, :location => @user }
# PUT /users/1 else
# PUT /users/1.xml format.html { render :action => "new" }
def update format.xml { render :xml => @user.errors, :status => :unprocessable_entity }
@user = User.find(params[:id]) end
if @user == @current_user end
if !params[:user][:theme].blank? && @site[:themes].has_key?(params[:theme]) end
cookies[:user][:theme] = params[:theme]
end # PUT /users/1
respond_to do |format| # PUT /users/1.xml
if @user.update_attributes(params[:user]) def update
format.html { redirect_to(:back, :notice => 'User was successfully updated.') } @user = User.find(params[:id])
format.xml { head :ok } if @user == @current_user
else if !params[:user][:theme].blank? && @site[:themes].has_key?(params[:theme])
format.html { render :action => "edit" } cookies[:user][:theme] = params[:theme]
format.xml { render :xml => @user.errors, :status => :unprocessable_entity } end
end respond_to do |format|
end if @user.update_attributes(params[:user])
else format.html { redirect_to(:back, :notice => 'User was successfully updated.') }
respond_to do |format| format.xml { head :ok }
format.html { redirect_to(:back, :notice => '只能修改自己的头像') } else
end format.html { render :action => "edit" }
end format.xml { render :xml => @user.errors, :status => :unprocessable_entity }
end end
end
# DELETE /users/1 else
# DELETE /users/1.xml respond_to do |format|
def destroy format.html { redirect_to(:back, :notice => '只能修改自己的头像') }
@user = User.find(params[:id]) end
@user.destroy end
end
respond_to do |format|
format.html { redirect_to(users_url) } # DELETE /users/1
format.xml { head :ok } # DELETE /users/1.xml
end def destroy
end @user = User.find(params[:id])
def login @user.destroy
@actions = [User.human_attribute_name(:login)]
return @user = User.new if params[:user].blank? respond_to do |format|
@actions = [User.human_attribute_name(:login)] format.html { redirect_to(users_url) }
user = User.find_by_name(params[:user][:name]) format.xml { head :ok }
if user and params[:user][:password] == user.password end
@user = user end
elsif user.nil? or user.password.nil?
username = params[:user][:name] def login
password = params[:user][:password] @actions = [User.human_attribute_name(:login)]
Server.all.each do |server| return @user = User.new if params[:user].blank?
open("http://#{server.ip}:#{server.http_port}/?operation=passcheck&username=#{CGI.escape username}&pass=#{CGI.escape password}") do |file| @actions = [User.human_attribute_name(:login)]
if file.read == "true" user = User.find_by_name(params[:user][:name])
user.password = password if user and params[:user][:password] == user.password
@user = user @user = user
@user.save elsif user.nil? or user.password.nil?
break username = params[:user][:name]
end password = params[:user][:password]
end rescue nil Server.all.each do |server|
break if @user open("http://#{server.ip}:#{server.http_port}/?operation=passcheck&username=#{CGI.escape username}&pass=#{CGI.escape password}") do |file|
end if file.read == "true"
end user.password = password
respond_to do |format| @user = user
if @user @user.save
session[:user_id] = @user.id break
@user.update_attribute(:lastloginip, request.remote_ip) end
boardcast_user(@user) end rescue nil
format.html { redirect_to(params[:continue] ? URI.escape(params[:continue]) : @user, :notice => 'Login Successfully.') } break if @user
format.json { render json: @user } end
else end
@user = User.new(params[:user]) respond_to do |format|
format.html { render :text => 'incorrent_username_or_password' } if @user
format.json { head json: nil } session[:user_id] = @user.id
end @user.update_attribute(:lastloginip, request.remote_ip)
end boardcast_user(@user)
end format.html { redirect_to(params[:continue].blank? ? @user : URI.escape(params[:continue]), :notice => 'Login Successfully.') }
def logout format.json { render json: @user }
session[:user_id] = nil else
respond_to do |format| @user = User.new(params[:user])
format.html { redirect_to(:back) } format.html { render :text => 'incorrent_username_or_password' }
format.xml { head :ok } format.json { head json: nil }
end end
end end
def theme end
#p params[:theme], @site[:themes].has_key?(params[:theme])
if params[:theme].blank? def logout
cookies[:theme] = nil session[:user_id] = nil
@current_user.update_attribute(:theme, nil) respond_to do |format|
elsif @site[:themes].has_key? params[:theme] format.html { redirect_to(:back) }
cookies[:theme] = params[:theme] format.xml { head :ok }
@current_user.update_attribute(:theme, params[:theme]) end
end end
respond_to do |format|
format.html { redirect_to :back } def theme
format.xml { head :ok } #p params[:theme], @site[:themes].has_key?(params[:theme])
end if params[:theme].blank?
end cookies[:theme] = nil
def boardcast_user(user, wait=nil) @current_user.update_attribute(:theme, nil)
Server.find_each do |server| elsif @site[:themes].has_key? params[:theme]
url = "http://#{server.ip}:#{server.http_port}/?pass=#{server.password}&operation=forceuserpass&username=#{CGI.escape user.name}&password=#{CGI.escape user.password}" cookies[:theme] = params[:theme]
if RUBY_PLATFORM["win"] || RUBY_PLATFORM["ming"] @current_user.update_attribute(:theme, params[:theme])
open(url){} rescue nil end
else respond_to do |format|
Process.spawn('curl', url) format.html { redirect_to :back }
end format.xml { head :ok }
end end
url = "http://ygopro-ocg.com/mycard.php?key=zh99998&username=#{CGI.escape user.name}&password=#{CGI.escape user.password}&email=#{CGI.escape user.email}" end
if wait == :"ygopro-ocg" or RUBY_PLATFORM["win"] || RUBY_PLATFORM["ming"]
open(url){} def boardcast_user(user, from=nil)
else Server.find_each do |server|
Process.spawn('curl', url) url = "http://#{server.ip}:#{server.http_port}/?pass=#{server.password}&operation=forceuserpass&username=#{CGI.escape user.name}&password=#{CGI.escape user.password}"
end if RUBY_PLATFORM["win"] || RUBY_PLATFORM["ming"]
end open(url) {} rescue nil
else
Process.spawn('curl', url)
end
end
if from != :"ygopro-ocg"
url = "http://ygopro-ocg.com/mycard.php?key=zh99998&username=#{CGI.escape user.name}&password=#{CGI.escape user.password}&email=#{CGI.escape user.email}"
if RUBY_PLATFORM["win"] || RUBY_PLATFORM["ming"]
open(url) {}
else
Process.spawn('curl', url)
end
end
end
end end
\ No newline at end of file
<li>
<%= link_to attachment.data.original_filename, attachment.data.url %>
<% case %>
<% when attachment.data.content_type[0, 5] == "image" %>
<div><%= image_tag attachment.data.url %></div>
<% else %>
<% case File.extname attachment.data.original_filename %>
<% when ".yrp" %>
<span><%= link_to "播放", 'mycard://' + request.env['HTTP_HOST'] + URI.escape(URI.escape(attachment.data.url nil, timestamp: false )) %></span>
<% when ".ydk" %>
<span><%= link_to "编辑", 'mycard://' + request.env['HTTP_HOST'] + URI.escape(URI.escape(attachment.data.url nil, timestamp: false )) %></span>
<% when ".deck" %>
<span><%= link_to "编辑", 'mycard://' + request.env['HTTP_HOST'] + URI.escape(URI.escape(attachment.data.url nil, timestamp: false )) %></span>
<% end %>
<% end %>
</li>
\ No newline at end of file
<h1>Listing comments</h1> <h1>Listing comments</h1>
<table> <table>
<tr> <tr>
<th>Post</th> <th>Post</th>
<th>User</th> <th>User</th>
<th>Content</th> <th>Content</th>
<th></th> <th></th>
<th></th> <th></th>
<th></th> <th></th>
</tr> </tr>
<% @comments.each do |comment| %> <% @comments.each do |comment| %>
<tr> <tr>
<td><%= comment.post %></td> <td><%= comment.post %></td>
<td><%= comment.user %></td> <td><%= comment.user %></td>
<td><%= comment.content %></td> <td><%= comment.content %></td>
<td><%= link_to 'Show', comment %></td> <td><%= link_to 'Show', comment %></td>
<td><%= link_to 'Edit', edit_comment_path(comment) %></td> <td><%= link_to 'Edit', edit_comment_path(comment) %></td>
<td><%= link_to 'Destroy', comment, :confirm => 'Are you sure?', :method => :delete %></td> <td><%= link_to 'Destroy', comment, :confirm => 'Are you sure?', :method => :delete %></td>
</tr> </tr>
<% end %> <% end %>
</table> </table>
<br /> <br />
<%= link_to 'New Comment', new_comment_path %> <%= link_to 'New Comment', new_comment_path %>
<div id="post_<%= post.id %>"><table id="post_<%= post.id %>" summary="post_<%= post.id %>" cellspacing="0" cellpadding="0"> <div id="post_<%= post.id %>"><table id="post_<%= post.id %>" summary="post_<%= post.id %>" cellspacing="0" cellpadding="0">
<tbody><tr> <tbody><tr>
<td class="postauthor" rowspan="2"> <td class="postauthor" rowspan="2">
<div class="postinfo" style="margin-left: 20px; font-weight: 800"> <div class="postinfo" style="margin-left: 20px; font-weight: 800">
<%= post.user %> <%= post.user %>
</div> </div>
<div> <div>
<div class="avatar" onmouseover="showauthor(this, 'userinfo751931')"><%= image_tag post.user.avatar.url(:middle) %></div> <div class="avatar" onmouseover="showauthor(this, 'userinfo751931')"><%= image_tag post.user.avatar.url(:middle) %></div>
<p><%= post.user.role %></p> <p><%= post.user.role %></p>
<p><em><%= post.user.nickname %></em></p> <p><em><%= post.user.nickname %></em></p>
</div> </div>
<p><%= image_tag 'common/star_level2.gif', :alt => 'Rank:2' %></p> <p><%= image_tag 'common/star_level2.gif', :alt => 'Rank:2' %></p>
<dl class="profile s_clear"> <dl class="profile s_clear">
<dt><%=t 'user.post' %></dt><dd><%= post.user.posts.count %></dd> <dt><%=t 'user.post' %></dt><dd><%= post.user.posts.count %></dd>
<dt><%=t 'user.topic' %></dt><dd><%= post.user.topics.count %></dd> <dt><%=t 'user.topic' %></dt><dd><%= post.user.topics.count %></dd>
<dt><%=t 'user.digest' %></dt><dd><%= post.user.topics.where(:digest => true).count %></dd> <dt><%=t 'user.digest' %></dt><dd><%= post.user.topics.where(:digest => true).count %></dd>
<dt><%=t 'user.credits' %></dt><dd><%= post.user.credits %></dd> <dt><%=t 'user.credits' %></dt><dd><%= post.user.credits %></dd>
</dl> </dl>
<!--<p><a href="magic.php?action=mybox&amp;operation=use&amp;type=1&amp;pid=751931&amp;magicid=7" onclick="showWindow('magics', this.href);doane(event);"><img src="images/magics/rtk_s.gif" title="对博丽开水使用狗仔卡"></a></p>--> <!--<p><a href="magic.php?action=mybox&amp;operation=use&amp;type=1&amp;pid=751931&amp;magicid=7" onclick="showWindow('magics', this.href);doane(event);"><img src="images/magics/rtk_s.gif" title="对博丽开水使用狗仔卡"></a></p>-->
<hr class="shadowline"> <hr class="shadowline">
<p> <p>
管理此人<br> 管理此人<br>
<a href="topicadmin.php?action=getip&amp;fid=2&amp;tid=29727&amp;pid=751931" onclick="ajaxmenu(this, 0, 1, 2);doane(event)" title="查看 IP" class="lightlink">IP</a>&nbsp; <a href="topicadmin.php?action=getip&amp;fid=2&amp;tid=29727&amp;pid=751931" onclick="ajaxmenu(this, 0, 1, 2);doane(event)" title="查看 IP" class="lightlink">IP</a>&nbsp;
<a href="admincp.php?action=members&amp;username=%B2%A9%C0%F6%BF%AA%CB%AE&amp;submit=yes&amp;frames=yes" target="_blank" class="lightlink">编辑</a>&nbsp; <a href="admincp.php?action=members&amp;username=%B2%A9%C0%F6%BF%AA%CB%AE&amp;submit=yes&amp;frames=yes" target="_blank" class="lightlink">编辑</a>&nbsp;
<a href="admincp.php?action=members&amp;operation=ban&amp;username=%B2%A9%C0%F6%BF%AA%CB%AE&amp;frames=yes" target="_blank" class="lightlink">禁止</a>&nbsp; <a href="admincp.php?action=members&amp;operation=ban&amp;username=%B2%A9%C0%F6%BF%AA%CB%AE&amp;frames=yes" target="_blank" class="lightlink">禁止</a>&nbsp;
<a href="modcp.php?action=threads&amp;op=posts&amp;do=search&amp;searchsubmit=1&amp;users=%B2%A9%C0%F6%BF%AA%CB%AE" target="_blank" class="lightlink">帖子</a> <a href="modcp.php?action=threads&amp;op=posts&amp;do=search&amp;searchsubmit=1&amp;users=%B2%A9%C0%F6%BF%AA%CB%AE" target="_blank" class="lightlink">帖子</a>
</p> </p>
</td> </td>
<td class="postcontent"> <td class="postcontent">
<div class="postinfo"> <div class="postinfo">
<strong><a title="复制本帖链接" id="postnum751931" href="javascript:;" onclick="setCopy('http://www.touhou.cc/bbs/redirect.php?goto=findpost&amp;ptid=29727&amp;pid=751931&amp;fromuid=359', '帖子地址已经复制到剪贴板')"><em><%= post.displayorder %></em><sup>#</sup></a> <strong><a title="复制本帖链接" id="postnum751931" href="javascript:;" onclick="setCopy('http://www.touhou.cc/bbs/redirect.php?goto=findpost&amp;ptid=29727&amp;pid=751931&amp;fromuid=359', '帖子地址已经复制到剪贴板')"><em><%= post.displayorder %></em><sup>#</sup></a>
</strong> </strong>
<div class="posterinfo"> <div class="posterinfo">
<div class="pagecontrol"> <div class="pagecontrol">
</div> </div>
<div class="authorinfo"> <div class="authorinfo">
<%= link_to image_tag('common/online_member.gif', :class => :authicon, :id => 'authicon751931'), post.user %> <%= link_to image_tag('common/online_member.gif', :class => :authicon, :id => 'authicon751931'), post.user %>
<em id="authorposton751931"><%=l post.created_at, :format => :short %> </em> <em id="authorposton751931"><%=l post.created_at, :format => :short %> </em>
| <a href="viewthread.php?tid=29727&amp;page=1&amp;authorid=14806" rel="nofollow">只看该作者</a> | <a href="viewthread.php?tid=29727&amp;page=1&amp;authorid=14806" rel="nofollow">只看该作者</a>
</div> </div>
</div> </div>
</div> </div>
<div class="defaultpost"> <div class="defaultpost">
<div id="ad_thread2_1"></div><div id="ad_thread3_1"></div><div id="ad_thread4_1"></div> <div id="ad_thread2_1"></div><div id="ad_thread3_1"></div><div id="ad_thread4_1"></div>
<div class="postmessage "> <div class="postmessage ">
<!--<div id="threadtitle"> <!--<div id="threadtitle">
<h1>蕾蒂+毒人 怎么破</h1> <h1>蕾蒂+毒人 怎么破</h1>
</div>--> </div>-->
<div class="t_msgfontfix"> <div class="t_msgfontfix">
<table cellspacing="0" cellpadding="0"><tbody><tr><td class="t_msgfont" id="postmessage_751931"><%= post.content.bbcode_to_html.html_safe %> </td></tr></tbody></table> <table cellspacing="0" cellpadding="0"><tbody><tr><td class="t_msgfont" id="postmessage_751931"><%= post.content.bbcode_to_html.html_safe %> </td></tr></tbody></table>
</div> </div>
<% if !post.attachments.empty? %> <% if !post.attachments.empty? %>
<p> <p>
<b><%= post.attachments.size %> 个附件:</b> <b><%= post.attachments.size %> 个附件:</b>
<ul> <ul>
<% post.attachments.each do |attachment| %> <%=render post.attachments %>
<li><%= link_to attachment.data.original_filename, attachment.data.url %></li> </ul>
<% if attachment.data.content_type[0,5] == "image" %> </p>
<%= image_tag attachment.data.url %> <% end %>
<% end %> <div id="post_rate_div_751931"></div>
<% end %> </div>
</ul>
</p> </div>
<% end %> </td></tr>
<div id="post_rate_div_751931"></div> <tr><td class="postcontent postbottom">
</div> <% unless post.user.signature.blank? %>
<div class="signatures" style="max-height:300px;maxHeightIE:300px;">
</div> <%= post.user.signature %>
</td></tr> </div>
<tr><td class="postcontent postbottom"> <% end %>
<% unless post.user.signature.blank? %> <div id="ad_thread1_1"></div></td>
<div class="signatures" style="max-height:300px;maxHeightIE:300px;"> </tr>
<%= post.user.signature %> <tr>
</div> <td class="postauthor"></td>
<% end %> <td class="postcontent">
<div id="ad_thread1_1"></div></td> <div class="postactions">
</tr> <span class="right">
<tr> <label for="manage751931">
<td class="postauthor"></td> <input type="checkbox" id="manage751931" onclick="pidchecked(this);modclick(this, 751931)" value="751931">
<td class="postcontent"> 管理
<div class="postactions"> </label>
<span class="right"> </span>
<label for="manage751931"> <div class="postact s_clear">
<input type="checkbox" id="manage751931" onclick="pidchecked(this);modclick(this, 751931)" value="751931"> <em>
管理 <%= link_to t('topic.reply'), new_post_path(:topic_id => @topic.id), :class => :fastreply %>
</label> <%= link_to t('topic.quote'), new_post_path(:topic_id => @topic.id), :class => :fastreply %>
</span> <%= link_to t('post.edit'), edit_post_path(post), :class => :editpost %>
<div class="postact s_clear"> </em>
<em> <p>
<%= link_to t('topic.reply'), new_post_path(:topic_id => @topic.id), :class => :fastreply %> <a href="misc.php?action=rate&amp;tid=29727&amp;pid=751931" onclick="showWindow('rate', this.href);return false;">评分</a>
<%= link_to t('topic.quote'), new_post_path(:topic_id => @topic.id), :class => :fastreply %> <a href="javascript:;" onclick="scrollTo(0,0);">TOP</a>
<%= link_to t('post.edit'), edit_post_path(post), :class => :editpost %> </p>
</em> </div>
<p> </div>
<a href="misc.php?action=rate&amp;tid=29727&amp;pid=751931" onclick="showWindow('rate', this.href);return false;">评分</a>
<a href="javascript:;" onclick="scrollTo(0,0);">TOP</a> </td>
</p> </tr>
</div> <tr class="threadad">
</div> <td class="postauthor"></td>
<td class="adcontent">
</td> </td>
</tr> </tr>
<tr class="threadad">
<td class="postauthor"></td>
<td class="adcontent">
</td>
</tr>
</tbody></table></div> </tbody></table></div>
\ No newline at end of file
...@@ -373,7 +373,4 @@ zh-CN: ...@@ -373,7 +373,4 @@ zh-CN:
content: "正文" content: "正文"
submit: "提交" submit: "提交"
private: "仅楼主可见" private: "仅楼主可见"
anonymous: "匿名发帖" anonymous: "匿名发帖"
tournament: \ No newline at end of file
location:
qun: "QQ群"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment