Browse Source

system settings is now a variable in settings_display.tpl

pull/1721/head
rabuzarus 6 years ago
parent
commit
cf2a90dfa2
  1. 1
      mod/settings.php
  2. 2
      view/templates/settings_display.tpl

1
mod/settings.php

@ -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,
));

2
view/templates/settings_display.tpl

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

Loading…
Cancel
Save