<?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\Config\AdminWidgetDashboard; trait AdminDashboardTrait { public function dashboard() { goto lLzRF; EmMad: return $DNh5u; goto DBASE; dbAdd: $DNh5u->pageTitle(L('Dashboard')); goto HPGpV; TWima: $DNh5u->append(new CopyrightWidget()); goto ob0Fg; lLzRF: $DNh5u = app(AdminPage::class); goto dbAdd; HPGpV: $DNh5u->row(new SecurityTooltipBox()); goto xoeIA; vvyiv: AdminWidgetDashboard::call($DNh5u); goto TWima; ob0Fg: $DNh5u->append(new ServerInfoWidget()); goto EmMad; xoeIA: $DNh5u->append(new Row(function (Row $p4Avz) { AdminWidgetDashboard::callIcon($p4Avz); })); goto vvyiv; DBASE: } }