From b3004e6d834d28622fb78925e982ebe9d5684633 Mon Sep 17 00:00:00 2001 From: xushubieli Date: Wed, 5 Jan 2022 16:35:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=90=E7=A4=BA=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/include/oxwindow.class.php | 56 +++++++++++-------------------- src/templets/plus/win_templet.htm | 44 ++++++++++-------------- 2 files changed, 37 insertions(+), 63 deletions(-) diff --git a/src/include/oxwindow.class.php b/src/include/oxwindow.class.php index 31913d8a..d86b3272 100755 --- a/src/include/oxwindow.class.php +++ b/src/include/oxwindow.class.php @@ -1,21 +1,21 @@ -formName = $formname; $this->myWin .= "
\r\n"; } - - // /** * 增加隐藏域 * @@ -62,7 +59,6 @@ class OxWindow { $this->myWin .= "\r\n"; } - /** * 开始创建窗口 * @@ -70,9 +66,8 @@ class OxWindow */ function StartWin() { - $this->myWin .= "\r\n"; + $this->myWin .= "
\r\n"; } - /** * 增加一个两列的行 * @@ -88,7 +83,6 @@ class OxWindow $this->myWinItem .= "\r\n"; $this->myWinItem .= "\r\n"; } - /** * 增加一个单列的消息行 * @@ -114,7 +108,6 @@ class OxWindow $this->myWinItem .= "\r\n"; $this->myWinItem .= "\r\n"; } - /** * 增加单列的标题行 * @@ -131,11 +124,10 @@ class OxWindow } else { $colspan = ""; } - $this->myWinItem .= "\r\n"; - $this->myWinItem .= "\r\n"; + $this->myWinItem .= "\r\n"; + $this->myWinItem .= "\r\n"; $this->myWinItem .= "\r\n"; } - /** * 结束Window * @@ -150,7 +142,6 @@ class OxWindow $this->myWin .= "
$ivalue
$ivalue
$title
$title
\r\n"; } } - /** * 增加自定义JS脚本 * @@ -164,7 +155,6 @@ class OxWindow $this->myWin = substr_replace($this->myWin, $scripts, $pos, strlen($this->tmpCode)); } } - /** * 获取窗口 * @@ -200,19 +190,15 @@ class OxWindow if ($wintype != "hand") { $this->myWin .= " - - - - - - - -
+ +   +   + "; } else { if ($msg != '') { - $this->myWin .= "$msg"; + $this->myWin .= "$msg"; } else { $this->myWin .= ''; } @@ -221,7 +207,6 @@ class OxWindow $this->CloseWin($isform); return $this->myWin; } - /** * 显示页面 * @@ -233,7 +218,7 @@ class OxWindow { global $cfg_templets_dir, $wecome_info, $cfg_basedir; if (empty($wecome_info)) { - $wecome_info = "DedeBIZ OX 通用对话框:"; + $wecome_info = "通用对话框:"; } $ctp = new DedeTagParse(); if ($modfile == '') { @@ -250,8 +235,7 @@ class OxWindow $ctp->Display(); $ctp->Clear(); } -} //End Class - +}//End Class /** * 显示一个不带表单的普通提示 * @@ -264,9 +248,9 @@ function ShowMsgWin($msg, $title) { $win = new OxWindow(); $win->Init(); - $win->mainTitle = "DedeBIZ系统提示:"; + $win->mainTitle = "系统提示:"; $win->AddTitle($title); $win->AddMsgItem("
$msg
"); $winform = $win->GetWindow("hand"); $win->Display(); -} +} \ No newline at end of file diff --git a/src/templets/plus/win_templet.htm b/src/templets/plus/win_templet.htm index 4ebdbf77..2f424842 100755 --- a/src/templets/plus/win_templet.htm +++ b/src/templets/plus/win_templet.htm @@ -1,32 +1,22 @@ + - - - {dede:wintitle/} - - - - + + {dede:wintitle/} + + + + - - - - - - - - - -
-  ◇{dede:wecome_info/} -
- {dede:winform/} -
-

- {dede:lang_cms_powerby/} -
-
-

+ + + + + + + + +
 ◇{dede:wecome_info/}
{dede:winform/}
+

{dede:lang_cms_powerby/}

- \ No newline at end of file