ENHANCEMENT Moved language selector in CMS above tree for better visibility, added padding and adjusted dropdown width

ENHANCEMENT Removed "Translating mode" status message above edit form - should be clear by the language dropdown above the CMS tree now

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@70308 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-01-16 04:17:37 +00:00
parent fd65285cfc
commit 5889def36d
3 changed files with 4 additions and 11 deletions

View File

@ -392,12 +392,7 @@ ul.tree span.untranslated a:visited {
background-color: #EEEEEE; background-color: #EEEEEE;
border-bottom: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
border-top: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC;
} padding: 3px 0 3px 7px;
#LangSelector_holder select {
width: 70%;
}
#LangSelector_holder.onelang {
display: none;
} }
#SortItems { #SortItems {

View File

@ -64,6 +64,9 @@
<div id="SortItems"> <div id="SortItems">
<input type="checkbox" id="sortitems" /> <label for="sortitems"><% _t('ENABLEDRAGGING','Allow drag &amp; drop reordering', PR_HIGH) %></label> <input type="checkbox" id="sortitems" /> <label for="sortitems"><% _t('ENABLEDRAGGING','Allow drag &amp; drop reordering', PR_HIGH) %></label>
</div> </div>
<div id="LangSelector_holder" <% if MultipleLanguages %><% else %> class="onelang"<% end_if %>>
Language: $LangSelector
</div>
<div id="sitetree_ul"> <div id="sitetree_ul">
$SiteTreeAsUL $SiteTreeAsUL
</div> </div>
@ -76,9 +79,6 @@
<span style="cursor: help" title="<% _t('EDITEDNOTPUB','Edited on the draft site and not published yet') %>" class="modified"><% _t('CHANGED','changed') %></span> <span style="cursor: help" title="<% _t('EDITEDNOTPUB','Edited on the draft site and not published yet') %>" class="modified"><% _t('CHANGED','changed') %></span>
</div> </div>
<div id="LangSelector_holder" <% if MultipleLanguages %><% else %> class="onelang"<% end_if %>>
Language: $LangSelector
</div>
<!-- <!--
<div id="search_holder" style="display:none"> <div id="search_holder" style="display:none">
<h2>Search</h2> <h2>Search</h2>

View File

@ -1,5 +1,3 @@
<span id="Translating_Message" class="translatingMessage <% if EditingLang %><% else %>nonTranslating<% end_if %>"></span>
<div id="form_actions_right" class="ajaxActions"> <div id="form_actions_right" class="ajaxActions">
</div> </div>