示例#1
0
            <td class="ab-valign-top">
                <?php 
AB_Utils::popover(__('Set a URL of a page that the user will be forwarded to after successful booking. If disabled then the default step 5 is displayed.', 'bookly'));
?>
            </td>
        </tr>
        <tr>
            <td>
                <label for="ab_settings_allow_staff_members_edit_profile"><?php 
_e('Allow staff members to edit their profiles', 'bookly');
?>
</label>
            </td>
            <td class="ab-valign-top">
                <?php 
echo AB_Utils::boolControlOption('ab_settings_allow_staff_members_edit_profile');
?>
            </td>
            <td class="ab-valign-top">
                <?php 
AB_Utils::popover(__('If this option is enabled then all staff members who are associated with WordPress users will be able to edit their own profiles, services, schedule and days off.', 'bookly'));
?>
            </td>
        </tr>
        <tr>
            <td>
                <label for="ab_settings_link_assets_method"><?php 
_e('Method to include Bookly JavaScript and CSS files on the page', 'bookly');
?>
</label>
            </td>
示例#2
0
<form method="post" action="<?php 
echo esc_url(add_query_arg('type', '_customers'));
?>
" enctype="multipart/form-data" class="ab-settings-form">
    <table class="form-horizontal">
        <tr>
            <td>
                <label for="ab_settings_create_account"><?php 
_e('Create WordPress user account for customers', 'bookly');
?>
</label>
            </td>
            <td>
                <?php 
echo AB_Utils::boolControlOption('ab_settings_create_account');
?>
            </td>
            <td>
                <?php 
AB_Utils::popover(__('If this setting is enabled then Bookly will be creating WordPress user accounts for all new customers. If the user is logged in then the new customer will be associated with the existing user account.', 'bookly'));
?>
            </td>
        </tr>
        <tr>
            <td>
                <label for="ab_settings_phone_default_country"><?php 
_e('Phone field default country', 'bookly');
?>
</label>
            </td>