Consolidate table header actions code, allow filtering of actions
|Reported by:||DD32||Owned by:|
The attached patch consolidates all the <select name="action"> code into a function print_table_actions() which also allows the filtering of the actions.
My primary motivation was due to me personally not liking the dropdown lists, esp. when theres usually only one or 2 actions in the table. Allowing filtering allows a plugin to step in and replace it with buttons (Which i've also attached)
Plugins which add actions, will have to hook in on load-$pagenow and perform their actions there i believe.