OSDN Git Service

Release 0.1.5.
[mt-acme/Lovers.git] / config.yaml
1 # Copyright (c) 2008 Movable Type ACME Plugin Project, All rights reserved.
2
3 # Permission is hereby granted, free of charge, to any person obtaining a copy
4 # of this software and associated documentation files (the "Software"), to deal
5 # in the Software without restriction, including without limitation the rights
6 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 # copies of the Software, and to permit persons to whom the Software is
8 # furnished to do so, subject to the following conditions:
9
10 # The above copyright notice and this permission notice shall be included in
11 # all copies or substantial portions of the Software.
12
13 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 # THE SOFTWARE.
20
21 # plugin name
22 id: Lovers
23 name: Lovers
24 version: 0.1.5
25
26 # about this plugin
27 description: <__trans phrase="Provide Movable Type functions for lovers.">
28 author_name: <__trans phrase="Movable Type ACME Plugin Project">
29 author_link: http://mt-acme.sourceforge.jp/
30 plugin_link: http://mt-acme.sourceforge.jp/lovers/
31 doc_link: http://mt-acme.sourceforge.jp/lovers/
32
33 # localization
34 l10n_class: Lovers::L10N
35
36 # objects
37 schema_version: 6
38 object_types:
39     love_letter: Lovers::LoveLetter
40
41 # tag
42 tags:
43     help_url: http://mt-acme.sourceforge.jp/lovers/tags#%t
44     function:
45         LoveLetterResponse: $Lovers::Lovers::App::LoveLetter::_hdlr_love_letter_response
46         LoveLetterOK: $Lovers::Lovers::App::LoveLetter::_hdlr_love_letter_ok
47         LoveLetterCancel: $Lovers::Lovers::App::LoveLetter::_hdlr_love_letter_cancel
48     block:
49         LoversPopularWith: $Lovers::Lovers::App::Mote::_hdlr_popular_with
50         Mote: $Lovers::Lovers::App::Mote::_hdlr_popular_with
51         LoveLetter: $Lovers::Lovers::App::LoveLetter::_hdlr_love_letter
52         IfLoveLetterOK: $Lovers::Lovers::App::LoveLetter::_hdlr_if_love_letter_ok
53         IfLoveLetterCancel: $Lovers::Lovers::App::LoveLetter::_hdlr_if_love_letter_cancel
54
55 # applications
56 applications:
57     cms:
58         methods:
59             love_letter:
60                 code: $Lovers::Lovers::App::LoveLetter::app_love_letter
61                 requires_login: 0
62
63 # callbacks
64 callbacks:
65     MT::App::CMS::template_source.rebuilding: $Lovers::Lovers::App::Mote::source_rebuilding
66     *::post_build: $Lovers::Lovers::App::Mote::post_build