From fad0f9770d2a3ad716ac1e8c5ddcb34309a3d375 Mon Sep 17 00:00:00 2001 From: wuyanwen Date: Fri, 13 Dec 2019 17:26:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8A=A9=E6=89=8B=E5=87=BD?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- catchAdmin/helper.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/catchAdmin/helper.php b/catchAdmin/helper.php index b3d9bbc..7a1b907 100644 --- a/catchAdmin/helper.php +++ b/catchAdmin/helper.php @@ -1 +1,23 @@ %s', + $event, $name); +} + +function deleteButton($name = '删除', $event = 'del') +{ + return sprintf( + '%s', + $event, $name); +} + +function addButton($name = '新增', $event = 'add') +{ + return sprintf( + '%s', + $event, $name); +} +