mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-20 15:38:29 +00:00
Re-enable the copy button.
This commit is contained in:
@@ -258,12 +258,12 @@
|
||||
echo " <span class='$button_label_class' style='$button_label_style'>".$text['button-back']."</span>\n";
|
||||
echo " </button>\n";
|
||||
if ($action == 'update') {
|
||||
//if (permission_exists('access_control_node_add')) {
|
||||
// echo " <button type='submit' id='btn_copy' alt='".$text['button-copy']."' title='Copy' name='action' value='copy' style='display: none;' onclick=\"modal_open('modal-copy','btn_copy'); return false;\" class='btn btn-default'>\n";
|
||||
// echo " <span class='".$_SESSION['theme']['button_icon_copy']['text']." $button_icon_class' style='$button_icon_style'></span>\n";
|
||||
// echo " <span class='$button_label_class' style='$button_label_style'>".$text['button-copy']."</span>\n";
|
||||
// echo " </button>\n";
|
||||
//}
|
||||
if (permission_exists('access_control_node_add')) {
|
||||
echo " <button type='submit' id='btn_copy' alt='".$text['button-copy']."' title='Copy' name='action' value='copy' style='display: none;' onclick=\"modal_open('modal-copy','btn_copy'); return false;\" class='btn btn-default'>\n";
|
||||
echo " <span class='".$_SESSION['theme']['button_icon_copy']['text']." $button_icon_class' style='$button_icon_style'></span>\n";
|
||||
echo " <span class='$button_label_class' style='$button_label_style'>".$text['button-copy']."</span>\n";
|
||||
echo " </button>\n";
|
||||
}
|
||||
if (permission_exists('access_control_node_delete')) {
|
||||
echo " <button type='submit' id='btn_delete' alt='".$text['button-delete']."' title='Delete' name='action' value='delete' style='display: none;' onclick=\"modal_open('modal-delete','btn_delete'); return false;\" class='btn btn-default'>\n";
|
||||
echo " <span class='".$_SESSION['theme']['button_icon_delete']['text']." $button_icon_class' style='$button_icon_style'></span>\n";
|
||||
|
||||
Reference in New Issue
Block a user