6
This is due to css of the theme :
div#navOptionsCP a {
border: 0px solid #00536C;
height: 32px;
display: block;
width: 32px;
float: right; <--------
margin-right: 2px;
margin-left: 0;
margin-top: 0;
margin-bottom: 0
}
When float is 'right', each block is displayed one at a time, right to left. That is why the order is reverse.
I solution could be to invert the order of the options to be displayed by adding at line 231 :
// Options are displayed right to left in the theme, so the order of
// the array has to be inverted in order to keep the correct layout
$mod_options = array_reverse($mod_options);
and inverting in
\modules\system\class\gui\oxygen\templates\admin\system_adm_navbar.html the order
navOptionsCP in built by (first preferences THEN options) :
<div id="navOptionsCP">
<div class="modname">
<{$modname}>
</div>
<{if $moddir!='system' && $mod_options}>
<a class="tooltip" href="<{$xoops_url}>/modules/system/admin.php?fct=preferences&op=showmod&mod=<{$modid}>" title="<{$lang_preferences}>">
<img src="<{$xoops_url}>/modules/system/class/gui/oxygen/images/navIcons/prefs.png" alt="<{$lang_preferences}>" />
</a>
<{/if}>
<{foreach item=op from=$mod_options}>
<a class="tooltip" href="<{$op.link}>" title="<{$op.title}>">
<img src='<{$op.icon|default:"$xoops_url/modules/system/class/gui/oxygen/images/icon_options.png"}>' alt="<{$op.title}>" />
</a>
<{/foreach}>
</div>