add pdl editor to settings/display

This commit is contained in:
friendica 2014-03-04 20:58:12 -08:00
parent d860ab3cc4
commit efc828bed5
2 changed files with 5 additions and 0 deletions

View File

@ -758,6 +758,7 @@ function settings_content(&$a) {
'$itemspage' => array('itemspage', t("Maximum number of conversations to load at any time:"), $itemspage, t('Maximum of 100 items')), '$itemspage' => array('itemspage', t("Maximum number of conversations to load at any time:"), $itemspage, t('Maximum of 100 items')),
'$nosmile' => array('nosmile', t("Don't show emoticons"), $nosmile, ''), '$nosmile' => array('nosmile', t("Don't show emoticons"), $nosmile, ''),
'$chanview_full' => array('chanview_full', t('Do not view remote profiles in frames'), $chanview, t('By default open in a sub-window of your own site')), '$chanview_full' => array('chanview_full', t('Do not view remote profiles in frames'), $chanview, t('By default open in a sub-window of your own site')),
'$layout_editor' => t('System Page Layout Editor - (advanced)'),
'$theme_config' => $theme_config, '$theme_config' => $theme_config,
)); ));

View File

@ -16,6 +16,10 @@
<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> <input type="submit" name="submit" class="settings-submit" value="{{$submit}}" />
</div> </div>
<br />
<a href="pdledit">{{$layout_editor}}</a>
<br />
{{if $theme_config}} {{if $theme_config}}
<h2>Theme settings</h2> <h2>Theme settings</h2>
{{$theme_config}} {{$theme_config}}