Disable the copy button for now
This commit is contained in:
parent
3076142659
commit
c3e2b0bbbb
|
|
@ -237,12 +237,14 @@
|
|||
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";
|
||||
|
|
@ -397,4 +399,4 @@
|
|||
//include the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue