<?php
require_once('_header.inc.php');
?>

<p>
	<div style="float:left; padding-right:10px;">
		<?php echo t("shorturls_filter_results"); ?>
	</div>
	<div style="float:left; padding-right:20px;">
		<input id="shorturl_search" name="shorturl_search" class="shortUrlSearch" value="" type="text" onKeyUp="mfScripts.shortUrlsTable.updateFilteredResults();"/>
	</div>

    <div style="float:left; padding-right:10px;">
		<?php echo t("shorturl_filter_disabled", "Show Disabled"); ?>
	</div>
	<div style="float:left;">
		<input id="shorturl_search_disabled" name="shorturl_search_disabled" value="1" type="checkbox" onChange="mfScripts.shortUrlsTable.updateFilteredResults();"/>
	</div>
	<div class="clear"><!-- --></div>
</p>

<div id="dataTable" class="yuiTable" style="padding-top:14px;"></div>
<div id="paginatorContainer"></div>

<script>
/* main table setup */
YAHOO.util.Event.addListener(window, "load", function() {
	mfScripts.shortUrlsTable.DynamicData();
});
</script>

<ul class="navLink" style="padding-top: 10px;">
	<li><a href="export_csv.php?type=urls"><?php echo t("export_urls_as_csv", "Export Urls"); ?></a></li>
</ul>

<?php
require_once('_footer.inc.php');
?>