~ubuntu-branches/ubuntu/wily/tdiary/wily

« back to all changes in this revision

Viewing changes to contrib2/filter/plugin/ja/commentkey.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
# Japanese resource of comment_key.rb
 
2
#
 
3
# Copyright (c) 2005 Hahahaha <rin_ne@big.or.jp>
 
4
# Distributed under the GPL
 
5
#
 
6
 
 
7
@comment_key_label_conf = 'コメントキーフィルタ'
 
8
 
 
9
def comment_key_conf_html
 
10
        <<-"HTML"
 
11
                <h3 class="subtitle">#{@comment_key_label_conf}</h3>
 
12
                <p><input type="checkbox" name="comment_key_enable" value="true" #{'checked' if @conf['comment_key.enable']}>コメントキーフィルタを有効にする</p>
 
13
                <p>コメントキーフィルタのために使用される鍵の先頭文字列を指定します。なお、この文字列はMD5にてエンコードされるため、出力HTML内に直接表現されることはありません。</p>
 
14
                <p><input name="comment_key_prefix" value="#{h( @conf['comment_key.prefix'] || 'tdiary' )}" size="40"></p>
 
15
                <p><input type="checkbox" name="comment_key_nodate" value="true" #{'checked' if @conf['comment_key.nodate']}>常に同一の鍵文字列を生成する</p>
 
16
        HTML
 
17
end