Browse Source

Merge branch 'master' of https://github.com/unaio/una

AntonLV 5 years ago
parent
commit
ff700a075e
1 changed files with 11 additions and 0 deletions
  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;