Remove 'mysettings' items from the main settings menu
This commit is contained in:
parent
00e1f15d08
commit
a0f071e5a7
|
|
@ -1,7 +1,9 @@
|
|||
<div class="layout">
|
||||
<div class="layout-cell oc-bg-logo">
|
||||
<script>$(document).ready(function(){
|
||||
$('#settings-search-input').focus()
|
||||
})</script>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('#settings-search-input').focus()
|
||||
})
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1,7 +1,10 @@
|
|||
<?php
|
||||
$systemItems = System\Classes\SettingsManager::instance()->listItems('system');
|
||||
$mySettingItems = System\Classes\SettingsManager::instance()->listItems('mysettings');
|
||||
?>
|
||||
|
||||
<?= $this->makePartial('~/modules/system/partials/_settings_menu_items.htm', ['items'=>$mySettingItems]); ?>
|
||||
<?= $this->makePartial('~/modules/system/partials/_settings_menu_items.htm', ['items'=>$systemItems]); ?>
|
||||
// @todo Trialing the removal of this due to the new account menu
|
||||
// @deprecated Remove if year >= 2016
|
||||
$mySettingItems = []; //System\Classes\SettingsManager::instance()->listItems('mysettings');
|
||||
?>
|
||||
<?php /* @deprecated Remove if year >= 2016 */ ?>
|
||||
<?= $this->makePartial('~/modules/system/partials/_settings_menu_items.htm', ['items' => $mySettingItems]); ?>
|
||||
<?= $this->makePartial('~/modules/system/partials/_settings_menu_items.htm', ['items' => $systemItems]); ?>
|
||||
Loading…
Reference in New Issue