<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Tecmz\Traits; use ModStart\Admin\Layout\AdminPage; use ModStart\Admin\Widget\SecurityTooltipBox; use ModStart\Layout\Row; use Module\AdminManager\Widget\ServerInfoWidget; use Module\Tecmz\Widget\CopyrightWidget; use Module\Vendor\Admin\Widget\AdminWidgetDashboard; trait AdminDashboardTrait { public function dashboard() { goto B_vP2; ZNPch: $WLCMC->append(new ServerInfoWidget()); goto seLjv; jfOEs: $WLCMC->append(new Row(function (Row $B1vjt) { AdminWidgetDashboard::callIcon($B1vjt); })); goto jFiCn; jFiCn: AdminWidgetDashboard::call($WLCMC); goto wJ8_f; seLjv: return $WLCMC; goto blFIq; wJ8_f: $WLCMC->append(new CopyrightWidget()); goto ZNPch; B_vP2: $WLCMC = app(AdminPage::class); goto U0U2f; U0U2f: $WLCMC->pageTitle(L('Dashboard')); goto W2Nfa; W2Nfa: $WLCMC->row(new SecurityTooltipBox()); goto jfOEs; blFIq: } }