Recordings: Fixed delete confirmation.

This commit is contained in:
Nate Jones 2014-05-05 23:16:36 +00:00
parent 15af85c614
commit 57a35181bd
2 changed files with 5 additions and 5 deletions

View File

@ -81,10 +81,10 @@
$text['description-description']['pt-pt'] = "Deverá introduzir uma descrição para sua referência.";
$text['description-description']['fr-fr'] = "";
$text['message-delete']['en-us'] = "Do you really want to delete this?";
$text['message-delete']['es-cl'] = "¿Realmente desea eliminar esto?";
$text['message-delete']['pt-pt'] = "Deseja realmente remover isto?";
$text['message-delete']['fr-fr'] = "Voulez-vous vraiment supprimer cela?";
$text['confirm-delete']['en-us'] = "Do you really want to delete this?";
$text['confirm-delete']['es-cl'] = "¿Realmente desea eliminar esto?";
$text['confirm-delete']['pt-pt'] = "Deseja realmente remover isto?";
$text['confirm-delete']['fr-fr'] = "Voulez-vous vraiment supprimer cela?";
$text['label-edit-file']['en-us'] = "Please provide: Filename (download)";
$text['label-edit-file']['es-cl'] = "Por favor indique: Nombre de archivo (descargar)";

View File

@ -253,7 +253,7 @@ require_once "resources/paging.php";
echo "<a href='recording_edit.php?id=".$row['recording_uuid']."' alt='edit'>$v_link_label_edit</a>";
}
if (permission_exists('recording_delete')) {
echo "<a href='recording_delete.php?id=".$row['recording_uuid']."' alt='delete' onclick=\"return confirm('".$text['message-delete']."')\">$v_link_label_delete</a>";
echo "<a href='recording_delete.php?id=".$row['recording_uuid']."' alt='delete' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>";
}
echo " </td>\n";
echo "</tr>\n";