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

« back to all changes in this revision

Viewing changes to contrib2/plugin/opensearch_ad/ja/opensearch_ad.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
 
# ja/opensearch_ad.rb $Revision: 1.1 $
2
 
#
3
 
# Japanese resources for opensearch_ad.rb
4
 
#
5
 
# Copyright (c) 2006 Hiroshi SHIBATA <h-sbt@nifty.com>
6
 
# Distributed under the GPL
7
 
#
8
 
 
9
 
if @mode == 'conf' || @mode == 'saveconf'
10
 
   add_conf_proc( 'opensearch_ad', 'OpenSearch Auto-Discovery' ) do
11
 
 
12
 
      saveconf_opensearch_ad
13
 
      opensearch_ad_init
14
 
 
15
 
      <<-HTML
16
 
      <h3 class="subtitle">Tilte for OpenSearch</h3>
17
 
      <p><input name="opensearch.title" value="#{h(@conf['opensearch.title'])}" size="80" /></p>
18
 
      <h3 class="subtitle">URI for OpenSearch description XML</h3>
19
 
      <p><input name="opensearch.xml" value="#{h(@conf['opensearch.xml'])}" size="80" /></p>
20
 
      HTML
21
 
   end
22
 
end