Przeglądaj źródła

#177 module icon for all profiles modules in sub-menus

Alex Trofimov 11 lat temu
rodzic
commit
658cab9385
1 zmienionych plików z 8 dodań i 0 usunięć
  1. 8 0
      inc/classes/BxDolProfileUndefined.php

+ 8 - 0
inc/classes/BxDolProfileUndefined.php

@@ -106,6 +106,14 @@ class BxDolProfileUndefined extends BxDol implements iBxDolSingleton, iBxDolProf
         return BxDolTemplate::getInstance()->getImageUrl('account-icon.png');
     }
 
+    /**
+     * Get module icon
+     */
+    public function getIconModule($iProfileId = 0)
+    {
+        return 'user';
+    }
+
     /**
      * Get profile edit url
      */