Skip to content

Commit

Permalink
Woa... The sort selection has the same id as the language slection!!
Browse files Browse the repository at this point in the history
- Wonder if that fixes the problems encountered on some installation with
  rendering the frontpage which is somehoe fixed by leaving out the
  language selector.
  • Loading branch information
torinfo committed Mar 7, 2015
1 parent 8a49c1a commit 395663e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@
<div class="file_mgt_area_bottom">
<form name="sorting" style="float:left;margin:7px 5px 5px 10px;">
<?PHP echo INDEX_SORT; ?>
<select id="language-selector" name="type" onchange="selection_changed()">>
<select id="sort-selector" name="type" onchange="selection_changed()">>
<option value="alpha_up"><?PHP echo INDEX_SORT_A; ?></option>
<option value="alpha_down"><?PHP echo INDEX_SORT_Z; ?></option>
<option value="date_down"><?PHP echo INDEX_SORT_NEW; ?></option>
<option value="date_down" selected><?PHP echo INDEX_SORT_NEW; ?></option>
<option value="date_up"><?PHP echo INDEX_SORT_OLD; ?></option>
</select>
<!--<button type="button" class="xerte_button" onclick="javascript:selection_changed()"><?php echo INDEX_BUTTON_SORT; ?></button>-->
Expand Down
9 changes: 9 additions & 0 deletions website_code/styles/frontpage.css
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,15 @@ div#folder_workspace, div#recyclebin{
margin:0;
}

#sort-selector {
background-color:#f86718;
color:#fff;
border-radius:4px;
border:#fff 1px solid;
padding:2px;
margin:0;
}

.xerte_button_c {
background-color:#f86718;
color:#fff;
Expand Down

0 comments on commit 395663e

Please sign in to comment.