forked from mirrors/easyappointments
Replaced echo statements with php's shortcode syntax
This commit is contained in:
parent
8f618c3339
commit
81cfe6a16d
4 changed files with 26 additions and 18 deletions
|
@ -119,8 +119,8 @@
|
|||
}
|
||||
}
|
||||
|
||||
// We need the uncategorized services at the end of the list so
|
||||
// we will use another iteration only for the uncategorized services.
|
||||
// We need the uncategorized services at the end of the list so we will use
|
||||
// another iteration only for the uncategorized services.
|
||||
$grouped_services['uncategorized'] = array();
|
||||
foreach($available_services as $service) {
|
||||
if ($service['category_id'] == NULL) {
|
||||
|
@ -228,10 +228,12 @@
|
|||
<input type="text" id="email" class="required form-control" maxlength="120" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="phone-number" class="control-label"><?= lang('phone_number') ?>
|
||||
<?php echo ('1' === $require_phone_number) ? '*' : ''; ?></label>
|
||||
<input type="text" id="phone-number" class="<?php echo ('1' === $require_phone_number) ? 'required' : ''; ?>
|
||||
form-control" maxlength="60" />
|
||||
<label for="phone-number" class="control-label">
|
||||
<?= lang('phone_number') ?>
|
||||
<?= $require_phone_number === '1' ? '*' : '' ?>
|
||||
</label>
|
||||
<input type="text" id="phone-number" maxlength="60"
|
||||
class="<?= $require_phone_number === '1' ? 'required' : '' ?> form-control" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -167,8 +167,8 @@
|
|||
}
|
||||
}
|
||||
|
||||
// We need the uncategorized services at the end of the list so
|
||||
// we will use another iteration only for the uncategorized services.
|
||||
// We need the uncategorized services at the end of the list so we will use
|
||||
// another iteration only for the uncategorized services.
|
||||
$grouped_services['uncategorized'] = [];
|
||||
foreach ($available_services as $service)
|
||||
{
|
||||
|
|
|
@ -112,9 +112,9 @@
|
|||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="phone-number"><?= lang('phone_number') ?>
|
||||
<?php echo ('1' === $require_phone_number) ? '*' : ''; ?></label>
|
||||
<?= $require_phone_number === '1' ? '*' : ''; ?></label>
|
||||
<input id="phone-number" class="form-control
|
||||
<?php echo ('1' === $require_phone_number) ? 'required' : ''; ?>">
|
||||
<?= $require_phone_number === '1' ? 'required' : '' ?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
|
|
|
@ -1,20 +1,26 @@
|
|||
<div id="footer">
|
||||
<div id="footer-content" class="col-xs-12 col-sm-8">
|
||||
Powered by
|
||||
<a href="https://easyappointments.org">Easy!Appointments
|
||||
<?php
|
||||
echo 'v' . config('version');
|
||||
<a href="https://easyappointments.org">
|
||||
Easy!Appointments
|
||||
|
||||
v<?= config('version') ?>
|
||||
|
||||
<?php if (config('release_label')): ?>
|
||||
- <?= config('release_label') ?>
|
||||
<?php endif ?>
|
||||
</a>
|
||||
|
||||
|
|
||||
|
||||
$release_title = config('release_label');
|
||||
if ($release_title != '') {
|
||||
echo ' - ' . $release_title;
|
||||
}
|
||||
?></a> |
|
||||
<?= lang('licensed_under') ?> GPLv3 |
|
||||
|
||||
<span id="select-language" class="badge badge-success">
|
||||
<?= ucfirst(config('language')) ?>
|
||||
</span>
|
||||
|
||||
|
|
||||
|
||||
<a href="<?= site_url('appointments') ?>">
|
||||
<?= lang('go_to_booking_page') ?>
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue