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

#103 use fontawesome icon in Persons and Orgs submenus instead of real icons

Alex Trofimov 11 лет назад
Родитель
Сommit
77534049c3

+ 1 - 1
modules/base/profile/classes/BxBaseModProfilePageEntry.php

@@ -48,7 +48,7 @@ class BxBaseModProfilePageEntry extends BxBaseModGeneralPageEntry
         $oMenuSubmenu->setObjectSubmenu($CNF['OBJECT_MENU_SUBMENU_VIEW_ENTRY'], array (
             'title' => $this->_oProfile->getDisplayName(),
             'link' => $this->_oProfile->getUrl(),
-            'icon' => $this->_oProfile->getIcon(),
+            'icon' => $CNF['ICON'],
         ));
 
         // add replaceable markers

+ 3 - 0
modules/boonex/organizations/classes/BxOrgsConfig.php

@@ -29,6 +29,9 @@ class BxOrgsConfig extends BxBaseModProfileConfig
 
         $this->CNF = array (
 
+            // module icon
+            'ICON' => 'briefcase col-red2',
+
             // database tables
             'TABLE_ENTRIES' => $aModule['db_prefix'] . 'data',
 

+ 3 - 0
modules/boonex/persons/classes/BxPersonsConfig.php

@@ -29,6 +29,9 @@ class BxPersonsConfig extends BxBaseModProfileConfig
 
         $this->CNF = array (
 
+            // module icon
+            'ICON' => 'user col-blue3',
+
             // database tables
             'TABLE_ENTRIES' => $aModule['db_prefix'] . 'data',