Ejemplo n.º 1
0
">
                </div>
                <div class="form-group">
                    <label for="new_password_repeat"><?php 
    _e('Repeat new password', 'bookly');
    ?>
</label>
                    <input type="password" class="form-control" id="new_password_repeat" placeholder="<?php 
    echo esc_attr(__('Repeat new password', 'bookly'));
    ?>
">
                </div>
            </div>
            <div class="modal-footer">
                <?php 
    AB_Utils::submitButton('ajax-send-change-password');
    ?>
                <button type="button" class="ab-reset-form" data-dismiss="modal"><?php 
    _e('Cancel', 'bookly');
    ?>
</button>
            </div>
            <input type="hidden" name="action" value="ab_change_password">
        </div>
    </div>
    </form>
</div>

<?php 
} else {
    ?>
Ejemplo n.º 2
0
        default:
            include '_codes.php';
    }
    ?>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        <?php 
}
?>
        <div class="ab-notifications">
            <?php 
echo '<i>' . __('To send scheduled notifications please execute the following script hourly with your cron:', 'bookly') . '</i><br />';
echo '<b>php -f ' . realpath(AB_PATH . '/lib/utils/send_notifications_cron.php') . '</b>';
?>
        </div>
    </div>
    <div class="panel-footer">
        <?php 
AB_Utils::submitButton();
?>
        <?php 
AB_Utils::resetButton();
?>
    </div>
</div>
</form>
Ejemplo n.º 3
0
    if ($type == 'staff_new_appointment' || $type == 'staff_cancelled_appointment') {
        ?>
                    <?php 
        echo $form->renderCopy($type);
        ?>
                <?php 
    }
    ?>
            </div>
        </div>
    <?php 
}
?>
    <div class="ab-notifications" style="border: 0">
        <?php 
AB_Utils::submitButton('js-submit-notifications');
?>
        <?php 
AB_Utils::resetButton();
?>
    </div>
</form>
<div class="ab-notification-info">
    <i><?php 
_e('To send scheduled notifications please execute the following script hourly with your cron:', 'bookly');
?>
</i><br />
    <b>php -f <?php 
echo realpath(AB_PATH . '/lib/utils/send_notifications_cron.php');
?>
</b>
Ejemplo n.º 4
0
                                        <a class="ab-popup-close ab-popup-close-icon" href="javascript:void(0)"></a>
                                    </div>
                                </div>
                            </div>
                        </td>
                        <td class="breaks">
                            <?php 
    include '_breaks.php';
    ?>
                        </td>
                    </tr>
                <?php 
}
?>
                <tr class="staff-schedule-item-row ab-last-row">
                    <td></td>
                    <td colspan="3">
                        <input type="hidden" name="action" value="ab_staff_schedule_update"/>
                        <?php 
AB_Utils::submitButton('ajax-send-staff-schedule');
?>
                        <?php 
AB_Utils::resetButton('ab-schedule-reset');
?>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
    </form>
</div>
Ejemplo n.º 5
0
" />
                <i class="ab-delete glyphicon glyphicon-remove" title="<?php 
echo esc_attr(__('Remove item', 'bookly'));
?>
"></i>
            </li>

            <li data-type="drop-down-item">
                <i class="ab-inner-handle glyphicon glyphicon-move"></i>
                <input class="form-control ab-inline-block" type="text" value="" placeholder="<?php 
echo esc_attr(__('Enter a label', 'bookly'));
?>
" />
                <i class="ab-delete glyphicon glyphicon-remove" title="<?php 
echo esc_attr(__('Remove item', 'bookly'));
?>
"></i>
            </li>

        </ul>
    </div>
    <div class="panel-footer">
        <?php 
AB_Utils::submitButton('ajax-send-custom-fields');
?>
        <?php 
AB_Utils::resetButton();
?>
    </div>
</div>
Ejemplo n.º 6
0
            break;
        case 5:
            // Done
            include '_5_done.php';
            break;
    }
    ?>
                        </div>
                    <?php 
}
?>
                </div>
                <div class="text-right">
                    <?php 
_e('Click on the underlined text to edit.', 'bookly');
?>
                </div>
                <div class="clear"></div>
            </div>
        </div>
    </div>
    <div class="panel-footer">
        <?php 
AB_Utils::submitButton('ajax-send-appearance');
?>
        <?php 
AB_Utils::resetButton();
?>
    </div>
</div>
Ejemplo n.º 7
0
                            <?php 
        }
        ?>
                        </ul>
                    </li>
                <?php 
    }
    ?>
            </ul>
            <input type="hidden" name="action" value="ab_staff_services_update"/>
            <input type="hidden" name="staff_id" value="<?php 
    echo $staff_id;
    ?>
"/>
            <?php 
    AB_Utils::submitButton('ajax-send-service');
    ?>
            <?php 
    AB_Utils::resetButton();
    ?>
        </form>
    <?php 
} else {
    ?>
        <?php 
    _e('No services found. Please add services.', 'bookly');
    ?>
        <a class="btn btn-info" href="<?php 
    echo AB_Utils::escAdminUrl(AB_ServiceController::page_slug);
    ?>
" ><?php