Fax Server: Hide Copy button on Add

This commit is contained in:
Nate Jones
2014-05-02 04:53:04 +00:00
parent 0c87f27b35
commit 8478ddef29

View File

@@ -533,7 +533,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
}
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='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 "</td>\n";
echo "</tr>\n";