Add jnotice to Pman
authorAlan <alan@roojs.com>
Mon, 30 Oct 2023 03:51:31 +0000 (11:51 +0800)
committerAlan <alan@roojs.com>
Mon, 30 Oct 2023 03:51:31 +0000 (11:51 +0800)
Pman.php

index eebe773..478b70e 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -595,6 +595,10 @@ class Pman extends HTML_FlexyFramework_Page
         exit;
         
     }
+    function jnotice($type, $str, $errors=array(), $content_type = false)
+    {
+        return $this->jerror('NOTICE-' . $type, $str, $errors, $content_type);
+    }
     function jok($str)
     {
         if ($this->transObj ) {