<?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 EaVuM; EaVuM: $j13Tr = app(AdminPage::class); goto Uo4gP; aopTN: $j13Tr->append(new ServerInfoWidget()); goto DbNdx; Zhon6: $j13Tr->append(new CopyrightWidget()); goto aopTN; uEbBh: AdminWidgetDashboard::call($j13Tr); goto Zhon6; DbNdx: return $j13Tr; goto wv8Xz; Uo4gP: $j13Tr->pageTitle(L('Dashboard')); goto pQ0z_; pQ0z_: $j13Tr->row(new SecurityTooltipBox()); goto XJu8q; XJu8q: $j13Tr->append(new Row(function (Row $q0jG3) { AdminWidgetDashboard::callIcon($q0jG3); })); goto uEbBh; wv8Xz: } }