hayamiki_plugin.anubis
939 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* Created by PyramIDE.
* User: フランスのトトロ aka (David RENÉ)
* Date: 18/01/2020
* Time: 21:02
* © David RENÉ
*/
read tools/basis.anubis
read system/logger.anubis
read xlib/web/plugin/plugin.anubis
read xlib/web/types/making_a_web_site.anubis
read xlib/web/types/web_session.anubis
read controller.anubis
define Maybe(HTML_Partial_Content)
plugin_get_typed_content
(
SQLite3DataBase db,
WEB_Session _session,
String type
)=
println("plugin_get_typed_content for HYAMIKI type "+type);
if type = "LEFT_MENU" then failure
else if type = "TOOLBAR" then failure
else if type = "CONTROL_PANEL" then failure
else
failure
.
global define WEB_Plugin
hayamiki_web_plugin_1_14_lib
=
web_plugin(
"HAYAMIKI",
"BASE",
"1.14.0",
_Int_to_ISO_8601_datetime(to_Int(__TIME__)),
plugin_get_controller,
plugin_get_typed_content
)
.