<a class="pagetitle" href="tiki-send_objects.php">{tr}Send objects{/tr}</a>

{if $feature_help eq 'y'}
<!-- the help link info --->
<a href="http://tikiwiki.org/tiki-index.php?page=SendObjects" target="tikihelp" class="tikihelp" title="{tr}Tikiwiki.org help{/tr}: {tr}Send Objects{/tr}">
<img border='0' src='img/icons/help.gif' alt='help' />
</a>{/if}

<!--- beginning of next bit --->

<br/><br/>
{if $msg}
<div class="cbox">
<div class="cbox-title">
{tr}Transmission results{/tr}
</div>
<div class="cbox-data">
{$msg}
</div>
</div>
{/if}
<br/>
<div class="cbox">
<div class="cbox-title">
{tr}Send objects to this site{/tr}
</div>
<div class="cbox-data">
<form method="post" action="tiki-send_objects.php">
<input type="hidden" name="sendpages" value="{$form_sendpages|escape}" />
<input type="hidden" name="sendarticles" value="{$form_sendarticles|escape}" />
<table>
<tr><td class="form">{tr}site{/tr}:</td><td class="form"><input type="text" name="site" value="{$site|escape}" /></td></tr>
<tr><td class="form">{tr}path{/tr}:</td><td class="form"><input type="text" name="path" value="{$path|escape}" /></td></tr>
<tr><td class="form">{tr}username{/tr}:</td><td class="form"><input type="text" name="username" value="{$username|escape}" /></td></tr>
<tr><td class="form">{tr}password{/tr}:</td><td class="form"><input type="password" name="password" value="{$password|escape}" /></td></tr>
<tr><td align="center" colspan="2" class="form"><input type="submit" name="send" value="{tr}send{/tr}" /></td></tr>
</table>
</form>
</div>
</div>
<br/>

<div class="cbox">
<div class="cbox-title">
{tr}Filter{/tr}
</div>
<div class="cbox-data">
<form action="tiki-send_objects.php" method="post">
<input type="hidden" name="sendarticles" value="{$form_sendarticles|escape}" />
<input type="hidden" name="sendpages" value="{$form_sendpages|escape}" />
{tr}filter{/tr}:<input type="text" name="find" /><input type="submit" name="filter" value="{tr}filter{/tr}" /><br/>
</form>
</div>
</div>
<br/>

{if $tiki_p_send_pages eq 'y'}
<div class="cbox">
<div class="cbox-title">
{tr}Send Wiki Pages{/tr}
</div>
<div class="cbox-data">
<div class="simplebox">
<b>{tr}Pages{/tr}</b>: 
{section name=ix loop=$sendpages}
{$sendpages[ix]}&nbsp;
{/section}
</div>
<form action="tiki-send_objects.php" method="post">
<input type="hidden" name="sendpages" value="{$form_sendpages|escape}" />
<input type="hidden" name="sendarticles" value="{$form_sendarticles|escape}" />
<input type="hidden" name="site" value="{$site|escape}" />
<input type="hidden" name="path" value="{$path|escape}" />
<input type="hidden" name="find" value="{$find|escape}" />
<input type="hidden" name="username" value="{$username|escape}" />
<input type="hidden" name="password" value="{$password|escape}" />
<select name="pageName">
{section name=ix loop=$pages}
<option value="{$pages[ix].pageName|escape}">{$pages[ix].pageName}</option>
{/section}
</select>
<input type="submit" name="addpage" value="{tr}add page{/tr}" />
<input type="submit" name="clearpages" value="{tr}clear{/tr}" />
</form>
</div>
</div>
{/if}

<br/>

{if $tiki_p_send_articles eq 'y'}
<div class="cbox">
<div class="cbox-title">
{tr}Send Articles{/tr}
</div>
<div class="cbox-data">
<div class="simplebox">
<b>{tr}Articles{/tr}</b>: 
{section name=ix loop=$sendarticles}
{$sendarticles[ix]}&nbsp;
{/section}
</div>
<form action="tiki-send_objects.php" method="post">
<input type="hidden" name="sendarticles" value="{$form_sendarticles|escape}" />
<input type="hidden" name="sendpages" value="{$form_sendpages|escape}" />
<input type="hidden" name="site" value="{$site|escape}" />
<input type="hidden" name="path" value="{$path|escape}" />
<input type="hidden" name="find" value="{$find|escape}" />
<input type="hidden" name="username" value="{$username|escape}" />
<input type="hidden" name="password" value="{$password|escape}" />
<select name="articleId">
{section name=ix loop=$articles}
<option value="{$articles[ix].articleId|escape}">{$articles[ix].title}</option>
{/section}
</select>
<input type="submit" name="addarticle" value="{tr}add article{/tr}" />
<input type="submit" name="cleararticles" value="{tr}clear{/tr}" />
</form>
</div>
</div>
{/if}
