From f7bfdf58def6aadc922e1632f407d1418269a0d7 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sat, 9 Jul 2022 19:40:17 +0300 Subject: initial --- skin/markdown.skin.php | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 skin/markdown.skin.php (limited to 'skin/markdown.skin.php') diff --git a/skin/markdown.skin.php b/skin/markdown.skin.php new file mode 100644 index 0000000..02d3a0f --- /dev/null +++ b/skin/markdown.skin.php @@ -0,0 +1,43 @@ + + {$name} + {$ctx->if_true($note, ''.$note.'')} + {$size} + +HTML; +} + +function image($ctx, + // options + $align, $nolabel, $w, $padding_top, + // image data + $direct_url, $url, $note) { +return << +
+ +
+
+ {$ctx->if_true( + $note != '' && !$nolabel, + '
'.$note.'
' + )} +
+ +HTML; +} + +function video($ctx, $url, $w, $h) { +return << +
+ +
+ +HTML; +} \ No newline at end of file -- cgit v1.2.3