OSDN Git Service

Fixed a column name.
[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 name: Lovers
23 version: 0.1.3
24
25 # about this plugin
26 description: <__trans phrase="Provide Movable Type functions for lovers.">
27 author_name: <__trans phrase="Movable Type ACME Plugin Project">
28 author_link: http://mt-acme.sourceforge.jp/
29 plugin_link: http://mt-acme.sourceforge.jp/lovers/
30 doc_link: http://mt-acme.sourceforge.jp/lovers/
31
32 # localization
33 l10n_class: Lovers::L10N
34
35 # objects
36 schema_version: 5
37 object_types:
38     love_letter: Lovers::LoveLetter
39
40 # tag
41 tags:
42     help_url: http://mt-acme.sourceforge.jp/lovers/tags#%t
43     function:
44         LoveLetterResponse: Lovers::App::LoveLetter::_hdlr_love_letter_response
45         LoveLetterOK: Lovers::App::LoveLetter::_hdlr_love_letter_ok
46         LoveLetterCancel: Lovers::App::LoveLetter::_hdlr_love_letter_cancel
47     block:
48         LoversPopularWith: Lovers::App::Mote::_hdlr_popular_with
49         Mote: Lovers::App::Mote::_hdlr_popular_with
50         LoveLetter: Lovers::App::LoveLetter::_hdlr_love_letter
51         IfLoveLetterOK: Lovers::App::LoveLetter::_hdlr_if_love_letter_ok
52         IfLoveLetterCancel: Lovers::App::LoveLetter::_hdlr_if_love_letter_cancel
53
54 # applications
55 applications:
56     cms:
57         methods:
58             love_letter:
59                 code: Lovers::App::LoveLetter::app_love_letter
60                 requires_login: 0
61
62 # callbacks
63 callbacks:
64     MT::App::CMS::template_source.rebuilding: Lovers::App::Mote::source_rebuilding
65     *::post_build: Lovers::App::Mote::post_build