Users: Delete prompt (for own account) multilinguified.

This commit is contained in:
Nate Jones
2014-11-27 00:48:42 +00:00
parent d9ce24a7a2
commit c72fbc50d9
2 changed files with 7 additions and 1 deletions

View File

@@ -196,7 +196,7 @@ echo " <td align=\"center\">\n";
echo "<a href='userdelete.php?id=".$row['user_uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">".$v_link_label_delete."</a>";
}
else {
echo "<span onclick=\"alert('You cannot delete your own user account.\\n\\nPlease login as a different user, then try again.');\">".$v_link_label_delete."</span>";
echo "<span onclick=\"alert('".$text['message-cannot_delete_own_account']."');\">".$v_link_label_delete."</span>";
}
}
echo " </td>\n";