Update bridge_edit.php
This commit is contained in:
parent
0f05cdcb87
commit
5dd179d2c4
|
|
@ -168,9 +168,11 @@
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td align='left' width='30%' nowrap='nowrap' valign='top'><b>".$text['title-bridge']."</b><br><br></td>\n";
|
echo "<td align='left' width='30%' nowrap='nowrap' valign='top'><b>".$text['title-bridge']."</b><br><br></td>\n";
|
||||||
echo "<td width='70%' align='right' valign='top'>\n";
|
echo "<td width='70%' align='right' valign='top'>\n";
|
||||||
echo " <a href='bridges.php'><button type='button' class='btn btn-default' style='margin-right: 15px;' alt='".$text['button-back']."'>".$text['button-back']."</button></a>";
|
echo "<a href='bridges.php'><button type='button' class='btn btn-default' style='margin-right: 15px;' alt='".$text['button-back']."'>".$text['button-back']."</button></a>";
|
||||||
echo " <button type='submit' class='btn btn-default' style='margin-right: 15px;' name='action' value='delete' onclick=\"if (confirm('".$text['confirm-delete']."')) { document.getElementById('frm').submit(); } else { this.blur(); return false; }\">".$text['button-delete']."</button>";
|
if ($action == 'update') {
|
||||||
echo " <button type='submit' class='btn btn-default' name='action' value='save'>".$text['button-save']."</button>";
|
echo "<button type='submit' class='btn btn-default' style='margin-right: 15px;' name='action' value='delete' onclick=\"if (confirm('".$text['confirm-delete']."')) { document.getElementById('frm').submit(); } else { this.blur(); return false; }\">".$text['button-delete']."</button>";
|
||||||
|
}
|
||||||
|
echo "<button type='submit' class='btn btn-default' name='action' value='save'>".$text['button-save']."</button>";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* call_recordings class
|
* bridges class
|
||||||
*
|
*
|
||||||
* @method null download
|
* @method null download
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue