Merge pull request #1721 from rabuzarus/settings_translate

system settings is now a variable in settings_display.tpl
2022.09-rc
Tobias Diekershoff 2015-06-30 20:19:43 +02:00
commit 7b35e565d6
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -916,6 +916,7 @@ function settings_content(&$a) {
'$infinite_scroll' => array('infinite_scroll', t("Infinite scroll"), $infinite_scroll, ''),
'$no_auto_update' => array('no_auto_update', t("Automatic updates only at the top of the network page"), $no_auto_update, 'When disabled, the network page is updated all the time, which could be confusing while reading.'),
'stitle' => t('Theme settings'),
'$theme_config' => $theme_config,
));

Wyświetl plik

@ -20,7 +20,7 @@
</div>
{{if $theme_config}}
<h2>Theme settings</h2>
<h2>{{$stitle}}</h2>
{{$theme_config}}
{{/if}}