Translations added- Modified
Translations added - Modified
This commit is contained in:
@@ -99,7 +99,7 @@ class PMDashlet extends DashletInstance implements DashletInterface
|
||||
|
||||
if (strstr($row['DAS_TITLE'], '*')) {
|
||||
$row['DAS_TITLE'] = G::LoadTranslationPlugin('advancedDashboards', str_replace("*","",$row['DAS_TITLE']));
|
||||
}//G::pr($row['DAS_TITLE']);
|
||||
}
|
||||
$row['DAS_INS_STATUS_LABEL'] = ($row['DAS_INS_STATUS'] == '1' ? G::LoadTranslation( 'ID_ACTIVE' ) : G::LoadTranslation( 'ID_INACTIVE' ));
|
||||
$row['DAS_INS_TITLE'] = (isset( $arrayField['DAS_INS_TITLE'] ) && ! empty( $arrayField['DAS_INS_TITLE'] )) ? $arrayField['DAS_INS_TITLE'] : '';
|
||||
if (! class_exists( $row['DAS_CLASS'] )) {
|
||||
|
||||
@@ -435,7 +435,7 @@ class Dashboard extends Controller
|
||||
$dataset->setFetchmode( ResultSet::FETCHMODE_ASSOC );
|
||||
$dataset->next();
|
||||
while ($row = $dataset->getRow()) {
|
||||
if (strstr($row['DAS_TITLE'], '_')) {
|
||||
if (strstr($row['DAS_TITLE'], '*')) {
|
||||
$row['DAS_TITLE'] = str_replace('*', '', $row['DAS_TITLE']);
|
||||
$row['DAS_TITLE'] = G::LoadTranslationPlugin('advancedDashboards', $row['DAS_TITLE']);
|
||||
}
|
||||
@@ -450,7 +450,6 @@ class Dashboard extends Controller
|
||||
} catch (Exception $error) {
|
||||
throw $error;
|
||||
}
|
||||
//G::pr($dashlets);die;
|
||||
return $dashlets;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user