</select> <select name="end-hour-24" size="1" <?php hideIfEmpty($tpl_book_hour_mode == \Application\EmpItem::MODE_DAY_24); ?> > <?php fillOptions($hours24, is_array($tpl_book_values) ? $tpl_book_values['end-hour-24'] : null); ?> </select> <select name="end-minute" size="1"> <?php fillOptions($minutesArray, is_array($tpl_book_values) ? $tpl_book_values['end-minute'] : null); ?> </select> <select name="end-meridiem" size="1"<?php hideIfEmpty($tpl_book_hour_mode == \Application\EmpItem::MODE_DAY_12); ?> > <?php fillOptions($meridiemArray, is_array($tpl_book_values) ? $tpl_book_values['end-meridiem'] : null); ?> </select> <div class="book-input-error-message" <?php \Utility\HtmlHelper::HideIfEmptyOrNull($tpl_book_errors, 'time'); ?> ><?php \Utility\HtmlHelper::EchoIfPresent($tpl_book_errors, 'time'); ?> </div> <br><br> 4. Enter the specifics for the meeting. (This will be what people see when the click on an event link.)<br>
hideIfEmpty($tpl_is_chain); ?> > <label class="checkbox-label" style="width:inherit;"> <input type="checkbox" onchange="setApplyChainProxy();" name="apply_chain" id="df-apply_chain"<?php checkedIfTrue(\Utility\HtmlHelper::ValueOrFalse($tpl_details_values, 'apply_chain_proxy') == 1); readonlyIfFalse($tpl_can_modify); ?> > Apply to all occurencies? </label> <input type="hidden" name="apply_chain_proxy" id="df-apply_chain_proxy" value="<?php echo \Utility\HtmlHelper::ValueOrFalse($tpl_details_values, 'apply_chain_proxy') == 1 ? '1' : '0'; ?> "> </div> <hr> <div <?php hideIfEmpty($tpl_can_modify); ?> > <input type="submit" value="Update"> <button onclick="return deleteOnConfirm(this);" formaction="<?php echo $tpl_site_root . DETAILS_URL . '/delete/' . $tpl_appointment_id; ?> ">Delete</button> <!-- <input type="button" value="Delete" onclick="return deleteOnConfirm(this);"> --> </div> </fieldset> </form>
</div> <div class="employee-form-input" <?php hideIfEmpty($tpl_emp_edit['edit_own']); ?> > <div style="margin-left:186px;font-size:60%">fill new password only if you want to change it, otherwise left blank</div> <label for="ef-new_password">New password</label> <input type="password" name="new_password" id="ef-new_password"> </div> <div class="employee-form-input" <?php hideIfEmpty($tpl_emp_edit['edit_own']); ?> > <label for="ef-new_password_retype">Retype new password</label> <input type="password" name="new_password_retype" id="ef-new_password_retype"> <div class="emp-input-error-message" <?php hideIfEmpty($tpl_emp_err['password']); ?> ><?php echo $tpl_emp_err['password']; ?> </div> </div> </div> <hr> <div> <input type="submit" value="Save"> </div> </fieldset> </form>
<?php function hideIfEmpty($value) { echo empty($value) ? " style=\"display:none\"" : ''; } ?> <div class="message-panel"<?php hideIfEmpty($tpl_message); ?> > <?php echo $tpl_message; ?> </div>