<? global $vis_language; ?>
<div class="vis_main_window vis_shadow vis_round_corner">
    <div class="vis_main_header"><?= $vis_language['TXTINTEGRATIONS']; ?></div><div class="vis_main_window_content vis_round_corner">
    <form name="vis_fb_settings" id="vis_fb_settings"><table cellpadding="3" cellspacing="3" width="100%">
        <tr><td width="120">APP Id</td><td><input name="fb_app_id" type="text" class="vis_input" value="<?= $setting['fb_app_id'] ?>" /></td></tr>
        <tr><td>APP Secret key</td><td><input name="fb_secret" type="text" class="vis_input" value="<?= $setting['fb_secret'] ?>" /></td></tr>
        <tr><td>Canvas url</td><td><input name="fb_canvas_url" type="text" class="vis_input" value="<?= $setting['fb_canvas_url'] ?>" /></td></tr>
        <tr><td colspan="2"><div class="vis_seperator_horizontal"></div></td></tr>
        <tr><td colspan="2"><span class="vis_button" onclick="$(this).visExecution('submit_form',{'vis_module':'setting', 'vis_operation':'update_fb_settings', 'vis_form':'vis_fb_settings'})"><?= $vis_language['TXTUPDATE'] ?></span></td></tr>
    </table></form>
</div></div>