Small question regarding altering YII code

So, I just made a copy of CListView to make it render a binary tree instead of a flat list. The changes were not significant; just a few extra member variables and a little code added to renderItems.

My question is regarding coding credits. I thought it would be nice to share this widget with others, but I don’t want to just claim that all the code is mine, so what would be the proper thing to do here?

Keep the header. Add your name to it and what changes you made. ;)