In drupal 7 we have something called contextual links. It is that little wheel you see when you hover over blocks so you can edit them in place. It is a great usability improvement but it is not always that clear how to implement them.
The contextual links functionality used to be a contrib module in d6 now it is a core module.