added configuration for site name.
added functionality for random tag lines. made the search have a lot more options. change HTML for footer. added the Changelog to the footer. updated intro page. added installation instructions.
This commit is contained in:
		@@ -1,6 +1,8 @@
 | 
			
		||||
		<p> Welcome to Kwotes, a chat quote database system with a twist.
 | 
			
		||||
		<p>
 | 
			
		||||
			Welcome to Kwotes, a chat quote database system with a twist.
 | 
			
		||||
			The quotes are publicly moderated, so it's up to YOU to maintain the quality.
 | 
			
		||||
			All quotes are accepted and if their ranking falls too low for too long, they are deleted.
 | 
			
		||||
			To better your kwote browsing experience, visit the <a href="?action=search">search</a> page.
 | 
			
		||||
		</p>
 | 
			
		||||
		
 | 
			
		||||
		This system has advantages over existing systems. Here are a few:
 | 
			
		||||
@@ -10,4 +12,4 @@
 | 
			
		||||
			<li>Users may only submit a limited number of quotes per hour.</li>
 | 
			
		||||
			<li>A Simple, standards-compliant design that works in all modern browsers(sorry NS4/IE3 users!)</li>
 | 
			
		||||
			<li>The system is open source. You can download the source code using the link at the bottom of the page.</li>
 | 
			
		||||
		</ul>
 | 
			
		||||
		</ul>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,32 +1,87 @@
 | 
			
		||||
		<form action="${SCRIPT_NAME}" method="get">	
 | 
			
		||||
			<div style="margin-left: auto; margin-right: auto; width: 400px;">
 | 
			
		||||
			<div style="margin-left: auto; margin-right: auto; width: 450px;">
 | 
			
		||||
				<input type="hidden" name="action" value="list" />
 | 
			
		||||
				<input type="hidden" name="s" value="0" />
 | 
			
		||||
				
 | 
			
		||||
				<div>
 | 
			
		||||
					<span style="margin-right: 10px;">Search Text:</span>
 | 
			
		||||
					<input type="text" size="15" name="ss" /> <input type="submit" value="Search" />
 | 
			
		||||
 | 
			
		||||
				<div class="search-container">
 | 
			
		||||
					All fields are optional. Choosing a random sort order disables paging.
 | 
			
		||||
					Search keywords can be seperated using a coma.
 | 
			
		||||
				</div>
 | 
			
		||||
				
 | 
			
		||||
				<span style="margin-right: 10px;">
 | 
			
		||||
					Sort by:
 | 
			
		||||
					<select name="o">
 | 
			
		||||
						<option value="date">Date</option>
 | 
			
		||||
						<option value="rating">Rating</option>
 | 
			
		||||
					</select>
 | 
			
		||||
				</span>
 | 
			
		||||
				<div class="search-container">
 | 
			
		||||
					<span class="search-label">Search text:</span>
 | 
			
		||||
					<span class="search-option"><input type="text" size="20" name="ss" /></span>
 | 
			
		||||
				</div>
 | 
			
		||||
				
 | 
			
		||||
				<span>
 | 
			
		||||
					Per page:
 | 
			
		||||
					<select name="m">
 | 
			
		||||
						<option value="5">5</option>
 | 
			
		||||
						<option value="20">20</option>
 | 
			
		||||
						<option value="30">30</option>
 | 
			
		||||
						<option value="40">40</option>
 | 
			
		||||
						<option value="50">50</option>
 | 
			
		||||
						<option value="100">100</option>
 | 
			
		||||
						<option value="200">200</option>
 | 
			
		||||
					</select>
 | 
			
		||||
				</span>
 | 
			
		||||
				<div class="search-container">
 | 
			
		||||
					<span class="search-label">Sort by:</span>
 | 
			
		||||
					<span class="search-option">
 | 
			
		||||
						<select name="o">
 | 
			
		||||
							<option value="date">Date</option>
 | 
			
		||||
							<option value="rating">Rating</option>
 | 
			
		||||
							<option value="random">Random</option>
 | 
			
		||||
						</select>
 | 
			
		||||
					</span>
 | 
			
		||||
				</div>
 | 
			
		||||
 | 
			
		||||
				<div class="search-container">
 | 
			
		||||
					<span class="search-label">Sort direction:</span>
 | 
			
		||||
					<span class="search-option">
 | 
			
		||||
						<select name="so">
 | 
			
		||||
							<option value="forward">Descending</option>
 | 
			
		||||
							<option value="reverse">Ascending</option>
 | 
			
		||||
						</select>
 | 
			
		||||
					</span>
 | 
			
		||||
				</div>
 | 
			
		||||
 | 
			
		||||
				<div class="search-container">
 | 
			
		||||
					<span class="search-label">Per page:</span>
 | 
			
		||||
					<span class="search-option">
 | 
			
		||||
						<select name="m">
 | 
			
		||||
							<option value="5">5</option>
 | 
			
		||||
							<option value="20">20</option>
 | 
			
		||||
							<option value="30">30</option>
 | 
			
		||||
							<option value="40">40</option>
 | 
			
		||||
							<option value="50">50</option>
 | 
			
		||||
							<option value="100">100</option>
 | 
			
		||||
							<option value="200">200</option>
 | 
			
		||||
						</select>
 | 
			
		||||
					</span>
 | 
			
		||||
				</div>
 | 
			
		||||
 | 
			
		||||
				<div class="search-container">
 | 
			
		||||
					<span class="search-label">Max results:</span>
 | 
			
		||||
					<span class="search-option">
 | 
			
		||||
						<select name="mr">
 | 
			
		||||
							<option value="9999999999">No max</option>
 | 
			
		||||
							<option value="100">100</option>
 | 
			
		||||
							<option value="200">200</option>
 | 
			
		||||
							<option value="300">300</option>
 | 
			
		||||
							<option value="400">400</option>
 | 
			
		||||
							<option value="500">500</option>
 | 
			
		||||
							<option value="1000">1000</option>
 | 
			
		||||
							<option value="2000">2000</option>
 | 
			
		||||
						</select>
 | 
			
		||||
					</span>
 | 
			
		||||
				</div>
 | 
			
		||||
 | 
			
		||||
				<div class="search-container">
 | 
			
		||||
					<span class="search-label">Minimum rating:</span>
 | 
			
		||||
					<span class="search-option">
 | 
			
		||||
						<input type="text" size="5" name="minr" />
 | 
			
		||||
					</span>
 | 
			
		||||
				</div>
 | 
			
		||||
 | 
			
		||||
				<div class="search-container">
 | 
			
		||||
					<span class="search-label">Maximum rating:</span>
 | 
			
		||||
					<span class="search-option">
 | 
			
		||||
						<input type="text" size="5" name="maxr" />
 | 
			
		||||
					</span>
 | 
			
		||||
				</div>
 | 
			
		||||
				
 | 
			
		||||
				<div class="search-container">
 | 
			
		||||
					<input type="submit" value="Search" />
 | 
			
		||||
				</div>
 | 
			
		||||
 | 
			
		||||
			</div>
 | 
			
		||||
		</form>
 | 
			
		||||
		</form>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,15 +1,21 @@
 | 
			
		||||
		<div class="footer">
 | 
			
		||||
			<a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.1</a>
 | 
			
		||||
			<a href="http://jigsaw.w3.org/css-validator/check/referer">Valid CSS</a>
 | 
			
		||||
			<a href="http://sourceforge.net/projects/kwotes/">Project Page</a>
 | 
			
		||||
			<a href="http://sourceforge.net">
 | 
			
		||||
				<img src="http://sourceforge.net/sflogo.php?group_id=121598&type=1"
 | 
			
		||||
					 width="88" height="31" alt="SourceForge.net!" />
 | 
			
		||||
			</a>
 | 
			
		||||
			
 | 
			
		||||
			<span style="float: right;">${KWOTE_COUNT} Live Kwotes, ${KWOTE_BACKUP_COUNT} Deleted Kwotes</span>
 | 
			
		||||
			<span style="float: left;">
 | 
			
		||||
				<a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.1</a>
 | 
			
		||||
				<a href="http://jigsaw.w3.org/css-validator/check/referer">Valid CSS</a>
 | 
			
		||||
				<a href="http://sourceforge.net/projects/kwotes/">Project Page</a>
 | 
			
		||||
				<a href="Changelog">Changelog</a>
 | 
			
		||||
			</span>
 | 
			
		||||
			<span style="float: right;">
 | 
			
		||||
				${KWOTE_COUNT} Live Kwotes, ${KWOTE_BACKUP_COUNT} Deleted Kwotes
 | 
			
		||||
			</span>
 | 
			
		||||
			<span style="float: right; clear: right;">
 | 
			
		||||
				<a href="http://sourceforge.net">
 | 
			
		||||
					<img src="http://sourceforge.net/sflogo.php?group_id=121598&type=1"
 | 
			
		||||
					width="88" height="31" alt="SourceForge.net!" />
 | 
			
		||||
				</a>
 | 
			
		||||
			</span>
 | 
			
		||||
		</div>
 | 
			
		||||
	</div>
 | 
			
		||||
</body>
 | 
			
		||||
 | 
			
		||||
</html>
 | 
			
		||||
</html>
 | 
			
		||||
 
 | 
			
		||||
@@ -50,7 +50,7 @@
 | 
			
		||||
					<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>
 | 
			
		||||
			<span class="title">${SITE_NAME} - ${TAG_LINE}</span>
 | 
			
		||||
		</div>
 | 
			
		||||
		
 | 
			
		||||
		<ul class="tab-menu">
 | 
			
		||||
 
 | 
			
		||||
@@ -89,6 +89,11 @@ a:hover, a:active
 | 
			
		||||
	margin-top: 10px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.sf-footer
 | 
			
		||||
{
 | 
			
		||||
	float: right;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Horizontal Menu */
 | 
			
		||||
.tab-list
 | 
			
		||||
{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user