Fax Server: Hide Copy button on Add
This commit is contained in:
parent
0c87f27b35
commit
8478ddef29
|
|
@ -533,7 +533,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||||
}
|
}
|
||||||
echo "<td width='70%' align='right'>\n";
|
echo "<td width='70%' align='right'>\n";
|
||||||
echo " <input type='button' class='btn' name='' alt='back' onclick=\"window.location='fax.php'\" value='".$text['button-back']."'>\n";
|
echo " <input type='button' class='btn' name='' alt='back' onclick=\"window.location='fax.php'\" value='".$text['button-back']."'>\n";
|
||||||
echo " <input type='button' class='btn' name='' alt='copy' onclick=\"if (confirm('".$text['confirm-copy-info']."')){window.location='fax_copy.php?id=".$fax_uuid."';}\" value='".$text['button-copy']."'>\n";
|
if ($action == "update") {
|
||||||
|
echo "<input type='button' class='btn' name='' alt='copy' onclick=\"if (confirm('".$text['confirm-copy-info']."')){window.location='fax_copy.php?id=".$fax_uuid."';}\" value='".$text['button-copy']."'>\n";
|
||||||
|
}
|
||||||
echo " <input type='submit' class='btn' name='submit' value='".$text['button-save']."'>\n";
|
echo " <input type='submit' class='btn' name='submit' value='".$text['button-save']."'>\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue