<?php
/*
$Id$
*/
?>
<p>Export post and page permalinks to Delicious as they are published.</p>
<h3>Post URLs</h3>
<table class='form-table'>
	<tr valign="top">
		<th scope='row'>Export</th>
		<td><input type='checkbox' name='export-permalinks[post-export]'
			value='yes'
			<?php
			echo $this->html_form->checked ( $this->options->values ['export-permalinks'] ['post-export'] );
			?> /><br />
		<small>Add your posts to Delicious as they are published</small></td>
	</tr>
	<tr valign='top'>
		<th scope='row'>Use Title as Tag</th>
		<td><input type='checkbox'
			name='export-permalinks[post-use-title-as-tag]' value='yes'
			<?php
			echo $this->html_form->checked ( $this->options->values ['export-permalinks'] ['post-use-title-as-tag'] );
			?> /><br />
		<small>Use the title as a Delicious tag</small></td>
	</tr>
	<tr valign='top'>
		<th scope='row'>Add Tags</th>
		<td><input type='text' style='width: 90%;'
			name='export-permalinks[post-add-tags]'
			value='<?php
			echo implode(',',(array)$this->options->values ['export-permalinks'] ['post-add-tags']);
			?>' /><br />
		<small> Comma seperated list.<br />
		Add extra tags when exporting. </small></td>
	</tr>
	<tr valign='top'>
		<th scope='row'>Use Categories as Tags</th>
		<td><input type='checkbox'
			name='export-permalinks[post-use-categories-as-tags]' value='yes'
			<?php
			echo $this->html_form->checked ( $this->options->values ['export-permalinks'] ['post-use-categories-as-tags'] );
			?> /><br />
		<small> Use the posts WordPress categories as Delicious tags. </small>
		</td>
	</tr>
	<tr valign='top'>
		<th scope='row'>Use Tags as Tags</th>
		<td><input type='checkbox'
			name='export-permalinks[post-use-tags-as-tags]' value='yes'
			<?php
			echo $this->html_form->checked ( $this->options->values ['export-permalinks'] ['post-use-tags-as-tags'] );
			?> /><br />
		<small> Use the posts WordPress tags as Delicious tags </small></td>
	</tr>
</table>
<br />
<h3>Page URLs</h3>
<table class='form-table'>
	<tr valign='top'>
		<th scope='row'>Export</th>
		<td><input type='checkbox' name='export-permalinks[page-export]'
			value='yes'
			<?php
			echo $this->html_form->checked ( $this->options->values ['export-permalinks'] ['page-export'] );
			?> /><br />
		<small>Add your pages to Delicious as they are published</small></td>
	</tr>
	<tr valign='top'>
		<th scope='row'>Use Title as Tag</th>
		<td><input type='checkbox'
			name='export-permalinks[page-use-title-as-tag]' value='yes'
			<?php
			echo $this->html_form->checked ( $this->options->values ['export-permalinks'] ['page-use-title-as-tag'] );
			?> /><br />
		<small>Use the title as a Delicious tag</small></td>
	</tr>
	<tr valign='top'>
		<th scope='row'>Add Tags</th>
		<td><input type='text' style='width: 90%;'
			name='export-permalinks[page-add-tags]'
			value='<?php
			echo implode(',',(array)$this->options->values ['export-permalinks'] ['page-add-tags']);
			?>' /><br />
		<small> Comma seperated list.<br />
		Add extra tags when exporting. </small></td>
	</tr>
	<tr valign='top'>
		<th scope='row'>Use Ancestors as Tags</th>
		<td><input type='checkbox'
			name='export-permalinks[page-use-ancestors-as-tags]' value='yes'
			<?php
			echo $this->html_form->checked ( $this->options->values ['export-permalinks'] ['page-use-ancestors-as-tags'] );
			?> /><br />
		<small>Use the pages ancestors as Delicious tags</small></td>
	</tr>
</table>
