Преглед на файлове

#3476 Alert for serviceAccountProfileSwitcher

RomanL преди 5 години
родител
ревизия
21cee87c33
променени са 1 файла, в които са добавени 11 реда и са изтрити 0 реда
  1. 11 0
      template/scripts/BxBaseServiceProfiles.php

+ 11 - 0
template/scripts/BxBaseServiceProfiles.php

@@ -399,6 +399,17 @@ class BxBaseServiceProfiles extends BxDol
         $aVars = array (
             'bx_repeat:row' => array(),
         );
+        
+        bx_alert('system', 'account_profile_switcher', 0, false, array(
+            'account_id' => $iAccountId,
+            'active_profile_id' => &$iActiveProfileId,
+            'url_profile_action' => &$sUrlProfileAction,
+            'show_all' => &$bShowAll,
+            'button_title' => &$sButtonTitle,
+            'profile_template' => &$sProfileTemplate,
+            'profiles' => &$aProfiles
+        ));
+        
         foreach ($aProfiles as $aProfile) {
             if (!$bShowAll && $iActiveProfileId == $aProfile['id'])
                 continue;