|
|
@@ -141,8 +141,16 @@ class BxBaseModProfileModule extends BxBaseModGeneralModule implements iBxDolCon
|
|
|
'perofileStatus' => BX_PROFILE_STATUS_PENDING
|
|
|
));
|
|
|
$o->unsetPaginate();
|
|
|
-
|
|
|
- return $o->getNum();
|
|
|
+ $iNum1 = $o->getNum();
|
|
|
+
|
|
|
+ $iNum2 = 0;
|
|
|
+ $CNF = &$this->_oConfig->CNF;
|
|
|
+ if (isset($CNF['OBJECT_REPORTS'])){
|
|
|
+ $o->fillFilters(array('perofileStatus' => ''));
|
|
|
+ $o->fillFiltersByObjects(array('reported' => array('value' => '0', 'field' => 'reports', 'operator' => '>', 'table' => $CNF['TABLE_ENTRIES'])));
|
|
|
+ $iNum2 = $o->getNum();
|
|
|
+ }
|
|
|
+ return array('counter1_value' => $iNum1, 'counter2_value' => $iNum2, 'counter1_caption' => _t('_sys_menu_dashboard_manage_tools_addon_counter1_caption_profile_default'));
|
|
|
}
|
|
|
|
|
|
public function serviceGetMenuAddonManageToolsProfileStats()
|