From e0afd13eea6a87b5a550d65d3d9a1c886b9ad512 Mon Sep 17 00:00:00 2001 From: bellord13 Date: Thu, 14 Oct 2021 14:53:13 +0300 Subject: [PATCH 1/2] fix --- templates/svg/mail.php | 3 +++ templates/svg/operator/a1.php | 8 ++++++++ templates/svg/operator/line.php | 4 ++++ templates/svg/operator/mts.php | 4 ++++ .../svg/social/round-fill-color/facebook.php | 1 + .../svg/social/round-fill-color/instagram.php | 20 +++++++++++++++++++ .../svg/social/round-fill-color/jivo.php | 5 +++++ .../svg/social/round-fill-color/telegram.php | 6 ++++++ .../svg/social/round-fill-color/viber.php | 1 + .../svg/social/square-fill-color/facebook.php | 1 + .../social/square-fill-color/instagram.php | 20 +++++++++++++++++++ .../svg/social/square-fill-color/jivo.php | 5 +++++ .../svg/social/square-fill-color/telegram.php | 1 + .../svg/social/square-fill-color/viber.php | 1 + tests/templates.svg.php | 2 +- 15 files changed, 81 insertions(+), 1 deletion(-) create mode 100644 templates/svg/mail.php create mode 100644 templates/svg/operator/a1.php create mode 100644 templates/svg/operator/line.php create mode 100644 templates/svg/operator/mts.php create mode 100644 templates/svg/social/round-fill-color/facebook.php create mode 100644 templates/svg/social/round-fill-color/instagram.php create mode 100644 templates/svg/social/round-fill-color/jivo.php create mode 100644 templates/svg/social/round-fill-color/telegram.php create mode 100644 templates/svg/social/round-fill-color/viber.php create mode 100644 templates/svg/social/square-fill-color/facebook.php create mode 100644 templates/svg/social/square-fill-color/instagram.php create mode 100644 templates/svg/social/square-fill-color/jivo.php create mode 100644 templates/svg/social/square-fill-color/telegram.php create mode 100644 templates/svg/social/square-fill-color/viber.php diff --git a/templates/svg/mail.php b/templates/svg/mail.php new file mode 100644 index 0000000..686e485 --- /dev/null +++ b/templates/svg/mail.php @@ -0,0 +1,3 @@ + + + diff --git a/templates/svg/operator/a1.php b/templates/svg/operator/a1.php new file mode 100644 index 0000000..7afe293 --- /dev/null +++ b/templates/svg/operator/a1.php @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/templates/svg/operator/line.php b/templates/svg/operator/line.php new file mode 100644 index 0000000..0a7b58c --- /dev/null +++ b/templates/svg/operator/line.php @@ -0,0 +1,4 @@ + + + + diff --git a/templates/svg/operator/mts.php b/templates/svg/operator/mts.php new file mode 100644 index 0000000..87b52ba --- /dev/null +++ b/templates/svg/operator/mts.php @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/templates/svg/social/round-fill-color/facebook.php b/templates/svg/social/round-fill-color/facebook.php new file mode 100644 index 0000000..cdb92fe --- /dev/null +++ b/templates/svg/social/round-fill-color/facebook.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/svg/social/round-fill-color/instagram.php b/templates/svg/social/round-fill-color/instagram.php new file mode 100644 index 0000000..bc3822a --- /dev/null +++ b/templates/svg/social/round-fill-color/instagram.php @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + diff --git a/templates/svg/social/round-fill-color/jivo.php b/templates/svg/social/round-fill-color/jivo.php new file mode 100644 index 0000000..c5b98a3 --- /dev/null +++ b/templates/svg/social/round-fill-color/jivo.php @@ -0,0 +1,5 @@ + + + + + diff --git a/templates/svg/social/round-fill-color/telegram.php b/templates/svg/social/round-fill-color/telegram.php new file mode 100644 index 0000000..ce11f36 --- /dev/null +++ b/templates/svg/social/round-fill-color/telegram.php @@ -0,0 +1,6 @@ + + + + + + diff --git a/templates/svg/social/round-fill-color/viber.php b/templates/svg/social/round-fill-color/viber.php new file mode 100644 index 0000000..1323ab3 --- /dev/null +++ b/templates/svg/social/round-fill-color/viber.php @@ -0,0 +1 @@ + diff --git a/templates/svg/social/square-fill-color/facebook.php b/templates/svg/social/square-fill-color/facebook.php new file mode 100644 index 0000000..385bd6f --- /dev/null +++ b/templates/svg/social/square-fill-color/facebook.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/svg/social/square-fill-color/instagram.php b/templates/svg/social/square-fill-color/instagram.php new file mode 100644 index 0000000..e18a419 --- /dev/null +++ b/templates/svg/social/square-fill-color/instagram.php @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + diff --git a/templates/svg/social/square-fill-color/jivo.php b/templates/svg/social/square-fill-color/jivo.php new file mode 100644 index 0000000..fe43d51 --- /dev/null +++ b/templates/svg/social/square-fill-color/jivo.php @@ -0,0 +1,5 @@ + + + + + diff --git a/templates/svg/social/square-fill-color/telegram.php b/templates/svg/social/square-fill-color/telegram.php new file mode 100644 index 0000000..6da94bc --- /dev/null +++ b/templates/svg/social/square-fill-color/telegram.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/svg/social/square-fill-color/viber.php b/templates/svg/social/square-fill-color/viber.php new file mode 100644 index 0000000..a289f1b --- /dev/null +++ b/templates/svg/social/square-fill-color/viber.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tests/templates.svg.php b/tests/templates.svg.php index 54afb65..f72b077 100644 --- a/tests/templates.svg.php +++ b/tests/templates.svg.php @@ -35,7 +35,7 @@ function scanTemplates($path, $basePath, $recursive = false){ if($recursive) { $treeDir = glob($path . '/*', GLOB_ONLYDIR); foreach ($treeDir as $dir) { - scanTemplates($dir, $basePath); + scanTemplates($dir, $basePath, true); } } } From dc5d2418c5ea73e448789afc3ceb3215df547719 Mon Sep 17 00:00:00 2001 From: bellord13 Date: Tue, 19 Oct 2021 11:59:22 +0300 Subject: [PATCH 2/2] fixpan --- templates/picture.php | 12 +++++++++++- templates/svg/operator/mts-round.php | 4 ++++ templates/svg/operator/mts.php | 8 ++++---- templates/svg/shop/basket.php | 1 + templates/svg/site/clock.php | 1 + templates/svg/site/geo.php | 3 +++ templates/svg/site/search.php | 1 + 7 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 templates/svg/operator/mts-round.php create mode 100644 templates/svg/shop/basket.php create mode 100644 templates/svg/site/clock.php create mode 100644 templates/svg/site/geo.php create mode 100644 templates/svg/site/search.php diff --git a/templates/picture.php b/templates/picture.php index 1f3d0e9..ef06abf 100644 --- a/templates/picture.php +++ b/templates/picture.php @@ -6,12 +6,22 @@ use \Wt\Core\Templater\Tools as TemplaterTools; ?> make()->isSuccess()) { + ?> media=""> + media=""> + make()->isSuccess()) { ?> - <?=TemplaterTools::safeHtmlAttr($arParams['ALT'])?> src="" alt="" title="" + + + \ No newline at end of file diff --git a/templates/svg/operator/mts.php b/templates/svg/operator/mts.php index 87b52ba..cec78c9 100644 --- a/templates/svg/operator/mts.php +++ b/templates/svg/operator/mts.php @@ -1,4 +1,4 @@ - - - - \ No newline at end of file + + + + diff --git a/templates/svg/shop/basket.php b/templates/svg/shop/basket.php new file mode 100644 index 0000000..72abe44 --- /dev/null +++ b/templates/svg/shop/basket.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/svg/site/clock.php b/templates/svg/site/clock.php new file mode 100644 index 0000000..5653ff5 --- /dev/null +++ b/templates/svg/site/clock.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/svg/site/geo.php b/templates/svg/site/geo.php new file mode 100644 index 0000000..ad0dd3c --- /dev/null +++ b/templates/svg/site/geo.php @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/templates/svg/site/search.php b/templates/svg/site/search.php new file mode 100644 index 0000000..625d35a --- /dev/null +++ b/templates/svg/site/search.php @@ -0,0 +1 @@ + \ No newline at end of file