Readd the sort menu. re #73
This commit is contained in:
parent
77b155ac20
commit
6ee817710e
|
@ -56,6 +56,7 @@
|
||||||
}
|
}
|
||||||
$out ["i18n"] = array ("coverAlt" => localize("i18n.coversection"),
|
$out ["i18n"] = array ("coverAlt" => localize("i18n.coversection"),
|
||||||
"authorsTitle" => localize("authors.title"),
|
"authorsTitle" => localize("authors.title"),
|
||||||
|
"bookwordTitle" => localize("bookword.title"),
|
||||||
"tagsTitle" => localize("tags.title"),
|
"tagsTitle" => localize("tags.title"),
|
||||||
"seriesTitle" => localize("series.title"),
|
"seriesTitle" => localize("series.title"),
|
||||||
"customizeTitle" => localize ("customize.title"),
|
"customizeTitle" => localize ("customize.title"),
|
||||||
|
@ -63,11 +64,14 @@
|
||||||
"previousAlt" => localize ("paging.previous.alternate"),
|
"previousAlt" => localize ("paging.previous.alternate"),
|
||||||
"nextAlt" => localize ("paging.next.alternate"),
|
"nextAlt" => localize ("paging.next.alternate"),
|
||||||
"searchAlt" => localize ("search.alternate"),
|
"searchAlt" => localize ("search.alternate"),
|
||||||
|
"sortAlt" => localize ("sort.alternate"),
|
||||||
"homeAlt" => localize ("home.alternate"),
|
"homeAlt" => localize ("home.alternate"),
|
||||||
"permalinkAlt" => localize ("permalink.alternate"),
|
"permalinkAlt" => localize ("permalink.alternate"),
|
||||||
"pubdateTitle" => localize("pubdate.title"),
|
"pubdateTitle" => localize("pubdate.title"),
|
||||||
"languagesTitle" => localize("language.title"),
|
"languagesTitle" => localize("language.title"),
|
||||||
"contentTitle" => localize("content.summary"));
|
"contentTitle" => localize("content.summary"),
|
||||||
|
"sortorderAsc" => localize("search.sortorder.asc"),
|
||||||
|
"sortorderDesc" => localize("search.sortorder.desc"));
|
||||||
|
|
||||||
$out ["containsBook"] = 0;
|
$out ["containsBook"] = 0;
|
||||||
if ($currentPage->containsBook ()) {
|
if ($currentPage->containsBook ()) {
|
||||||
|
|
|
@ -22,5 +22,24 @@
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
{{? it.containsBook == 1}}
|
||||||
|
<div style="float: right; width: 35%">
|
||||||
|
<div style="float: right">
|
||||||
|
<img id="sort" src="images/sort32.png?v={{=it.version}}" alt="{{=it.i18n.sortAlt}}" />
|
||||||
|
</div>
|
||||||
|
<div class="stop">
|
||||||
|
<select id="sortchoice">
|
||||||
|
<option value="st">{{=it.i18n.bookwordTitle}}</option>
|
||||||
|
<option value="sa">{{=it.i18n.authorsTitle}}</option>
|
||||||
|
<option value="ss">{{=it.i18n.seriesTitle}}</option>
|
||||||
|
<option value="sp">{{=it.i18n.pubdateTitle}}</option>
|
||||||
|
</select>
|
||||||
|
<select id="sortorder">
|
||||||
|
<option value="asc">{{=it.i18n.sortorderAsc}}</option>
|
||||||
|
<option value="desc">{{=it.i18n.sortorderDesc}}</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{?}}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
Loading…
Reference in a new issue