From 1385e94ed8ad59500dcdeeb0e4aa8fb63da2110b Mon Sep 17 00:00:00 2001 From: dingyongliang Date: Thu, 30 Mar 2023 17:34:40 +0800 Subject: [PATCH] * zin: add getpagecss. --- zin/wg/assigntodialog/v1.php | 5 +++++ zin/wg/historyrecord/v1.php | 5 +++++ zin/wg/programmenu/v1.php | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/zin/wg/assigntodialog/v1.php b/zin/wg/assigntodialog/v1.php index 110671ac8f..7709aa9cd0 100644 --- a/zin/wg/assigntodialog/v1.php +++ b/zin/wg/assigntodialog/v1.php @@ -14,6 +14,11 @@ class assigntodialog extends wg 'useMailto?:bool=false', ); + public static function getPageCSS() + { + return file_get_contents(__DIR__ . DS . 'css' . DS . 'v1.css'); + } + protected function build() { global $lang; diff --git a/zin/wg/historyrecord/v1.php b/zin/wg/historyrecord/v1.php index 90fb79f90a..27f7954c16 100644 --- a/zin/wg/historyrecord/v1.php +++ b/zin/wg/historyrecord/v1.php @@ -5,6 +5,11 @@ class historyrecord extends wg { protected static $defineProps = 'actions:array,users:array,methodName:string'; + public static function getPageCSS() + { + return file_get_contents(__DIR__ . DS . 'css' . DS . 'v1.css'); + } + private function buildHistoriesList() { global $app, $lang; diff --git a/zin/wg/programmenu/v1.php b/zin/wg/programmenu/v1.php index 3081ca78d3..1d4fc35315 100644 --- a/zin/wg/programmenu/v1.php +++ b/zin/wg/programmenu/v1.php @@ -14,6 +14,11 @@ class programmenu extends wg 'activeKey?:string' ); + public static function getPageCSS() + { + return file_get_contents(__DIR__ . DS . 'css' . DS . 'v1.css'); + } + private function buildMenuTree($parent, $parentID) { $children = $this->getChildProgram($parentID);