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:
Sean Harvey 2009-02-03 05:12:42 +00:00
parent d28951065e
commit fea613c19f

View File

@ -64,9 +64,11 @@
<div id="SortItems">
<input type="checkbox" id="sortitems" /> <label for="sortitems"><% _t('ENABLEDRAGGING','Allow drag &amp; 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