Beispiel #1
0
    _e('Title', 'bookly');
    ?>
</th>
                <th width="80"><?php 
    _e('Duration', 'bookly');
    ?>
</th>
                <th width="80"><?php 
    _e('Price', 'bookly');
    ?>
</th>
                <th width="140"><?php 
    _e('Capacity', 'bookly');
    ?>
                <?php 
    AB_Utils::popover(__('The maximum number of customers allowed to book the service for the certain time period.', 'bookly'), 'width:16px;margin-left:0;');
    ?>
                <th><?php 
    _e('Staff', 'bookly');
    ?>
</th>
                <th><?php 
    _e('Category', 'bookly');
    ?>
</th>
                <th class="last">&nbsp;</th>
            </tr>
        </thead>
        <tbody>
        <?php 
    foreach ($service_collection as $i => $service) {
Beispiel #2
0
            </td>
            <td class="ab-valign-top">
                <select class="form-control" name="ab_settings_link_assets_method" id="ab_settings_link_assets_method">
                    <option value="enqueue" <?php 
selected(get_option('ab_settings_link_assets_method'), 'enqueue');
?>
>Enqueue</option>
                    <option value="print" <?php 
selected(get_option('ab_settings_link_assets_method'), 'print');
?>
>Print</option>
                </select>
            </td>
            <td class="ab-valign-top">
                <?php 
AB_Utils::popover(__('With "Enqueue" method the JavaScript and CSS files of Bookly will be included on all pages of your website. This method should work with all themes. With "Print" method the files will be included only on the pages which contain Bookly booking form. This method may not work with all themes.', 'bookly'));
?>
            </td>
        </tr>
        <tr>
            <td></td>
            <td colspan="2">
                <?php 
AB_Utils::submitButton();
?>
                <?php 
AB_Utils::resetButton();
?>
            </td>
        </tr>
    </table>
Beispiel #3
0
                </td>
                <td>
                    <div class="input-group">
                        <input id="ab_sms_administrator_phone" name="ab_sms_administrator_phone" class="ab-auto-w ab-sender" type="text" value="<?php 
echo esc_attr($administrator_phone);
?>
"/>
                        <span class="input-group-btn">
                            <button class="btn btn-info" id="send_test_sms"><?php 
_e('Send test SMS', 'bookly');
?>
</button>
                        </span>
                    </div>
                    <?php 
AB_Utils::popover(__('Enter a phone number in international format. E.g. for the United States a valid phone number would be +17327572923.', 'bookly'));
?>
                </td>
            </tr>
        </table>
    </div>
    <?php 
$data = $form->getData();
?>
    <?php 
foreach ($form->types as $type) {
    ?>
        <div class="ab-notifications">
            <div class="ab-toggle-arrow"></div>
            <?php 
    echo $form->renderActive($type);
Beispiel #4
0
        <tr>
            <td>
                <label for="ab_sms_default_country_code"><?php 
_e('Default country code', 'bookly');
?>
</label>
            </td>
            <td>
                <input type="text" name="ab_sms_default_country_code" id="ab_sms_default_country_code" value="<?php 
echo esc_attr(get_option('ab_sms_default_country_code'));
?>
" class="form-control" />
            </td>
            <td>
                <?php 
AB_Utils::popover(__('Your clients must have their phone numbers in international format in order to receive text messages. However you can specify a default country code that will be used as a prefix for all phone numbers that do not start with "+" or "00". E.g. if you enter "1" as the default country code and a client enters their phone as "(600) 555-2222" the resulting phone number to send the SMS to will be "+1600555222".', 'bookly'));
?>
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                <?php 
AB_Utils::submitButton();
?>
                <?php 
AB_Utils::resetButton('ab-payments-reset');
?>
            </td>
        </tr>
    </table>
        <tr>
            <td>
                <label for="ab_settings_google_event_title"><?php 
_e('Template for event title', 'bookly');
?>
</label>
            </td>
            <td>
                <input id="ab_settings_google_event_title" class="form-control" type="text" name="ab_settings_google_event_title" value="<?php 
echo esc_attr(get_option('ab_settings_google_event_title', '[[SERVICE_NAME]]'));
?>
" >
            </td>
            <td>
                <?php 
AB_Utils::popover(__('Configure what information should be places in the title of Google Calendar event. Available codes are [[SERVICE_NAME]], [[STAFF_NAME]] and [[CLIENT_NAMES]].', 'bookly'));
?>
            </td>
        </tr>

        <tr>
            <td></td>
            <td>
                <?php 
AB_Utils::submitButton();
?>
                <?php 
AB_Utils::resetButton();
?>
            </td>
            <td></td>
Beispiel #6
0
                                    <div class="controls">
                                        <input class="form-control" id="ab-staff-phone" name="phone" value="<?php 
echo esc_attr($staff->get('phone'));
?>
" type="text"/>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="control-group">
                                    <h4 style="float: left"><?php 
_e('Google Calendar integration', 'bookly');
?>
</h4>
                                    <?php 
AB_Utils::popover(__('Synchronize the data of the staff member bookings with Google Calendar.', 'bookly'), 'float: left;margin-top: 8px;margin-left:15px');
?>
                                </td>
                                <td></td>
                            </tr>
                            <tr>
                                <td class="control-group">
                                    <label>
                                        <?php 
if (isset($authUrl)) {
    ?>
                                            <?php 
    if ($authUrl) {
        ?>
                                                <a href="<?php 
        echo $authUrl;