* added "random" sorting method, and "Random 100" to
tab bar. * add "name" and "id" attribute to the text input box in the header, it wasn't working because it was missing. * removed the search header from the search results page. * fixed navigation buttons (next, prev)... they were missing the search string, pressing "next" or "prev" on a search aborted the search.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
|
||||
<div class="kwote-navigation">
|
||||
<a href="?action=list&o=${ORDER}&s=${NEXT_INDEX}&m=${MAX_RETURN}&mr=${MAX_RECORDS}">Next ></a>
|
||||
<a href="?action=list&o=${ORDER}&s=${NEXT_INDEX}&m=${MAX_RETURN}&mr=${MAX_RECORDS}&ss=${SEARCH_STRING}">Next ></a>
|
||||
</div>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div class="kwote-navigation">
|
||||
<a href="?action=list&o=${ORDER}&s=${LAST_INDEX}&m=${MAX_RETURN}&mr=${MAX_RECORDS}">< Previous</a>
|
||||
<a href="?action=list&o=${ORDER}&s=${LAST_INDEX}&m=${MAX_RETURN}&mr=${MAX_RECORDS}&ss=${SEARCH_STRING}">< Previous</a>
|
||||
</div>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div class="kwote-navigation">
|
||||
<a href="?action=list&o=${ORDER}&s=${LAST_INDEX}&m=${MAX_RETURN}&mr=${MAX_RECORDS}">< Previous</a>
|
||||
<a href="?action=list&o=${ORDER}&s=${LAST_INDEX}&m=${MAX_RETURN}&mr=${MAX_RECORDS}&ss=${SEARCH_STRING}">< Previous</a>
|
||||
|
|
||||
<a href="?action=list&o=${ORDER}&s=${NEXT_INDEX}&m=${MAX_RETURN}&mr=${MAX_RECORDS}">Next ></a>
|
||||
<a href="?action=list&o=${ORDER}&s=${NEXT_INDEX}&m=${MAX_RETURN}&mr=${MAX_RECORDS}&ss=${SEARCH_STRING}">Next ></a>
|
||||
</div>
|
||||
|
||||
|
@ -47,7 +47,7 @@
|
||||
<form action="${SCRIPT_NAME}" method="get">
|
||||
<div>
|
||||
<input type="hidden" name="action" value="show" />
|
||||
<span class="id-search">Kwote # <input type="text" size="5" /></span>
|
||||
<span class="id-search">Kwote # <input type="text" size="5" name="id" id="id" /></span>
|
||||
</div>
|
||||
</form>
|
||||
<span class="title">Kwotes - For happy goodness!</span>
|
||||
@ -57,6 +57,7 @@
|
||||
<li class="tab"><a href="?">Home</a></li>
|
||||
<li class="tab"><a href="?action=add">Add</a></li>
|
||||
<li class="tab"><a href="?action=list&o=date">Latest</a></li>
|
||||
<li class="tab"><a href="?action=list&o=random&m=100&mr=100">Random 100</a></li>
|
||||
<li class="tab"><a href="?action=list&o=rating&s=0&m=20&mr=50">Top 100</a></li>
|
||||
<li class="tab"><a href="?action=list&o=rating&s=0&m=20&mr=50&so=reverse">Bottom 100</a></li>
|
||||
<li class="tab"><a href="?action=search">Search</a></li>
|
||||
|
Reference in New Issue
Block a user