]> git.sur5r.net Git - contagged/blobdiff - templates/import_entry.tpl
Make it possible to disable private contacts
[contagged] / templates / import_entry.tpl
index 28ef22eaa02c3a21b14e3c90333764799ee877d9..dd66dfa5a7f592a4e0ac93283e58b651c150b1fd 100644 (file)
         {/foreach}
         <input type="hidden" name="entry[note]" value="{$entry.note|h}" />
         <input type="hidden" name="entry[birthday]" value="{$entry.birthday|h}" />
+       {if $conf.privatebook}
         <button name="type" value="public" class="button">
             <img src="pix/public.png" border="0" width="16" height="16" align="middle" alt="" />{$lang.publicbook}
         </button>
         <button name="type" value="private" class="button">
             <img src="pix/private.png" border="0" width="16" height="16" align="middle" alt="" />{$lang.privatebook}
         </button>
+       {else}
+           <input type="hidden" name="type" value="public" />
+       {/if}
         </form>
     </td>
 </tr>