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="" + + 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-round.php b/templates/svg/operator/mts-round.php new file mode 100644 index 0000000..87b52ba --- /dev/null +++ b/templates/svg/operator/mts-round.php @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/templates/svg/operator/mts.php b/templates/svg/operator/mts.php new file mode 100644 index 0000000..cec78c9 --- /dev/null +++ b/templates/svg/operator/mts.php @@ -0,0 +1,4 @@ + + + + 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 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); } } }