Added phpdoc.

Removed smarty::display() methods in favor of smarty::fetch().