<tr>
<td align="right" valign="top">{$lang.country}:</td>
<td>
- <input type="text" class="input ac" name="entry[country]" value="{$entry.country|h}" /><br />
+ <select class="input" name="entry[country]">
+ {html_options options=$iso3166 selected=$entry.country|default:$conf.country|upper}
+ </select>
</td>
</tr>
{/if}
</td>
</tr>
- {if $entry.dn == ''}
+ {if $entry.dn == '' && $conf.privatebook}
<tr>
<td colspan="2" align="center">
{$lang.msg_addto}<br />
</td></tr></table>
</td>
</tr>
+ {else}
+ <input type="hidden" name="type" value="public" id="typepublic"/>
{/if}
<tr>