Location: PHPKode > scripts > Bookmarks class > searchBookmarks.tpl.php
<?php
/**
 * The template file that draws the layout to search for a bookmark.
 * 
 * @package be.nauta.booby.plugins.bookmarks.view
 * @author Barry Nauta
 * @copyright Barry Nauta
 * 
 * This file is part of the Booby project.
 * The booby project is located at the following location:
 * http://www.nauta.be/booby/
 *
 * Copyright (c) 2003 - 2004 Barry Nauta
 *
 * The Booby project is released under the General Public License
 * More detailes in the file 'gpl.html' or on the following
 * website: <code>http://www.gnu.org</code> and look for licenses
 *
 * Enjoy :-)
 */
 ?>
<h2><?php echo $dictionary['search'].' '.$dictionary['bookmarks'] ?></h2>

<table>

<!--
	Search for a bookmarks name
-->
<tr>
	<td>
		<?php echo $dictionary['name'] ?>:
	</td>
	<td>
		<form method="POST" action="BookmarkController.php">
		<input type="hidden" name="field" value="name">
		<input type="text" name="value">
		<input type="hidden" name="action" value="searchBookmarks">
		<input type="submit" value="<?php echo $dictionary['search'] ?>">
		</form>
	</td>
</tr>

<!--
	Search for a bookmarks URL/locator
-->
<tr>
	<td>
		<?php echo $dictionary['url'] ?>:
	</td>
	<td>
		<form method="POST" action="BookmarkController.php">
		<input type="hidden" name="field" value="locator">
		<input type="text" name="value">
		<input type="hidden" name="action" value="searchBookmarks">
		<input type="submit" value="<?php echo $dictionary['search'] ?>">
		</form>
	</td>
</tr>

<!--
	Search on a bookmarks description
-->
<tr>
	<td>
		<?php echo $dictionary['description'] ?>:
	</td>
	<td>
		<form method="POST" action="BookmarkController.php">
		<input type="hidden" name="field" value="description">
		<input type="text" name="value">
		<input type="hidden" name="action" value="searchBookmarks">
		<input type="submit" value="<?php echo $dictionary['search'] ?>">
		</form>
	</td>
</tr>
</table>
Return current item: Bookmarks class