OUT_STACK now supports config_groups magic again
This commit is contained in:
@ -5,7 +5,6 @@
|
||||
var const_hide = '{$CONST.HIDE}';
|
||||
var img_plus = '{serendipity_getFile file="img/plus.png"}';
|
||||
var img_minus = '{serendipity_getFile file="img/minus.png"}';
|
||||
var jspath = '{$serendipityHTTPPath}include/admin/js/';
|
||||
</script>
|
||||
|
||||
{if $allow_admin_scripts}
|
||||
@ -55,7 +54,7 @@
|
||||
<tr><td colspan="2" style="height: 100px" id="configuration_footer"> </td></tr>
|
||||
{/if} {* foreach config_groups end *}
|
||||
|
||||
{foreach $OUT_STACK as $out_stack_config_item}
|
||||
{foreach $OUT_STACK_REST as $out_stack_config_item}
|
||||
{$out_stack_config_item}
|
||||
{/foreach}
|
||||
|
||||
|
@ -709,7 +709,17 @@ function serendipity_plugin_config(&$plugin, &$bag, &$name, &$desc, &$config_nam
|
||||
$data['config_groups'] = $config_groups;
|
||||
$data['OUT_STACK'] = $out_stack;
|
||||
|
||||
// is left here without use for archiv issues - now using external js file outsourced to templates/default/admin/admin_scripts.js
|
||||
if (is_array($config_groups)) {
|
||||
foreach($config_groups AS $config_header => $config_groupkeys) {
|
||||
foreach($config_groupkeys AS $config_groupkey) {
|
||||
unset($out_stack[$config_groupkey]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$data['OUT_STACK_REST'] = $out_stack;
|
||||
|
||||
// is left here without any use for archiv issues only - we now use external js file outsourced to templates/default/admin/admin_scripts.js
|
||||
// see passed vars in serendipity_plugin_config.fnc.tpl - can get erased, as not being used any more if keeping Smartification.
|
||||
ob_start();
|
||||
serendipity_printConfigJS();
|
||||
|
Reference in New Issue
Block a user