Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

New site component

givanzf1406e0c2dc3
diff --git a/admin/component/site.php b/admin/component/site.php
new file mode 100644
index 0000000..2da98d9
--- /dev/null
+++ b/admin/component/site.php
@@ -0,0 +1,23 @@
+<?php
+
+/**
+ * Vvveb
+ *
+ * Copyright (C) 2022 Ziadin Givan
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+
+include DIR_ROOT . 'app' . DS . 'component' . DS . 'site.php';
diff --git a/admin/template/common.tpl b/admin/template/common.tpl
index da473b7..863fdf7 100755
--- a/admin/template/common.tpl
+++ b/admin/template/common.tpl
@@ -18,6 +18,7 @@ import(components/product/reviews.tpl)
import(components/stats.tpl)
import(components/states.tpl)
import(components/sites.tpl)
+import(components/site.tpl)
import(components/pagination.tpl)
import(components/notifications.tpl, [data-v-component-notifications])
import(menu.tpl)
diff --git a/admin/template/components/site.tpl b/admin/template/components/site.tpl
new file mode 100644
index 0000000..6b177d8
--- /dev/null
+++ b/admin/template/components/site.tpl
@@ -0,0 +1 @@
+import(/app/template/components/site.tpl)
\ No newline at end of file