1<?php 2// $Id: sa_abooksync.inc.php,v 1.3 2004/03/19 22:06:41 perlstalker Exp $ 3 4if (!defined('SM_PATH')) { define('SM_PATH' , '../../'); } 5 6include_once(SM_PATH.'plugins/sasql/sasql_api.php'); 7 8global $username; 9 10sqgetGlobalVar('do_sync', $do_sync, SQ_FORM); 11if ($do_sync) { 12 sasql_syncABookWithWList ($username); 13} 14 15?> 16 17<table width="100%" border="0" cellpadding="1" cellspacing="1"> 18 <tr> 19 <td align='center' bgcolor="<?php echo $color[4]; ?>"> 20 <b><?php echo _("Allow Senders from Address Book") ?></b> 21 </td> 22 </tr> 23 <tr> 24 <td align='center' bgcolor="<?php echo $color[4]; ?>"> 25 <form action='sasql_options.php' method='Post'> 26 <input type='submit' name='do_sync' value='<?php echo _("Allow"); ?>' /> 27<?php echo _("Allow all address in the address book."); ?> 28 </form> 29 </td> 30 </tr> 31</table>