Skip to content

Commit

Permalink
Remove concat: required-flag
Browse files Browse the repository at this point in the history
  • Loading branch information
hmpf authored and tvdijen committed Aug 7, 2017
1 parent 1a6a594 commit bc60d80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/core/templates/frontpage_config.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@


foreach ($this->data['funcmatrix'] AS $func) {
echo '<tr class="' . ($func['enabled'] ? 'enabled' : 'disabled') . '"><td>' . ($func['enabled'] ? $icon_enabled : $icon_disabled) . '</td>
<td>' . $this->t('{core:frontpage:' . $func['required']. '}') . '</td><td>' . $func['descr'] . '</td></tr>';
echo '<tr class="' . ($func['enabled'] ? 'enabled' : 'disabled') . '"><td>' . ($func['enabled'] ? $icon_enabled : $icon_disabled) . '</td>';
echo '<td>' . $this->t($t->data['requiredmap'][$func['required']]) . '</td><td>' . $func['descr'] . '</td></tr>';
}
echo('</table></div>');
}
Expand Down
1 change: 1 addition & 0 deletions modules/core/www/frontpage_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@

$t->data['enablematrix'] = $enablematrix;
$t->data['funcmatrix'] = $funcmatrix;
$t->data['requiredmap'] = array('recommended' => $t->noop('{core:frontpage:recommended}');
$t->data['version'] = $config->getVersion();
$t->data['directory'] = dirname(dirname(dirname(dirname(__FILE__))));

Expand Down

0 comments on commit bc60d80

Please sign in to comment.