~ubuntu-branches/ubuntu/saucy/tdiary/saucy-proposed

« back to all changes in this revision

Viewing changes to misc/plugin/tb-send.rb

  • Committer: Bazaar Package Importer
  • Author(s): Daigo Moriwaki
  • Date: 2011-04-11 21:53:16 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110411215316-ih4gt4q8p29d2wf8
Tags: 3.0.1-1
* New upstream release (Closes: #542801, #594947)
* debian/control:
 - Bumped up Standards-Version to 3.9.1.
 - Updated version dependency.
* debian/tdiary-setup.rb: Followed the upstream changes, incorporating js and
  index.fcgi

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# tb-send.rb $Revision: 1.25 $
 
1
# tb-send.rb
2
2
#
3
3
# Copyright (c) 2003 Junichiro Kita <kita@kitaj.no-ip.com>
4
4
# You can distribute this file under the GPL.
5
5
#
6
6
 
7
7
add_edit_proc do |date|
8
 
        url = @cgi.params['plugin_tb_url'][0] || ''
9
 
        excerpt = @cgi.params['plugin_tb_excerpt'][0] || ''
 
8
        url =  @conf.to_native( @cgi.params['plugin_tb_url'][0] || '' )
 
9
        excerpt =  @conf.to_native( @cgi.params['plugin_tb_excerpt'][0] || '' )
10
10
        section = @cgi.params['plugin_tb_section'][0] || ''
11
11
        select_sections = ''
12
12
        unless @conf['tb.no_section'] then
137
137
        end
138
138
end
139
139
 
 
140
def tb_send_utf8( str )
 
141
        @conf.to_native( str )
 
142
end
 
143
 
 
144
# Local Variables:
 
145
# mode: ruby
 
146
# indent-tabs-mode: t
 
147
# tab-width: 3
 
148
# ruby-indent-level: 3
 
149
# End:
140
150
# vim: ts=3