From: Laury GvR Date: Wed, 19 Sep 2018 20:59:20 +0000 (-0400) Subject: Add empty components and smarter component inclusion X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=1ced8f3266bdfd49e55045037f1e0fb4bf7b4214;p=WP-Plugins%2Fglm-member-db.git Add empty components and smarter component inclusion --- diff --git a/models/admin/newDashboard/index.php b/models/admin/newDashboard/index.php index 12f8be2e..b351c7da 100644 --- a/models/admin/newDashboard/index.php +++ b/models/admin/newDashboard/index.php @@ -197,7 +197,6 @@ class GlmMembersAdmin_newDashboard_index extends GlmDataMembers $addons[$a['slug']]['slug'] = $a['slug']; $addons[$a['slug']]['index'] = $a['index']; $addons[$a['slug']]['widgetData'] = apply_filters($a['slug'] . "-dashboard-widget", ""); - echo $addons[$a['slug']]['widgetData']['widgetName']; } else { echo "
" . $a['slug'] . " has no filter called " . $a['slug'] . "-dashboard-widget"; diff --git a/views/admin/newDashboard/components/entityAmount.html b/views/admin/newDashboard/components/entityAmount.html new file mode 100644 index 00000000..e69de29b diff --git a/views/admin/newDashboard/components/list.html b/views/admin/newDashboard/components/list.html new file mode 100644 index 00000000..e69de29b diff --git a/views/admin/newDashboard/components/quickLinks.html b/views/admin/newDashboard/components/quickLinks.html index cf2eb00f..55a0c535 100644 --- a/views/admin/newDashboard/components/quickLinks.html +++ b/views/admin/newDashboard/components/quickLinks.html @@ -1,9 +1,9 @@