mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX Only show the LangSelector dropdown if there's multiple languages available on the site
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71297 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
d28951065e
commit
fea613c19f
@ -64,9 +64,11 @@
|
||||
<div id="SortItems">
|
||||
<input type="checkbox" id="sortitems" /> <label for="sortitems"><% _t('ENABLEDRAGGING','Allow drag & drop reordering', PR_HIGH) %></label>
|
||||
</div>
|
||||
<div id="LangSelector_holder" <% if MultipleLanguages %><% else %> class="onelang"<% end_if %>>
|
||||
<% if MultipleLanguages %>
|
||||
<div id="LangSelector_holder">
|
||||
Language: $LangSelector
|
||||
</div>
|
||||
<% end_if %>
|
||||
</div>
|
||||
<div id="sitetree_ul">
|
||||
$SiteTreeAsUL
|
||||
|
Loading…
Reference in New Issue
Block a user