main toolbar: set order values for main toolbar elements

This commit is contained in:
Andrew Dolgov 2019-07-15 13:43:32 +03:00
parent e8523733b0
commit 5829ee9498
1 changed files with 3 additions and 3 deletions

View File

@ -162,11 +162,11 @@
} }
?> ?>
<form id="toolbar-headlines" action="" onsubmit='return false'> <form id="toolbar-headlines" action="" style="order : 10" onsubmit='return false'>
</form> </form>
<form id="toolbar-main" action="" onsubmit='return false'> <form id="toolbar-main" action="" style="order : 20" onsubmit='return false'>
<select name="view_mode" title="<?php echo __('Show articles') ?>" <select name="view_mode" title="<?php echo __('Show articles') ?>"
onchange="App.onViewModeChanged()" onchange="App.onViewModeChanged()"
@ -207,7 +207,7 @@
</form> </form>
<div class="action-chooser"> <div class="action-chooser" style="order : 30">
<?php <?php
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_TOOLBAR_BUTTON) as $p) { foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_TOOLBAR_BUTTON) as $p) {