~ubuntu-branches/debian/stretch/hiki/stretch

« back to all changes in this revision

Viewing changes to plugin/it/01sp.rb

  • Committer: Bazaar Package Importer
  • Author(s): Taku YASUI
  • Date: 2005-08-05 07:43:00 UTC
  • Revision ID: james.westby@ubuntu.com-20050805074300-u0bxuhac6ssxltlu
Tags: 0.8.3-1
* New upstream release
  - Security fix release (fix cross-site scripting)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# English resources of 01sp.rb $Revision: 1.2 $
 
2
 
 
3
=begin
 
4
= Select-plugin plugin
 
5
 
 
6
== Abstract
 
7
Selects which plugin to be actually used.
 
8
 
 
9
== Usage
 
10
Put this file into the plugin/ directory.
 
11
 
 
12
Next, move the plugins you want to be optional into another directory.
 
13
In the example below, these plugins are assumed to be in
 
14
plugin/selectable directory.
 
15
 
 
16
Finally, edit the tdiary.conf file in the same directory as tdiary.rb
 
17
and add the following line:
 
18
  @options['sp.path'] = 'misc/plugin'
 
19
to indicate the directory you have put the optional plugins. It can be
 
20
an absolute path.
 
21
 
 
22
You can use this plugin in a secure diary.
 
23
 
 
24
== Options
 
25
:@options['sp.path']
 
26
        Directory name where the optional plugins are, relative from the
 
27
  directory where tdiary.rb is or absolute.
 
28
 
 
29
:@options['sp.usenew']
 
30
  Define true if you want to the users to try a newly installed plugin.
 
31
        Newly installed plugins are detected next time when the user configures
 
32
        this plugin.
 
33
 
 
34
== Copyright notice
 
35
Copyright (C) 2003 zunda <zunda at freeshell.org>
 
36
 
 
37
Permission is granted for use, copying, modification, distribution, and
 
38
distribution of modified versions of this work under the terms of GPL
 
39
version 2 or later.
 
40
=end
 
41
 
 
42
@sp_label = 'Plugin selection'
 
43
@sp_label_description = '<p>Selects which plugins you want to use.</p>'
 
44
@sp_label_please_select = '<p>Please check the plugins you want to use. Each plugin filename is linked to its document. Please create or improve the document!</p>'
 
45
@sp_label_new = '<h4>New! Give it a try.</h4>'
 
46
@sp_label_used = '<h4>Being used</h4>'
 
47
@sp_label_notused = '<h4>Currently not used</h4>'
 
48
@sp_label_noplugin = '<p>There is no optional plugins.</p>'