]> git.sur5r.net Git - contagged/blobdiff - templates/entry_edit.tpl
Polish translation added
[contagged] / templates / entry_edit.tpl
index 2ea276cbe2294777efdd275be449f748235eb044..ddad5dc60c7e868f2d25d932c2885f74effd1d09 100644 (file)
@@ -96,7 +96,9 @@
         <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>