Просмотр исходного кода

#3382 Massmailer: remove some strange gray background in status popup
+ fix error campaign on creation

RomanL 5 лет назад
Родитель
Сommit
c4e472fc36

+ 8 - 0
modules/boonex/massmailer/classes/BxMassMailerModule.php

@@ -445,6 +445,14 @@ class BxMassMailerModule extends BxBaseModGeneralModule
     {
         return $this->checkAllowed($isPerformAction);
     }
+    
+    /**
+     * @return CHECK_ACTION_RESULT_ALLOWED if access is granted or error message if access is forbidden. So make sure to make strict(===) checking.
+     */
+    public function checkAllowedEditAnyEntryForProfile ($isPerformAction = false, $iProfileId = false)
+    {
+        return $this->checkAllowed($isPerformAction);
+    }
 
     /**
      * @return CHECK_ACTION_RESULT_ALLOWED if access is granted or error message if access is forbidden. So make sure to make strict(===) checking.

+ 1 - 1
modules/boonex/massmailer/template/manage_item.html

@@ -1,4 +1,4 @@
-<div class="bx-pgt-new-key bx-def-color-bg-block">
+<div class="bx-pgt-new-key">
     <div class="bx-pgt-new-key-cnt">
         __form__
         <script language="javascript">