Move resource-tributing button code to a custom function. Shorten comment. Reuse RESOURCES. Inline tributeResource. This was SVN commit r17820.