Exemple #1
0
?>
" readonly>
        </div>
        <div class="details-form-input"<?php 
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);">